| group | name | type | description | pattern |
|---|---|---|---|---|
| NA | meta | map | Groovy Map containing sample information | |
| e.g. [ id:‘test’, single_end:false ] | NA | |||
| NA | bam | file | BAM file | *.{bam,cram,sam} |
| NA | bai | file | BAI (bam index) file | *.{bai} |
custom_bam2fastq
The module converts a BAM file to FASTQ format. It uses samtools bam2fq if reads are single end, or picard SamToFastq if reads are paired.
bam2fq
samtools
fastq
picard
nf-core modules \
--git-remote https://github.com/CCBR/nf-modules \
install custom/bam2fastqhttps://github.com/CCBR/nf-modules/…/modules/CCBR/custom/bam2fastq/
Input
Output
| group | name | type | description | pattern |
|---|---|---|---|---|
| NA | meta | map | Groovy Map containing sample information | |
| e.g. [ id:‘test’, single_end:false ] | NA | |||
| NA | versions | file | File containing software versions | versions.yml |
| NA | reads | file | 1 fastq file if single end, or 2 fastq files if paired-end. | *.fastq.gz |
| NA | unpaired | file | unpaired reads | *.fastq.gz |
Tools
samtools
Docs MIT
Tools for dealing with SAM, BAM and CRAM files
picard
A set of command line tools (in Java) for manipulating high-throughput sequencing (HTS) data and formats such as SAM/BAM/CRAM and VCF.