demultiplex_reads
Assign reads to the index each one came from, and say how many could NOT be assigned reliably — a hit further from a barcode than the set's guaranteed correction radius is not that barcode, and counting it as one is how a demultiplexing report hides a failed run.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| reads | Yes | the observed index reads to assign. | |
| _files | No | The project: record references shaped like _subject. Their records become library documents a tool names in sequences/parts/document; a trace or alignment is found by file name. | |
| metric | No | must match the error model the set was designed under. Values: hamming (Hamming (substitutions)), seqlev (Sequence-Levenshtein (indels)), levenshtein (Levenshtein). | seqlev |
| _subject | No | The record to act on: exactly one of sequence, accession (+source), sample (an id from list_samples) or file ({name, text} or {name, base64}); record_index picks one record of several. | |
| barcodes | Yes | the index set the reads were tagged with. |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| hits | Yes | each read with the barcode it was assigned to and the distance | |
| assigned | Yes | reads assigned within the guaranteed correction radius | |
| ambiguous | Yes | reads whose nearest barcode is further than the set can correct — these are NOT that sample |