Guide

Sample naming conventions that survive real lab life.

Three ID formats to copy, the characters to avoid, and the mistakes each format prevents.

Updated · The tinysamples team

A hand-drawn picture of two sample names. S-0142 has a green tick and the note says nothing, never wrong. MS-KO-3-old-B is struck through in red, with a red cross and the note says too much.

A good sample ID is short, unique, permanent and meaningless: a prefix plus a counter, like S-0142, written the same way every time. Dates belong in a date column as YYYY-MM-DD, never inside the name: Excel has been rewriting gene names like SEPT2 into dates for years. This guide gives three formats to copy and the failure each one avoids.

Key takeaways
  • Sample names fail in three ways: they carry meaning that stops being true, they use characters people misread, and software rewrites them.
  • A good ID is short, unique, permanent and meaningless: a fixed prefix, a hyphen and a zero-padded counter, like S-0142.
  • Never reuse an ID. Keep dates in a date column as YYYY-MM-DD, not in the name.
  • In 2020 the HUGO Gene Nomenclature Committee renamed 27 human genes to escape Excel turning them into dates.
  • Write the ID large on the tube and keep everything else in the record.

Why do sample names fail?

Sample names fail in three ways: they carry meaning that stops being true, they use characters people misread, and software rewrites them. All three are documented.

The meaning goes stale. MS-KO-3-old-B encodes a strain, a treatment, a passage and an opinion. When the genotyping comes back different, or the passage count was off by one, you relabel the tube and orphan every earlier record, or keep a name that lies.

The characters get misread. O and 0, I, l and 1, written in marker on the curved side of a frosted cryovial. Two people transcribe the same tube two ways, and the freezer now holds one sample with two histories.

The software rewrites them. A 2016 scan of 18 genomics journals found gene-name errors in roughly one fifth of papers with supplementary Excel gene lists: SEPT2 became 2-Sep, MARCH1 became 1-Mar. In 2020 the HUGO Gene Nomenclature Committee renamed 27 human genes to escape it: SEPT2 is now SEPTIN2, MARCH1 is MARCHF1.

The genes changed because the software would not. Your sample names get no committee, so design them to survive Excel from day one.

A hand-drawn figure: the software would not change, so the genes did. Typing SEPT2 makes Excel store the date 2-Sep, and MARCH1 becomes 1-Mar. The 2020 fix renamed the genes to SEPTIN2 and MARCHF1. A 2016 scan of 18 genomics journals found gene-name errors in roughly one fifth of papers with supplementary Excel gene lists, and in 2020 27 human genes were renamed to stop it.
A drawing of the two best-known cases, from the sources above: SEPT2 and MARCH1 as typed, as Excel stores them, and as renamed in 2020.

What makes a good sample ID?

A good sample ID is short, unique, permanent and meaningless: a fixed prefix, a hyphen and a zero-padded counter, like S-0142. It says nothing about the sample, so it can never become wrong. Everything with meaning (date, owner, contents, passage) lives in the record, keyed to the ID.

A hand-drawn figure: a good ID says nothing, a bad one says too much. S-0142 is a fixed prefix, one hyphen and a zero-padded counter; it says nothing about the sample, so it can never become wrong. MS-KO-3-old-B encodes a strain, a treatment, a passage and an opinion, so it breaks when any of them changes: if the genotyping comes back different, you relabel the tube and orphan every earlier record, or keep a name that lies.
A drawing of the same tube under two names. Only S-0142 stays true when the experiment changes.
  • Meaningless. Encode nothing: not the project, the date or the condition. Facts change; the ID must not. For donors and patients, the same rule gives coded IDs for human samples, which keep the link to the person off the tube.
  • Unique and permanent. Assigned once, never reused, not even for a sample discarded on day two.
  • Zero-padded. Unpadded numbers sort as text: S-100 files between S-10 and S-11. Pad to four digits and 9,999 samples sort in order.
  • Unambiguous characters. Capital letters minus O and I, digits, one hyphen. No spaces, no slashes, nothing Excel can read as a date or as scientific notation: an identifier like 2310009E13 comes back as a floating-point number.
  • Dates in a date column, as YYYY-MM-DD. Never in the name. 03-04 is March or April depending on who reads it; 2026-03-04 is not.

