Description

Merge BAM or CRAM file

Input

name:type
description
pattern

meta

:map

Groovy Map containing sample information e.g. [ id:‘test’, single_end:false ]

input_files

:file

BAM/CRAM file

*.{bam,cram,sam}

index_files

:file

BAI/CRAI/CSI index file

*.{bai,crai,csi}

meta2

:map

Groovy Map containing reference information e.g. [ id:‘genome’ ]

fasta

:file

Reference file the CRAM was created with (optional)

*.{fasta,fa}

fai

:file

Index of the reference file the CRAM was created with (optional)

*.fai

gzi

:file

Index of the compressed reference file the CRAM was created with (optional)

*.gzi

Output

name:type
description
pattern

bam

meta

:map

Groovy Map containing sample information e.g. [ id:‘test’, single_end:false ]

${prefix}.bam

:file

BAM file

*.{bam}

cram

meta

:map

Groovy Map containing sample information e.g. [ id:‘test’, single_end:false ]

${prefix}.cram

:file

CRAM file

*.{cram}

index

meta

:map

Groovy Map containing sample information e.g. [ id:‘test’, single_end:false ]

*.{bai,crai,csi}

:file

BAM index file (optional)

*.{bai,crai,csi}

versions_samtools

${task.process}

:string

The process the versions were collected from

samtools

:string

The tool name

samtools version | sed '1!d;s/.* //'

:string

The command used to generate the version of the tool

Topics

name:type
description
pattern

versions

${task.process}

:string

The process the versions were collected from

samtools

:string

The tool name

samtools version | sed '1!d;s/.* //'

:string

The command used to generate the version of the tool

Tools

samtools
MIT

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.