nf-core/samtools/convert @ 0.0.0-0c7146d
Summary
convert and then index CRAM -> BAM or BAM -> CRAM file
Get started
Add the following snippet to your workflow script to include this module.
include { SAMTOOLS_CONVERT } from 'nf-core/samtools/convert'
License
MIT License
Name
|
SAMTOOLS_CONVERT |
|---|
meta
map
|
Groovy Map containing sample information e.g. [ id:'test', single_end:false ] |
|---|---|
input
file
|
BAM/CRAM file *.{bam,cram}
|
index
file
|
BAM/CRAM index file *.{bai,crai}
|
meta2
map
|
Groovy Map containing sample information e.g. [ id:'test', single_end:false ] |
|---|---|
fasta
file
|
Reference file to create the CRAM file *.{fasta,fa}
|
fai
file
|
Reference index file to create the CRAM file *.{fai}
|
bai
tuple
meta
map
|
Groovy Map containing sample information e.g. [ id:'test', single_end:false ] |
|---|---|
*.bai
file
|
filtered/converted BAM index *{.bai}
|
bam
tuple
meta
map
|
Groovy Map containing sample information e.g. [ id:'test', single_end:false ] |
|---|---|
*.bam
file
|
filtered/converted BAM file *{.bam}
|
crai
tuple
meta
map
|
Groovy Map containing sample information e.g. [ id:'test', single_end:false ] |
|---|---|
*.crai
file
|
filtered/converted CRAM index *{.crai}
|
cram
tuple
meta
map
|
Groovy Map containing sample information e.g. [ id:'test', single_end:false ] |
|---|---|
*.cram
file
|
filtered/converted CRAM file *{cram}
|
versions_samtools
tuple
${task.process}
string
|
The name of the process |
|---|---|
samtools
string
|
The name of the tool |
samtools version | sed '1!d;s/.* //'
eval
|
The expression to obtain the version of the tool |
| Tool | Description | Homepage |
|---|---|---|
| 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. | http://www.htslib.org/ |
| Version | 0.0.0-0c7146d |
|---|---|
| Commit ID | 135d883a43b1a2324b4112cd270cf22e20835533 |
| Release Date | 08 Apr 2026 19:09:53 (UTC) |
| Download URL | https://registry-stage.nextflow.io/api/v1/modules/nf-core%2Fsamtools%2Fconvert/0.0.0-0c7146d/download |
| OCI Store URL | https://public.cr.stage-seqera.io/v2/nextflow/plugin-stage/modules/nf-core/samtools/convert/blobs/sha256:0c92f01f27ef29f69ca5de933e4efe806034e273a89a20c737a9ea6fa54faec2 |
| Size | 2.9 KB |
| Checksum | sha256:0c92f01f27ef29f69ca5de933e4efe806034e273a89a20c737a9ea6fa54faec2 |
| Downloads | 1 |