Quick Look: Customizing Sample ID Structure Using Lineage in LabKey Biologics
We hear about a wide variety of unique challenges when talking to our users, but one that is very common across many organizations is the difficulty generating sample IDs for new samples. While the requirements for sample IDs vary from research team to research team, a few needs are true for all:
- IDs must provide context about the sample
- IDs must be relatively short
- IDs must be unique
- IDs must be consistent
To address this challenge, we designed a highly configurable system within LabKey Biologics that allows administrators to specify how sample IDs are “built” as they are derived from other samples or biological entities.
Imagine, for example, that you are creating a variety of bioreactor runs (a specific sample type). As you’re creating the sample IDs to represent these runs, you might want to incorporate the ID of the Expression System (ex: ES-3) into the sample ID that is generated. Additionally, you might want to have the date, the type of bioreactor, and an integer included.
Doing this in triplicate, you’d have a Sample ID structure that looks like the following (where “SF” stands for “Shake Flask”):
This sample ID structure would provide information about what is in this shake flask and when the bioreactor was started. In LabKey Biologics, you can easily configure the system to compile a sample ID that includes the values from any relevant fields to help provide context about each sample.
Dates and Counters
Many teams add an integer to their sample ID structure to serve as the differentiator between samples with similar characteristics. To support this approach, LabKey Biologics keeps date counters for each day, week, month, and year so that users can create samples IDs for any time period (past, present, or future) that include an integer is unique within that period.
Always Ensuring Uniqueness
When you generate sample IDs within LabKey Biologics, the application ensures that the ID generation system ensures that all sample IDs are unique. The same is true of Sample IDs that you override manually, or through a bulk upload. If you provide a duplicate in either of these scenarios, LabKey Biologics will flag the duplicate provide you with the option to reject the duplicates or override the existing data. This means that whenever you’re looking at the assay data or lineage connected to a particular sample, the sample ID will be unique.