Description

Picard MarkDuplicates, index BAM file and run samtools stats, flagstat and idxstats

Input

Name (Type)
Description
Pattern

ch_bam

BAM/CRAM/SAM file
Structure: [ val(meta), path(bam) ]

ch_fasta

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

ch_fasta

Index of the reference genome fasta file
Structure: [ path(fai) ]

Output

Name (Type)
Description
Pattern

bam

processed BAM/CRAM/SAM file
Structure: [ val(meta), path(bam) ]

bai

BAM/CRAM/SAM samtools index
Structure: [ val(meta), path(bai) ]

csi

CSI samtools index
Structure: [ val(meta), path(csi) ]

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) ]