Scroll to navigation

IQTREE2(1) User Commands IQTREE2(1)

NAME

iqtree2 - efficient phylogenetic software by maximum likelihood

SYNOPSIS

iqtree [-s ALIGNMENT] [-p PARTITION] [-m MODEL] [-t TREE] ...

DESCRIPTION

IQ-TREE multicore version 2.0.7 for Linux 64-bit built Jan 21 2022 Developed by Bui Quang Minh, Nguyen Lam Tung, Olga Chernomor, Heiko Schmidt, Dominik Schrempf, Michael Woodhams.

GENERAL OPTIONS:

Print (more) help usages
PHYLIP/FASTA/NEXUS/CLUSTAL/MSF alignment file(s)
Directory of alignment files
BIN, DNA, AA, NT2AA, CODON, MORPH (default: auto-detect)
Starting tree (default: 99 parsimony and BIONJ)
Outgroup taxon (list) for writing .treefile
Prefix for all output files (default: aln/partition)
Random seed number, normally used for debugging purpose
Safe likelihood kernel to avoid numerical underflow
Maximal RAM usage in GB | MB | %
Number of indepedent runs (default: 1)
Verbose mode, printing more messages to screen
Display version number
Quiet mode, suppress printing to screen (stdout)
Add constant patterns into alignment (N=no. states)
Likelihood epsilon for parameter estimate (default 0.01)
No. cores/threads or AUTO-detect (default: 1)
Max number of threads for -T AUTO (default: all cores)

CHECKPOINT:

Redo both ModelFinder and tree search
Restore ModelFinder and only redo tree search
Revoke finished run, used when changing some options
Minimum checkpoint interval (default: 60 sec and adapt)

PARTITION MODEL:

NEXUS/RAxML partition file or directory with alignments Edge-linked proportional partition model
Like -p but edge-linked equal partition model
Like -p but edge-unlinked partition model
Like -p but separate tree inference
Randomly sub-sample partitions (negative for complement)

--subsample-seed NUM Random number seed for --subsample

LIKELIHOOD/QUARTET MAPPING:

Number of quartets for likelihood mapping analysis
NEXUS file containing clusters for likelihood mapping
Print quartet log-likelihoods to .quartetlh file

TREE SEARCH ALGORITHM:

Number of initial parsimony trees (default: 100)
Number of top initial trees (default: 20)
Number of best trees retained during search (defaut: 5)
Fix number of iterations to stop (default: OFF)
Number of unsuccessful iterations to stop (default: 100)
Perturbation strength for randomized NNI (default: 0.5)
Radius for parsimony SPR search (default: 6)
Perform more thorough NNI search (default: OFF)
(Multifurcating) topological constraint tree file
Fast search to resemble FastTree
Collapse near-zero branches into polytomy
Fix -t tree (no tree search performed)
Write locally optimal trees into .treels file
Compute tree likelihood without optimisation
Check if the tree lies on a phylogenetic terrace

ULTRAFAST BOOTSTRAP/JACKKNIFE:

Replicates for ultrafast bootstrap (>=1000)
Replicates for ultrafast jackknife (>=1000)
Subsampling proportion for jackknife (default: 0.5)
GENE|GENESITE resampling for partitions (default: SITE)
Write bootstrap trees to .ufboot file (default: none)
Like --boot-trees but also writing branch lengths
Maximum number of iterations (default: 1000)
Iterations for UFBoot stopping rule (default: 100)
Minimum correlation coefficient (default: 0.99)
RELL epsilon to break tie (default: 0.5)
Optimize UFBoot trees by NNI on bootstrap alignment

NON-PARAMETRIC BOOTSTRAP/JACKKNIFE:

Replicates for bootstrap + ML tree + consensus tree
Replicates for jackknife + ML tree + consensus tree
Subsampling proportion for jackknife (default: 0.5)
Replicates for bootstrap + consensus tree
Replicates for bootstrap only
Transfer bootstrap expectation

SINGLE BRANCH TEST:

Replicates for SH approximate likelihood ratio test
Parametric aLRT test (Anisimova and Gascuel 2006)
approximate Bayes test (Anisimova et al. 2011)
Replicates for fast local bootstrap probabilities

MODEL-FINDER:

Standard model selection (like jModelTest, ProtTest)
Standard model selection followed by tree inference
Extended model selection with FreeRate heterogeneity
Extended model selection followed by tree inference
Additionally test Lie Markov models
Additionally test Lie Markov models with RY symmetry
Additionally test Lie Markov models with WS symmetry
Additionally test Lie Markov models with MK symmetry
Additionally test strand-symmetric models
Restrict search to models supported by other programs (raxml, phyml or mrbayes)
Comma-separated model list (e.g. -mset WAG,LG,JTT)
Amino-acid model source (nuclear, mitochondrial, chloroplast or viral)
List of state frequencies
List of rate heterogeneity among sites (e.g. -mrate E,I,G,I+G,R is used for -m MF)
Min categories for FreeRate model [+R] (default: 2)
Max categories for FreeRate model [+R] (default: 10)
Akaike|Bayesian information criterion (default: BIC)
Perform full tree search for every model
List of mixture models to consider
Model definition NEXUS file (see Manual)
Find best codon/protein/DNA models (Whelan et al. 2015)

