Skip to main content

fastani

Tags: fastani ani average-nucleotide-identity taxonomy genomic-distance comparison run-scope

Compute whole-genome Average Nucleotide Identity (ANI).

Uses FastANI to perform alignment-free computation of ANI between the input query genomes and a reference genome. This is the standard method for species definition (typically >95% ANI) and is much faster than traditional BLAST-based approaches.

Inputs

record (
meta: Record,
query: Set<Path>,
reference: Path
)
FieldTypeDescription
metaRecordGroovy Record containing sample information
querySet<Path>One or more assembled contigs in FASTA format (Query genomes)
referencePathThe reference genome assembly in FASTA format to compare against

Outputs

record (
meta: Record,
tsv: Path,
results: Set<Path>,
logs: Set<Path?>,
nf_logs: Set<Path>,
versions: Set<Path>
)
FieldTypeDescription
metaRecordSample information record
tsvPathTab-delimited summary of ANI scores, matched fragments, and total fragments
resultsSet<Path>All output files to be published
logsSet<Path?>Optional program specific log files
nf_logsSet<Path>Nextflow-specific log files (e.g. .command.{begin
versionsSet<Path>A YAML formatted file with program versions

Parameters

fastANI Parameters

ParameterTypeDefaultDescription
--fastani_referencestringPath to reference genome in FASTA format
--fastani_kmerinteger16kmer size (<= 16) for ANI calculation
--fastani_min_fractionnumber0.2Minimum fraction of genome that must be shared for trusting ANI.
--fastani_frag_leninteger3000fragment length
--fastani_skip_pairwisebooleanfalseOnly use RefSeq or local assemblies for ANI calculations

Used By

Subworkflows

  • fastani - Calculate Average Nucleotide Identity (ANI) between genomes.

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

Version

FASTANI:
- fastani: 1.34