Demultiplex paired-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 : MultiplexedPairedEndBarcodeInSequence
- The paired-end sequences to be demultiplexed.
- forward_barcodes : MetadataColumn[Categorical]
- The sample metadata column listing the per-sample barcodes for the
forward reads.
- reverse_barcodes : MetadataColumn[Categorical], optional
- The sample metadata column listing the per-sample barcodes for the
reverse reads.
- error_rate : Float % Range(0, 1, inclusive_end=True), optional
- The level of error tolerance, specified as the maximum allowable error
rate.
Returns
- per_sample_sequences : SampleData[PairedEndSequencesWithQuality]
- The resulting demultiplexed sequences.
- untrimmed_sequences : MultiplexedPairedEndBarcodeInSequence
- The sequences that were unmatched to barcodes.