Demultiplex single-end sequence data with barcodes in-sequence.
Demultiplex sequence data (i.e., map barcode reads to sample ids). Barcodes
are expected to be located within the sequence data (versus the header, or
a separate barcode file).
Parameters
- seqs : MultiplexedSingleEndBarcodeInSequence
- The single-end sequences to be demultiplexed.
- barcodes : MetadataColumn[Categorical]
- The sample metadata column listing the per-sample barcodes.
- error_rate : Float % Range(0, 1, inclusive_end=True), optional
- The level of error tolerance, specified as the maximum allowable error
rate. The default value specified by cutadapt is 0.1 (=10%), which is
greater than demux emp-*, which is 0.0 (=0%).
Returns
- per_sample_sequences : SampleData[SequencesWithQuality]
- The resulting demultiplexed sequences.
- untrimmed_sequences : MultiplexedSingleEndBarcodeInSequence
- The sequences that were unmatched to barcodes.