| name | type | description | pattern |
|---|---|---|---|
| meta | map | Groovy Map containing sample information | |
| e.g. [ id:‘test’, single_end:false ] | NA | ||
| bam | file | BAM/CRAM/SAM file | *.{bam,cram,sam} |
samtools_sort
Sort a SAM/BAM/CRAM file. Adapted from the nf-core samtools sort module.
sort
bam
sam
cram
nf-core modules \
--git-remote https://github.com/CCBR/nf-modules \
install samtools/sorthttps://github.com/CCBR/nf-modules/…/modules/CCBR/samtools/sort/
Input
Output
| name | type | description | pattern |
|---|---|---|---|
| meta | map | Groovy Map containing sample information | |
| e.g. [ id:‘test’, single_end:false ] | NA | ||
| bam | file | Sorted BAM/CRAM/SAM file | *.{bam,cram,sam} |
| bai | file | Sorted BAM Index file | *.bai |
| versions | file | File containing software versions | versions.yml |
| csi | file | BAM index file (optional) | *.csi |
Tools
samtools
SAMtools is a set of utilities for interacting with and post-processing short DNA sequence read alignments in the SAM, BAM and CRAM formats, written by Heng Li. These files are generated as output by short read aligners like BWA.