nf-core/samtools/samples @ 0.0.0-6c4ed3a
Summary
Write sample names and path to reference genome of an alignment to a text file.
Get started
Add the following snippet to your workflow script to include this module.
include { SAMTOOLS_SAMPLES } from 'nf-core/samtools/samples'
License
MIT License
Process
Name
|
SAMTOOLS_SAMPLES |
|---|
Input
2 channels
#1
tuple
meta
map
|
Groovy Map containing sample information. e.g. |
|---|---|
bam
file
|
alignment file *.{bam,sam,cram}
|
bai
file
|
index file for the alignment *.{bai,crai}
|
#2
tuple
meta2
map
|
Groovy Map containing reference information. |
|---|---|
fasta
file
|
reference genome file (optional) *.{fasta,fa,fna}
|
fai
file
|
index file for the reference genome (optional) *.fai
|
Output
2 channels
#1
tsv
tuple
meta
map
|
Groovy Map containing sample information. e.g. |
|---|---|
*.tsv
file
|
tab-separated file containing sample names, BAM filename and optionally reference genome path *.tsv
|
#2
versions_samtools
tuple
${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 |
| 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-6c4ed3a |
|---|---|
| Commit ID | 6c4ed3a220310b905a1fc9d04f05be2e0837142b |
| Release Date | 23 Apr 2026 15:43:23 (UTC) |
| Download URL | https://registry.nextflow.io/api/v1/modules/nf-core%2Fsamtools%2Fsamples/0.0.0-6c4ed3a/download |
| OCI Store URL | https://public.cr.seqera.io/v2/nextflow/plugin/modules/nf-core/samtools/samples/blobs/sha256:e0fcb591df655d9b0de28fc1d895a6aae6fe97aba9a7c9d1527e1c3483adcdcd |
| Size | 3.1 KB |
| Checksum | sha256:e0fcb591df655d9b0de28fc1d895a6aae6fe97aba9a7c9d1527e1c3483adcdcd |
| Downloads | 4 |
| Version | Date | Status | Downloads | Size |
|---|---|---|---|---|
| 0.0.0-6c4ed3a | 23 Apr 2026 15:43:23 (UTC) | 4 | 3.1 KB | |
| 0.0.0-0c7146d | 08 Apr 2026 19:34:07 (UTC) | 3 | 3.0 KB |