Skip to content

Commit a8acc8e

Browse files
authored
Merge pull request #12 from iqtree/piyumal
updated IQ2MC documentation with a new figure.
2 parents 1fd3c09 + fb35eb2 commit a8acc8e

2 files changed

Lines changed: 11 additions & 14 deletions

File tree

doc/Dating.md

Lines changed: 11 additions & 14 deletions
Original file line numberDiff line numberDiff line change
@@ -47,9 +47,8 @@ using Bayesian MCMCtree method.
4747

4848
If you use this feature, please cite:
4949

50-
> __P. Demotte, M. Panchaksaram, H. Kumarasinghe, N. Ly-Trong, M. dos Reis and B.Q. Minh__
51-
>(2025) IQ2MC: A New Framework to Infer Phylogenetic Time Trees Using IQ-TREE
52-
>and MCMCtree with Mixture Models. <https://doi.org/10.32942/X2CD2X>
50+
> __P. Demotte, M. Panchaksaram, H. Kumarasinghe, N. Ly-Trong, M. dos Reis, and B.Q. Minh__
51+
>(2025) IQ2MC: A New Framework to Infer Phylogenetic Time Trees Using IQ-TREE 3 and MCMCTree with Mixture Models. <https://doi.org/10.32942/X2CD2X>
5352
5453
IQ2MC workflow for time tree inference
5554
--------------------------------------
@@ -69,7 +68,10 @@ tree, the MSA, and the substitution model for step 2.
6968
and the Hessian/Hessians of the branch lengths calculated at maximum likelihood
7069
estimates. Given the rooted tree with fossil/tip calibrations, the substitution
7170
model, and the MSA, IQ-TREE generates the Hessian file containing the gradients
72-
and the Hessian/Hessian and all required files to run MCMCtree for dating.
71+
and the Hessian/Hessian and all required files to run MCMCtree for dating. If the
72+
rooted tree provided for this step does not include fossil/tip calibrations, users
73+
need to calibrate the tree with commonly used tree editing tools such as FigTree
74+
or iTOL before step 3.
7375
* `step3`: Now, you can directly run MCMCtree from the IQ-TREE output of step 2
7476
and infer the time tree.
7577

@@ -122,12 +124,12 @@ iqtree3 -s example.phy -m GTR+G4 -te example_tree.nwk --dating mcmctree --mcmc-i
122124
```
123125

124126
* `--mcmc-iter burnin,samplefreq,nsample` : use to set number of burin samples,
125-
sample frequency and number of MCMC samples in the control file. In the above
126-
example, burnin =20000, samplefreq = 200 and nsample = 50000
127+
sample frequency, and number of MCMC samples in the control file. In the above
128+
example, burnin =20000, samplefreq = 200, and nsample = 50000
127129

128130
* `--mcmc-bds birth-rate,death-rate,sampling-fraction`: use to set the
129131
parameters for birth-death prior in MCMCtree. In the above example,
130-
birth-rate=1, death-rate=1 and sampling-fraction=0.5
132+
birth-rate=1, death-rate=1, and sampling-fraction=0.5
131133

132134
* `--mcmc-clock <EQUAL|IND|CORR>` : use to set clock model for MCMCtree.
133135
Currently supported clocks models are EQUAL: global clock with equal rates, IND:
@@ -163,11 +165,6 @@ If you need to use an Amino Acid profile mixture model such as C60 model,
163165
iqtree3 -s example_aa.phy -m LG+G4+C60 -te example_aa_tree.nwk –-dating mcmctree
164166
```
165167

166-
If you are using ModelFinder or MixtureFinder, you need to follow a two-step
167-
approach. First, you can estimate the best-fit model for the data using
168-
ModelFinder or MixtureFinder. Then, the Hessian file can be generated using
169-
`--dating mcmctree` option using the estimated models.
170-
171168
How to run MCMCtree
172169
-------------------
173170

@@ -201,7 +198,7 @@ usedata = 2 * 0: sampling from priors with no data; 1: exact slow likelihood
201198
clock = 2 * 1: global clock with equal rates; 2: independent rates; 3: correlated rates
202199
RootAge = <1.0 * safe constraint on root age, used if no fossil for root in the rooted tree file.
203200
204-
BDparas = 1,1,0.5 * birth-rate, death rate, sampling priors for sampling times
201+
BDparas = 1 1 0.5 * birth-rate, death rate, sampling priors for sampling times
205202
finetune = 1: 0.1 0.1 0.1 0.01 .5 * auto (0 or 1) : times, musigma2, rates, mixing, paras, FossilErr
206203
print = 1 * 1: normal output; 2: verbose output
207204
@@ -276,7 +273,7 @@ Inferring time tree with tip dates
276273
This is a common scenario e.g. in virus datasets where you have sampling time
277274
for many sequences. You need first to prepare a _date file_, which comprises
278275
several lines, each with a taxon name (from your sequence alignment) and its
279-
date separated by spaces, tabs or blanks. Note that it is not required to have
276+
date separated by spaces, tabs, or blanks. Note that it is not required to have
280277
dates for all tips. For example, this date file is part of the new corona virus
281278
dataset:
282279

doc/images/mcmctree-dating.png

-214 KB
Loading

0 commit comments

Comments
 (0)