Description

Produces comprehensive statistics from SAM/BAM/CRAM file

Input

Name (Type)
Description
Pattern

ch_bam_bai

The input channel containing the BAM/CRAM and it’s index
Structure: [ val(meta), path(bam), path(bai) ]

ch_fasta

Reference genome fasta file
Structure: [ path(fasta) ]

Output

Name (Type)
Description
Pattern

stats

File containing samtools stats output
Structure: [ val(meta), path(stats) ]

flagstat

File containing samtools flagstat output
Structure: [ val(meta), path(flagstat) ]

idxstats

File containing samtools idxstats output
Structure: [ val(meta), path(idxstats)]

versions

Files containing software versions
Structure: [ path(versions.yml) ]