Entering barcodes

Barcodes can be entered manually or loaded from a table element or imported from a properly formatted CSV or Excel file.

For Demultiplex Reads within a workflow, barcodes can only be loaded from a table or CSV/Excel file, which can be selected when launching the workflow. The format of the file can be as simple as two columns, the first with the barcode sequences, the second with the names of the barcodes, as described above. However, in a workflow context, the file can optionally contain a header, and more columns. Columns not defining the barcode and sample name are interpreted as metadata and can be used for defining batch units. See Defining batch units when using Demultiplex Reads for further details.

Manually enter barcodes

Barcodes can be entered manually when launching the Demultiplex Reads tool by clicking the Add (Image add) button in the "Set barcode options" wizard step. In the example shown in figure 26.23 the barcodes should be defined as shown in figure 26.26.

Image demultiplex_reads_define_barcode
Figure 26.26: The barcodes for the set of paired end reads for sample 1 have already been defined and the barcodes for sample 2 is being entered in the format AAA-AAA, which corresponds to Barcode1-Barcode2 for sample 2 in the example shown in figure 26.23.

You can edit the barcodes and the names by clicking the cells in the table. The barcode name is used when naming the results.

Load barcodes from table element

If running the Demultiplex Reads tool, click on the Load (Image browse_16_n_p) button in the "Set barcode options" wizard step.

When Loading barcodes this way, the table element must start with columns for each expected barcodes followed by a name column. An acceptable table could look like:

Barcode Name
AAAAAA Sample1
GGGGGG Sample2
CCCCCC Sample2

Import barcodes from CSV or Excel format files

If running the Demultiplex Reads tool, click on the Import (Image Next_Folder_16_n_p) button in the "Set barcode options" wizard step.

The file containing barcodes must have at least two columns. The first column must contain the barcode sequences. The second column must contain the name of each barcode. Any additional columns will be ignored. An acceptable CSV formatted file could look like:

"AAAAAA","Sample1"
"GGGGGG","Sample2"
"CCCCCC","Sample3"