×

nf-core/fgbio/sortbam @ 0.0.0-0c7146d

Sorts a SAM or BAM file. Several sort orders are available, including coordinate, queryname, random, and randomquery.

Latest version: 0.0.0-6c4ed3a
Total downloads: 7
Source: nf-core/modules
Authors: @sruthipsuresh
Maintainers: @sruthipsuresh

Summary

Sorts a SAM or BAM file. Several sort orders are available, including coordinate, queryname, random, and randomquery.

Get started

Add the following snippet to your workflow script to include this module.

include { FGBIO_SORTBAM } from 'nf-core/fgbio/sortbam'

License

MIT License

Process
Name FGBIO_SORTBAM
Input 1 channel
#1 tuple
meta map

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

bam file

The input SAM or BAM file to be sorted.

*.{bam,sam}
Output 2 channels
#1 bam tuple
meta map

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

*.bam file

Output SAM or BAM file.

*.{bam,sam}
#2 versions_fgbio tuple
${task.process} string

The process the versions were collected from

fgbio string

The tool name

fgbio --version 2>&1 | tr -d "[:cntrl:]" | sed -e "s/^.*Version: //;s/\[.*$//" eval

The expression to obtain the version of the tool

Tool Description Homepage
fgbio Tools for working with genomic and high throughput sequencing data. https://github.com/fulcrumgenomics/fgbio
Version 0.0.0-0c7146d
Commit ID 6c4ed3a220310b905a1fc9d04f05be2e0837142b
Release Date 08 Apr 2026 19:01:04 (UTC)
Download URL https://registry.nextflow.io/api/v1/modules/nf-core%2Ffgbio%2Fsortbam/0.0.0-0c7146d/download
OCI Store URL https://public.cr.seqera.io/v2/nextflow/plugin/modules/nf-core/fgbio/sortbam/blobs/sha256:497dbefc3d65e65afe1cb89c9ae82b5b078a75f6f08b6f892d47363c11833206
Size 2.6 KB
Checksum sha256:497dbefc3d65e65afe1cb89c9ae82b5b078a75f6f08b6f892d47363c11833206
Downloads 3
Version Date Status Downloads Size
0.0.0-6c4ed3a 23 Apr 2026 15:17:20 (UTC) 4 2.6 KB
0.0.0-0c7146d 08 Apr 2026 19:01:04 (UTC) 3 2.6 KB