You are viewing an old version of this page. View the current version.

Compare with Current View Page History

« Previous Version 2 Next »

Description

Convert the log file generated by MCMC_SEQ to be readable by Tracer.

Usage

 

SummarizeMCMCResults -mode "Tracer" [-cl chainLength] [-bl burnInLength] [-sf sampleFrequency] [-outfile filename] [-truenet networkString]

Settings

-cl chainLength

The length of the MCMC chain. Set to the same value used in MCMC_SEQ.

required

-bl burnInLengthThe number of iterations in burn-in period. Set to the same value used in MCMC_SEQ.required

-sf sampleFrequency

The sample frequency. Set to the same value used in MCMC_SEQ.

required

-outfile filenameThe name of tracer log file you want to generate. Can contain path.required
-truenet networkString The network you want to summarize its parameters.required
 

 

Example

 

#NEXUS
Begin data;
Dimensions ntax=5 nchar=10;
Format datatype=dna symbols="012" missing=? gap=-;
Matrix


a 1010101010
b 1100100110
c1 1010100011
c2 1001110100
d 1000011110

;End;

BEGIN PHYLONET;
MCMC_BiMarkers -cl 500000 -bl 200000 -sf 500 -diploid -dominant 1 -op -varytheta -pp 2.0 -ee 2.0 -mr 1 -pl 4 -esptheta -ptheta 0.3
-sd 12345678

-taxa (a,b,c1,c2,d)
-tm <A:a; B:b;C:c1,c2;D:d>;

END;

 

Note that an empty line should be left after "Matrix".

This command will run MCMC chain of 500000 iterations with 200000 burn-in iterations, and one sample will be collected every 500 iterations. The taxa are diploids and 1 is the dominant marker. Only polymorphic sites will be used. We will estimate population mutation rates for every branches, and they may be different. A Poisson prior of 2.0 will be adopted, and a Exponential(2.0) prior will be adopted. The number of reticulation nodes is limited to 1. We will sample the mean value of prior of population mutation rates, and the starting value of 0.3 is given. We use the random seed of 12345678. In the end, we indicate the mapping from taxa to species.

  • No labels