Apply Reagent Labels When Samples are Imported
When importing sample data into Clarity LIMS using a spreadsheet, you can specify the reagent labels to be applied during the import process. To do this, you must include the reagent label names in the spreadsheet, in a column named Sample/Reagent Label.
Prerequisites
Before you follow the example, make sure that you have the following items:
Reagent types that are configured in Clarity LIMS and are named index 1 through index 6.
Reagents of type index 1 through index 6 that have been added to Clarity LIMS.
A compatible version of API (v2 r14 to v2 r24).
Code Example
The following example spreadsheet would import six samples into the system. These samples are Sample-1 through Sample-6 with reagent labels Index 1 through Index 6:
<TABLE HEADER>
Sample/Name
Container/Type
Container/Name
Sample/Well Location
Sample/Reagent Label
</TABLE HEADER>
<SAMPLE ENTRIES>
Sample-1
96 well plate
labeled-samples
A:1
Index 1
Sample-2
96 well plate
labeled-samples
A:2
Index 2
Sample-3
96 well plate
labeled-samples
A:3
Index 3
Sample-4
96 well plate
labeled-samples
A:4
Index 4
Sample-5
96 well plate
labeled-samples
A:5
Index 5
Sample-6
96 well plate
labeled-samples
A:6
Index 6
</SAMPLE ENTRIES>
Although not mandatory, it is recommended that you name reagent labels after reagent types using the Index special type. This allows you to relate the reagent label back to its sequence.
Verify with the REST API
If you examine the REST API representation of the samples imported, you are able to verify the following:
The sample representation shows no indication that reagent labels were applied.
The sample artifact (the analyte artifact linked from the sample representation) will indicate the label applied via the <reagent-label> element.
The following example shows how an imported sample artifact (Sample-1), with reagent label name applied (Index 1), appears when verified via the REST API:
Last updated