Which ID format should you copy?

Copy one of these three. Each follows the rules above; they differ in who owns the counter.

1. Plain counter: S-0142

Use it when one lab shares one list and one counter. It is the default: start here.

It breaks when two people hand out numbers from memory, or two projects each start their own S- series.

2. Project prefix: TUM-0142

Use it when several projects register samples independently and each owns its counter.

It breaks when prefixes multiply, a project is renamed, or a sample moves projects and someone renames it.

3. Year scope: 2026-0142

Use it when volume is high. The counter restarts each January and the year shows at a glance.

It breaks when people read meaning back into the year. It also looks enough like a date that the column must be formatted as text.

Pick one, write it down, and stop discussing it. The next free number lives in exactly one place. The free sample-tracking spreadsheet template has the ID column, the zero-padding and the text formatting already set up.

What goes on the tube?

The ID, written large, and little else. A cryovial label offers about a square centimetre; the record has no limit. Contents, date, owner, concentration, location and every action since belong in the record, keyed to the ID.

Labels have to survive -80°C and ethanol. Records have to survive people.

The division of labour matters because each side fails differently. An ID-only label fails only when the ink does, so use cryogenic-rated labels or a solvent-resistant marker under clear tape. Test one tube overnight at -80°C with a 70% ethanol wipe before trusting a batch.

The record fails when it lives in one head: the tube labelled “good one” was perfectly clear to whoever wrote it. Location belongs in the record too: a freezer inventory spreadsheet gives every tube its freezer, box and position. For the rest of the record, from owner to log, see how to track lab samples.

How does tinysamples handle IDs?

tinysamples removes the decision. When you register a sample, it gets the next ID in the sequence, and the Register button shows that ID before you press it. The default runs S-001, S-002 and on. If your lab already has a convention, such as BOX-001, type it once when you create a batch and the counter carries on in that style.

A batch called Plot 3, October cores, holding 8 samples: S-001 to S-005 each show their current step, from Precipitation back to Cell lysis, with a button at the bottom to register the next sample, S-023.
The live app in a demo lab: a batch, with the Register button naming the next ID, S-023, before you press it.

The app keeps every ID unique. IDs are matched without regard to case, so s-001 and S-001 are the same ID, and an ID already in use is refused.

Delete a tube you registered by mistake, before any step is logged against it, and its number is offered again. Once a step is logged, that number is never handed to another tube. You can rename an ID, and the advice above still stands: don’t.

Everything else hangs off the ID: where the tube is, its project and batch, and every protocol step with who logged it and when. That is the rest of what tinysamples does as sample tracking software.

Common questions.

What is the best sample ID format to start with?
A plain counter, such as S-0142, when one lab shares one list. Start there, and move to a project prefix or a year scope only when the plain counter stops working.
Can I reuse a sample ID?
No, not even for a sample discarded on day two. An ID is assigned once and never handed to a second sample: reuse is how two different histories end up under one ID.
Should dates go in the sample name?
No. Dates belong in a date column as YYYY-MM-DD. 03-04 reads as March or April depending on who reads it; 2026-03-04 does not.
What characters should a sample ID avoid?
O and 0, I, l and 1: they get misread off a frosted cryovial. Use capital letters minus O and I, digits and one hyphen, and zero-pad the counter so S-100 does not sort between S-10 and S-11.
Does tinysamples reuse the ID of a deleted sample?
Only for a tube that never had a step logged against it, such as one registered by mistake: its number is offered again. Once a step is logged, that number is never handed to another tube.

Two minutes. One sample.

Register one real sample from your phone. Free for one person, with unlimited samples.

Start freeNot sure it fits your lab? Email support@tinysamples.com. It goes to Sunayda and Alvee.