Sort linked-read data by barcode
Sort linked-read data by barcode
Sometimes you want/need linked-read data to be sorted by barcode.
In order to accomplish this with Djinn, the barcode must be in a SAM tag (e.g. BX, BC) FASTQ or SAM/BAM format. If your
barcodes aren't in a SAM tag, consider using
fastq convert
or
standardize
to convert it into a compliant format.
FASTQ
usage
djinn fastq sort SAMTAG PREFIX INPUT...
example | sort fastq with barcodes in BC tag
djinn fastq sort BC pebbles_sorted data/pebbles.R1.fq.gz data/pebbles.R2.fq.gz
Running Options
SAM
usage
djinn sam sort SAMTAG INPUT
example | sort fastq with barcodes in BC tag
djinn sam sort BC data/pebbles.bam