PARTITION-FINDER:

Merge partitions to increase model fit
Set merging algorithm (default: rclusterf)
Use only 1 or all models for merging (default: 1)
Comma-separated model list for merging
Use only 1 or all rate heterogeneity (default: 1)
Comma-separated rate list for merging
Percentage of partition pairs for rcluster algorithm
Percentage of partition pairs for rclusterf algorithm
Max number of partition pairs (default: 10*partitions)

SUBSTITUTION MODEL:

Model name string (e.g. GTR+F+I+G)
HKY (default), JC, F81, K2P, K3P, K81uf, TN/TrN, TNef, TIM, TIMef, TVM, TVMef, SYM, GTR, or 6-digit model specification (e.g., 010010 = HKY)
LG (default), Poisson, cpREV, mtREV, Dayhoff, mtMAM, JTT, WAG, mtART, mtZOA, VT, rtREV, DCMut, PMB, HIVb, HIVw, JTTDCMut, FLU, Blosum62, GTR20, mtMet, mtVer, mtInv, FLAVI,
Q.LG, Q.pfam, Q.pfam_gb, Q.bird, Q.mammal, Q.insect, Q.plant, Q.yeast
C10,...,C60, EX2, EX3, EHO, UL2, UL3, EX_EHO, LG4M, LG4X
JC2 (default), GTR2
KOSI07, SCHN05
GY (default), MG, MGK, GY0K, GY1KTS, GY1KTV, GY2K, MG1KTS, MG1KTV, MG2K

Semi-empirical codon: XX_YY where XX is empirical and YY is mechanistic model

MK (default), ORDERED, GTR
1.1, 2.2b, 3.3a, 3.3b, 3.3c, 3.4, 4.4a, 4.4b, 4.5a, 4.5b, 5.6a, 5.6b, 5.7a, 5.7b, 5.7c, 5.11a, 5.11b, 5.11c, 5.16, 6.6, 6.7a, 6.7b, 6.8a, 6.8b, 6.17a, 6.17b, 8.8, 8.10a, 8.10b, 8.16, 8.17, 8.18, 9.20a, 9.20b, 10.12, 10.34, 12.12 (optionally prefixed by RY, WS or MK)
STRSYM (strand symmetric model, equiv. WS6.6), NONREV, UNREST (unrestricted model, equiv. 12.12)
Name of file containing user-model parameters

STATE FREQUENCY:

Empirically counted frequencies from alignment
Optimized frequencies by maximum-likelihood
Equal frequencies
For DNA, freq(A+G)=1/2=freq(C+T)
For DNA, freq(A+T)=1/2=freq(C+G)
For DNA, freq(A+C)=1/2=freq(G+T)
4-digit constraint on ACGT frequency (e.g. +F1221 means f_A=f_T, f_C=f_G)
Amino-acid frequencies given protein matrix
Equal NT frequencies over three codon positions
Unequal NT frequencies over three codon positions

RATE HETEROGENEITY AMONG SITES:

A proportion of invariable sites
Discrete Gamma model with n categories (default n=4)
Discrete Gamma model with unlinked model parameters
Invariable sites plus Gamma model with n categories
FreeRate model with n categories (default n=4)
FreeRate model with unlinked model parameters
Invariable sites plus FreeRate model with n categories
Heterotachy model with n classes
Heterotachy model with n classes and unlinked parameters
Min Gamma shape parameter for site rates (default: 0.02)
Median approximation for +G site rates (default: mean)
Write empirical Bayesian site rates to .rate file
Write maximum likelihood site rates to .mlrate file

POLYMORPHISM AWARE MODELS (PoMo):

Input counts file (see manual)
DNA substitution model (see above) used with PoMo
Virtual population size (default: 9)
Weighted binomial sampling
Weighted hypergeometric sampling
Sampled sampling
Discrete Gamma rate with n categories (default n=4)

COMPLEX MODELS:

Mixture model with K components
Frequency mixture model with K components
Optimize mixture weights (default: detect)
Ascertainment bias correction
Input tree to infer site frequency model
Input site frequency model file
Posterior maximum instead of mean approximation

TREE TOPOLOGY TEST:

Set of trees to evaluate log-likelihoods
Replicates for topology test
Perform weighted KH and SH tests
Approximately unbiased (AU) test (Shimodaira 2002)
Write site log-likelihoods to .sitelh file

ANCESTRAL STATE RECONSTRUCTION:

Ancestral state reconstruction by empirical Bayes
Min probability of ancestral state (default: equil freq)

TEST OF SYMMETRY:

Perform three tests of symmetry
Do --symtest then exist
Do --symtest and remove bad partitions
Do --symtest and remove good partitions
Use MARginal/INTernal test when removing partitions
P-value cutoff (default: 0.05)
Keep NAs in the tests

CONCORDANCE FACTOR ANALYSIS:

Reference tree to assign concordance factor
Set of source trees for gene concordance factor (gCF)
Write discordant trees associated with gDF1
Number of quartets for site concordance factor (sCF)
Sequence alignment for --scf
Partition file or directory for --scf
Write CF per tree/locus to cf.stat_tree/_loci
Write sCF for all resampled quartets to .cf.quartet
January 2022 iqtree2 2.0.7+dfsg