×

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

Groups reads together that appear to have come from the same original molecule. Reads are grouped by template, and then templates are sorted by the 5’ mapping positions of the reads from the template, used from earliest mapping position to latest. Reads that have the same end positions are then sub-grouped by UMI sequence. (!) Note: the MQ tag is required on reads with mapped mates (!) This can be added using samblaster with the optional argument --addMateTags.

Latest version: 0.0.0-0c7146d
Total downloads: 1
Source: nf-core/modules
Authors: @lescai
Maintainers: @lescai

Summary

Groups reads together that appear to have come from the same original molecule. Reads are grouped by template, and then templates are sorted by the 5’ mapping positions of the reads from the template, used from earliest mapping position to latest. Reads that have the same end positions are then sub-grouped by UMI sequence. (!) Note: the MQ tag is required on reads with mapped mates (!) This can be added using samblaster with the optional argument --addMateTags.

Get started

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

include { FGBIO_GROUPREADSBYUMI } from 'nf-core/fgbio/groupreadsbyumi'

License

MIT License

Process
Name FGBIO_GROUPREADSBYUMI
Input 2 channels
#1 tuple
meta map

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

bam file

BAM file. Note: the MQ tag is required on reads with mapped mates (!)

*.bam
strategy string

Required argument: defines the UMI assignment strategy. Must be chosen among: Identity, Edit, Adjacency, Paired.

Output 4 channels
#1 bam tuple
meta map

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

*.bam file

UMI-grouped BAM

*.bam
#2 histogram tuple
meta map

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

*histogram.txt file

A text file containing the tag family size counts

*.txt
#3 read_metrics tuple
meta map

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

*read-metrics.txt file

A text file containing the read count metrics from grouping

*.txt
#4 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 A set of tools for working with genomic and high throughput sequencing data, including UMIs http://fulcrumgenomics.github.io/fgbio/
Version 0.0.0-0c7146d
Commit ID 135d883a43b1a2324b4112cd270cf22e20835533
Release Date 08 Apr 2026 18:39:19 (UTC)
Download URL https://registry-stage.nextflow.io/api/v1/modules/nf-core%2Ffgbio%2Fgroupreadsbyumi/0.0.0-0c7146d/download
OCI Store URL https://public.cr.stage-seqera.io/v2/nextflow/plugin-stage/modules/nf-core/fgbio/groupreadsbyumi/blobs/sha256:c7ec62ef3ec40c8570513349832758265a372ad2f85a01407d0e6f3e4c841b6e
Size 3.2 KB
Checksum sha256:c7ec62ef3ec40c8570513349832758265a372ad2f85a01407d0e6f3e4c841b6e
Downloads 1
Version Date Status Downloads Size Diff
0.0.0-0c7146d 08 Apr 2026 18:39:19 (UTC) 1 3.2 KB -