Description
Digest concatemer reads into monomers at restriction enzyme recognition sites.
Reads FASTQ/FASTA (optionally gzipped), BAM, or CRAM and writes gzipped FASTQ
monomers ready for alignment. BAM/CRAM are converted with samtools fastq
(reference FASTA required for CRAM). Optional digest_reads.py arguments such as
--min-len can be passed via task.ext.args.
Input
Concatemer reads as FASTQ/FASTA (optionally gzipped), BAM, or CRAM. BAM/CRAM are converted with samtools fastq before digestion. Pass a single file or a list of files of the same type per sample; multiple BAM/CRAM files are streamed together, and multiple FASTQ/FASTA files are concatenated before digestion.
*.{bam,cram,fq,fastq,fa,fasta,fq.gz,fastq.gz,fa.gz,fasta.gz}Reference assembly FASTA. Required for CRAM; pass assembly FASTA for all input types.
*.{fa,fna,fasta}{,.gz}Output
digested_reads
versions_python
The expression to obtain the version of the tool
versions_samtools
versions_digest_reads
Tools
digest_reads.py Documentation
Split concatemer read sequences at restriction enzyme cut sites and emit monomer reads as FASTQ.
Command copied!