Hi Ziheng,
Thanks for your help,
To get the tree, I first run mcmctree (usedata=3) then codeml, extract the rate estimation and run mcmctree again (usedata=2). Here is the control file and the tree I used for this second run on a dataset of 10 genes.
<mcmctree_2ndRun.ctl.>
seed = -1
seqfile =xdc.phy
treefile = ../tree_lactarius.tre
outfile =xdc_mcmctree_2ndRun.out
ndata =10
seqtype = 2 * 0: nucleotides; 1:codons; 2:AAs
usedata = 2 * 0: no data; 1:seq like; 2:use in.BV; 3: out.BV
clock = 2 * 1: global clock; 2: independent rates
RootAge = '<5.0' * safe constraint on root age, used if no fossil for root.
cleandata =1 * remove sites with ambiguity data (1:yes, 0:no)?
BDparas = 1 1 0.1 * birth, death, sampling
kappa_gamma = 6 2 * gamma prior for kappa
alpha_gamma = 1 1 * gamma prior for alpha
rgene_gamma = 1 13.7557
sigma2_gamma = 1 4.5
finetune = 1: .05 .08 .1 .01 .01 .1 * auto (0 or 1): times, musigma2, rates, mixing, paras, FossilErr
print = 1
burnin = 20000
sampfreq = 30
nsample = 2000
34 1
((Mutel1,Sclhys1),(Albpec1,(((Hetan2,Stehi1)'>1.06<0.8085',(Hercor1,Laxbic1)),(((Varmin1,Ricme1),(Amycha1,Echtin1)),((Clapy1,(Lenvul1,Aurvu1)'>0.534<0.37'),(Glocon1,((Lacqui1,(Lacpsa1,(Lacviv1,((Lacaka1,(Lacpse1,Lachen1)),((Lachat1,Lacdel1),Lacsan1))))),(Muloch1,(((Rusbre1,Ruscom1),(((Rusvin1,Rusoch1),(Ruseme1,Rusrug1)),Rusdis1)),(Lacvol1,Lacsub1)))))))'>1.51<1.2041')));
Best,
Annie