×

nf-core/ivar/consensus @ 0.0.0-6c4ed3a

Generate a consensus sequence from a BAM file using iVar

Latest version: 0.0.0-6c4ed3a
Total downloads: 9
Source: nf-core/modules
Authors: @andersgs @drpatelh
Maintainers: @andersgs @drpatelh

Summary

Generate a consensus sequence from a BAM file using iVar

Get started

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

include { IVAR_CONSENSUS } from 'nf-core/ivar/consensus'

License

MIT License

Process
Name IVAR_CONSENSUS
Input 3 channels
#1 tuple
meta map

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

bam file

A sorted (with samtools sort) and trimmed (with iVar trim) bam file

*.bam
fasta file

The reference sequence used for mapping and generating the BAM file

*.fa
save_mpileup boolean

Save mpileup file generated by ivar consensus

*.mpileup
Output 4 channels
#1 qual tuple
meta map

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

*.qual.txt file

iVar generated quality file

*.qual.txt
#2 fasta tuple
meta map

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

*.fa file

iVar generated consensus sequence

*.fa
#3 mpileup tuple
meta map

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

*.mpileup file

mpileup output from samtools mpileup [OPTIONAL]

*.mpileup
#4 versions
versions.yml file

File containing software versions

versions.yml
Tool Description Homepage
ivar iVar - a computational package that contains functions broadly useful for viral amplicon-based sequencing. https://github.com/andersen-lab/ivar
Version 0.0.0-6c4ed3a
Commit ID 6c4ed3a220310b905a1fc9d04f05be2e0837142b
Release Date 23 Apr 2026 15:26:11 (UTC)
Download URL https://registry.nextflow.io/api/v1/modules/nf-core%2Fivar%2Fconsensus/0.0.0-6c4ed3a/download
OCI Store URL https://public.cr.seqera.io/v2/nextflow/plugin/modules/nf-core/ivar/consensus/blobs/sha256:d8a66d55895f4636fd168ce8eb830389d904e901bd2ee82cd1ff8b2d027ccc15
Size 2.8 KB
Checksum sha256:d8a66d55895f4636fd168ce8eb830389d904e901bd2ee82cd1ff8b2d027ccc15
Downloads 3
Version Date Status Downloads Size
0.0.0-6c4ed3a 23 Apr 2026 15:26:11 (UTC) 3 2.8 KB
0.0.0-3fc6d40 22 Apr 2026 15:18:14 (UTC) 3 2.9 KB
0.0.0-0c7146d 08 Apr 2026 19:11:13 (UTC) 3 2.8 KB