Skip to main content

iqtree

Tags: phylogeny tree maximum-likelihood bootstrap model-selection iqtree run-scope

Efficient phylogenomic inference using Maximum Likelihood.

Uses IQ-TREE to construct a maximum-likelihood phylogenetic tree from a multiple sequence alignment. It automatically determines the best-fit substitution model (via ModelFinder) and assesses branch support using the Ultrafast Bootstrap approximation.

Inputs

record (
meta: Record,
aln: Path
)
FieldTypeDescription
metaRecordGroovy Record containing sample information
alnPathMultiple sequence alignment in FASTA, PHYLIP, or NEXUS format

Outputs

record (
meta: Record,
aln: Path,
nwk: Path,
results: Set<Path>,
logs: Set<Path?>,
nf_logs: Set<Path>,
versions: Set<Path>
)
FieldTypeDescription
metaRecordSample information record
alnPathThe input alignment (passed through)
nwkPathThe final maximum-likelihood phylogenetic tree (Newick format)
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

IQ-TREE Parameters

ParameterTypeDefaultDescription
--iqtree_modelstringHKYSubstitution model name
--iqtree_bbinteger1000Ultrafast bootstrap replicates
--iqtree_alrtinteger1000SH-like approximate likelihood ratio test replicates
--iqtree_asrbooleanfalseAncestral state reconstruction by empirical Bayes
--skip_phylogenybooleanfalseSkip IQ-TREE execution in subworkflows

Used By

Subworkflows

  • iqtree - Construct maximum likelihood phylogenetic trees from alignments.

Workflows

  • pangenome - Pangenome analysis with optional core-genome phylogeny.
  • snippy - Rapid haplotype variant calling and core genome alignment.

Citations

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

Source

View source on GitHub

Version

IQTREE:
- iqtree: 3.1.1