×

nf-core/emboss/cons @ 0.0.0-6c4ed3a

cons calculates a consensus sequence from a multiple sequence alignment. To obtain the consensus, the sequence weights and a scoring matrix are used to calculate a score for each amino acid residue or nucleotide at each position in the alignment.

Latest version: 0.0.0-6c4ed3a
Total downloads: 11
Source: nf-core/modules
Authors: @Joon-Klaps
Maintainers: @Joon-Klaps

Summary

cons calculates a consensus sequence from a multiple sequence alignment. To obtain the consensus, the sequence weights and a scoring matrix are used to calculate a score for each amino acid residue or nucleotide at each position in the alignment.

Get started

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

include { EMBOSS_CONS } from 'nf-core/emboss/cons'

License

MIT License

Process
Name EMBOSS_CONS
Input 1 channel
#1 tuple
meta map

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

fasta file

Multiple sequence alignment (unzipped)

*.{fasta,fa,fas,fsa,seq,mpfa,aln,clustal,clw,msf,phy,phylip,stockholm,sto,msf,afa,afa,a}
Output 2 channels
#1 consensus tuple
meta map

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

*.fa file

Consensus sequence calculated from multiple sequence alignment

*.fa
#2 versions_emboss tuple
${task.process} string

The name of the process

emboss string

The name of the tool

cons -version 2>&1 | sed "s/EMBOSS://" eval

The expression to obtain the version of the tool

Tool Description Homepage
emboss The European Molecular Biology Open Software Suite https://www.ebi.ac.uk/Tools/sfc/emboss_seqret/
Version 0.0.0-6c4ed3a
Commit ID 6c4ed3a220310b905a1fc9d04f05be2e0837142b
Release Date 23 Apr 2026 15:14:48 (UTC)
Download URL https://registry.nextflow.io/api/v1/modules/nf-core%2Femboss%2Fcons/0.0.0-6c4ed3a/download
OCI Store URL https://public.cr.seqera.io/v2/nextflow/plugin/modules/nf-core/emboss/cons/blobs/sha256:5c2163d6d1ebe9db93535f61d9bd853701881150d8d40bfed5724babf23db396
Size 2.4 KB
Checksum sha256:5c2163d6d1ebe9db93535f61d9bd853701881150d8d40bfed5724babf23db396
Downloads 4
Version Date Status Downloads Size
0.0.0-6c4ed3a 23 Apr 2026 15:14:48 (UTC) 4 2.4 KB
0.0.0-3fc6d40 22 Apr 2026 15:10:48 (UTC) 3 2.4 KB
0.0.0-0c7146d 08 Apr 2026 18:58:28 (UTC) 4 2.4 KB