nf-core/samtools/splitheader @ 0.0.0-0c7146d
Summary
Extract header lines from a SAM/BAM/CRAM file into separate files depending on type
Get started
Add the following snippet to your workflow script to include this module.
include { SAMTOOLS_SPLITHEADER } from 'nf-core/samtools/splitheader'
License
MIT License
Name
|
SAMTOOLS_SPLITHEADER |
|---|
meta
map
|
Groovy Map containing sample information e.g. [ id:'test', single_end:false ] |
|---|---|
input
file
|
BAM/CRAM/SAM file *.{bam,cram,sam}
|
programs
tuple
meta
map
|
Groovy Map containing sample information e.g. [ id:'test', single_end:false ] |
|---|---|
*_programs.txt
file
|
Text file containing program (@PG) lines from SAM header |
readgroup
tuple
meta
map
|
Groovy Map containing sample information e.g. [ id:'test', single_end:false ] |
|---|---|
*_readgroups.txt
file
|
Text file containing read group (@RG) lines from SAM header |
sequences
tuple
meta
map
|
Groovy Map containing sample information e.g. [ id:'test', single_end:false ] |
|---|---|
*_sequences.txt
file
|
Text file containing sequence (@SQ) lines from SAM header |
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-0c7146d |
|---|---|
| Commit ID | 135d883a43b1a2324b4112cd270cf22e20835533 |
| Release Date | 08 Apr 2026 19:10:34 (UTC) |
| Download URL | https://registry-stage.nextflow.io/api/v1/modules/nf-core%2Fsamtools%2Fsplitheader/0.0.0-0c7146d/download |
| OCI Store URL | https://public.cr.stage-seqera.io/v2/nextflow/plugin-stage/modules/nf-core/samtools/splitheader/blobs/sha256:606da300ca487730bdbdd45accbdd60cc3aeb80de105bbb24829220827a58cb1 |
| Size | 3.0 KB |
| Checksum | sha256:606da300ca487730bdbdd45accbdd60cc3aeb80de105bbb24829220827a58cb1 |
| Downloads | 1 |
| Version | Date | Status | Downloads | Size | Diff |
|---|---|---|---|---|---|
| 0.0.0-0c7146d | 08 Apr 2026 19:10:34 (UTC) | 1 | 3.0 KB | - |