Skip to content

Instantly share code, notes, and snippets.

@EpiDemos82
Last active February 14, 2019 20:20
Show Gist options
  • Select an option

  • Save EpiDemos82/80bf495bf1e339c542737a6f9ef565ed to your computer and use it in GitHub Desktop.

Select an option

Save EpiDemos82/80bf495bf1e339c542737a6f9ef565ed to your computer and use it in GitHub Desktop.
Lab naming scheme
Good Practices
1) It uniquely identifies the source of the sample (the location, the biological individual), or at least can be traced back to this information.
2) It is clear and cannot be confused with any other sample in the same project, lab, department, university, universe.
3) It is impossible to mis-write or mis-read.
4) It is short.
-Study (2-3 letter) or code as a study number
CF
CAR
IH
-Organism (2 letter)
SP - Streptococcus pneumoniae
SA - Staphylococcus aureus
PS - pseudomonas aeruginosa
MT - Mycobacterium tuberculosis
MA - Mycobacterium abscessus
KP - Klebsiella pneumoniae
S - sample/specimen
-Type (1 letter)
S - Sample/specimen
P - Population
I - Isolate
G - gDNA
-Participant Number (three numbers)
001
002
-Isolate number (two numbers)
01
02
03
-Format: Study_Organism_TypeParticipant_Isolate
Examples:
CF_SA_G001_01
CAR_SP_G013_02
IH_PA_G999_01
#####################Save for metadata table#####################
-"Sample/specimen"
AN - anerior nares
BLA - bronchial lavage
NP - nasopharengeal
IN - inguinal
OP - oropharengeal
SL - saliva
SM - sputum
UK - unknown
##################################################################
@jacarrico
Copy link

If type, then source?
I would keep the same number of separators ( _ ) to facilitate future automatic parsing.
Also I would add a UNK/NA for source

For the numbering , 999 isolates are easily reachable... I would consider at least 0001

@EpiDemos82
Copy link
Author

Thanks! In your opinion, should the numbering restart for each study/project?

@jacarrico
Copy link

It is a matter of your liking. The unique sample ID would be in that case the project acronym and the number. If you have a single number that is across projects , the only advantage I see is that you automatically know how many sample you have in the freezer by that number.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment