Working with Samples in ISA-JSON compliant Experiments
Types of samples in ISA-JSON compliant Experiments
Study Source(s)
- Study Sources must be created within an ISA Study, using an Experiment Sample Template level “Study Source”.
- Each Study Source should be the input of at least one Study Sample (or more) in the same ISA Study.
Study Sample(s)
- Study Samples must be created within an ISA Study, using an Experiment Sample Template level “Study Sample”.
- Study Samples must be the outputs of a sampling protocol applied to ISA Study Sources, in the same Study.
- Each Study Sample must be the output of at least one Source (or more), in the same ISA Study.
Material output assay sample(s)
- Assay material samples must be created within an ISA Assay, using an Experiment Sample Template level “Assay - material”.
- Assay material samples must be the outputs of a protocol applied to the inputs of the Assay.
- Each Assay Sample must have at least one input (or more). Inputs can be:
- Study Samples in the same ISA Study;
- Assay samples from one preceding Assay, in the same Assay Stream.
Data file output assay sample(s) Same as for material output assay sample(s), but for assays specifically designed to produce data files.
Creating samples in ISA-JSON compliant Experiments
Create Study Sources
From Study design tab, Sources can be created in three ways.
Via the Add row button.
- Select the Add row button at the bottom of the page. One row corresponds to one Source.
- Make sure to fill in all the mandatory columns and then select Save.
- Note that the light blue cells will define the name of each Source.
- Click on Save. For each row that gets saved, a single Study Source is created.
Via the Paste From Clipboard button
- Use one of the following buttons to export the table and save it locally: “Export to CSV”, “Copy to Clipboard” or “Batch download to Excel”.
- Fill in the table offline and copy the content. Ensure to select and copy all columns except for “id” and “uuid”.
- Use the “Paste From Clipboard” button to fill in the table.
- Select Save. For each row that gets saved, a single Source is created.
Via upload of the downloaded dynamic table
- Click on “Batch download to Excel”.
- Open the downloaded excel file, fill in the table offline and save it locally.
- Navigate to the same Sources table from the Study design tab, click on “Choose File” button at the bottom of the page, select the saved excel file and click “Upload”.
- Verify and confirm the upload via the pop-up window, then click “Save”.
Create Study Samples
In the Study design tab, Samples can be created in three ways, similar to Sources (see above). The only difference is the mandatory column “Input” in the Samples table, which must be filled with valid and existing Sources from the same Study.
Via the Add row button.
Select the input Source(s) for the Sample your are creating in the “Input” column.
Via the Paste From Clipboard button
Ensure to select and copy all columns except for “Input”, “id” and “uuid”. “Input” cannot be pasted from clipboard, it must be added manually.
Via upload of the downloaded dynamic table
Values for the mandatory column “Input” in the Samples table can be added in batch via spreadsheet upload.
Open the downloaded excel file and fill in the “Input” column by providing the Source id and the Source title in the following format. id: numeric id assigned by the platform to each Source; title: Source Name given by the user to each Source.
One input value:
[{“id”=>343, “type”=>”Sample”, “title”=>”yeast_wgs_02”}].
Two input values:
[{“id”=>343, “type”=>”Sample”, “title”=>”yeast_wgs_02”}, {“id”=>342, “type”=>”Sample”, “title”=>”yeast_wgs_01”}]
Navigate to the same Sources table from the Study design tab, click on “Choose File” button at the bottom of the page, select the saved excel file and click “Upload”. Verify and confirm the upload via the pop-up window, then click “Save”.
Create Assay Samples
In the Assay design tab, Samples can be created in three ways, similar to Study Samples (see above). The only difference is the mandatory column “Input” in the Assay Samples table.
- For first Assay, it must be filled with valid and existing Study Samples from the same Study.
- For subsequent Assays, it must be filled with valid and existing Assay Samples from the previous Assay in the same Assay Stream.
Viewing samples in ISA-JSON compliant Experiments
Samples in ISA-JSON compliant Experiments can be visualised in the “design” tab (Study or Assay design). Samples are grouped in tables: Study Sources table, Study Samples table, Assay Samples table, Experiment overview.
Sources table and Samples table
Sources table and Samples table are interactive tables (dynamic tables) that allow samples creation and editing.
- Studies contain both Sources table and Samples table.
- Assays contains only Samples table.
Samples
In Experiment View, you can also view Study Sources, Study Samples, and Assay Samples in a searchable table by selecting “samples (n)” from the tree view on the left sidebar. Samples cannot be created or edited via this view.
Experiment overview
Experiment overview table shows an overview of all Sources and Samples in a searchable table. Samples cannot be created or edited via this view.
- In ISA Study, Experiment overview shows Study Sources and Study Samples.
- In ISA Assay, Experiment overview shows Study Samples and Assay samples, up until that experimental step.