Skip to main content

fastani

Tags: ani average-nucleotide-identity taxonomy species comparison run-scope

Calculate Average Nucleotide Identity (ANI) between genomes.

This subworkflow uses FastANI to compute whole-genome Average Nucleotide Identity (ANI) values between query genomes and reference genomes. ANI is a robust measure of genomic similarity used for species delineation in microbial taxonomy. The results are aggregated into a single consolidated report.

Take

query: Channel<Record>
reference: Channel<Record>
FieldDescription
metaGroovy Record containing sample information
fnaQuery genomes in FASTA format for ANI calculation
FieldDescription
metaGroovy Record containing sample information
fnaReference genomes in FASTA format for ANI calculation

Emit

Published

The sample_outputs and run_outputs emissions are aggregates of output files that will be published in the entry workflow.

sample_outputs

No sample-scope outputs.

run_outputs

OutputDescription
tsvA tab-delimited summary of the ANI scores, matched fragments, and total fragments
csvAggregated results in CSV format

Module Composition

This subworkflow calls the following modules:

  • csvtk_concat - Concatenate multiple CSV or TSV files into a single table.
  • fastani - Compute whole-genome Average Nucleotide Identity (ANI).

Used By

This subworkflow is used by the following workflows:

  • fastani - Fast alignment-free computation of whole-genome Average Nucleotide Identity.

Citations

If you use this in your analysis, please cite the following.

Source

View source on GitHub