×

nf-core/ivar/consensus @ 0.0.0-0c7146d

Generate a consensus sequence from a BAM file using iVar

Latest version: 0.0.0-0c7146d
Total downloads: 1
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-0c7146d
Commit ID 135d883a43b1a2324b4112cd270cf22e20835533
Release Date 08 Apr 2026 18:49:37 (UTC)
Download URL https://registry-stage.nextflow.io/api/v1/modules/nf-core%2Fivar%2Fconsensus/0.0.0-0c7146d/download
OCI Store URL https://public.cr.stage-seqera.io/v2/nextflow/plugin-stage/modules/nf-core/ivar/consensus/blobs/sha256:c07640bfedfbb5c7df25e08332be8c7330a1c1af881bae0d6f442e67b538e8e4
Size 2.8 KB
Checksum sha256:c07640bfedfbb5c7df25e08332be8c7330a1c1af881bae0d6f442e67b538e8e4
Downloads 1
Version Date Status Downloads Size Diff
0.0.0-0c7146d 08 Apr 2026 18:49:37 (UTC) 1 2.8 KB -