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

Compare with Current View Page History

Version 1 Next »

Description

  • Black box variational inference of evolutionary parameters (node heights and population sizes of each internal node and internal branch) on a species tree under the coalescent with recombination. The data is sequence alignment of recombinant DNA. We estimate node heights in unit of generations and population sizes in unit of individuals. We estimate the mean and standard deviation of the posterior of each parameter.
  • We use BEAGLE, a high-performance library to calculate the "Felsenstein Likelihood". Full details of installation instructions can be found here, always follow "Installing from source".

Usage

 

VI_coalHMM -st startingTree -mu mutationRate -rho recombinationRate -r crossoverRate -nb numSubBranch [-nhsigma nodeHeightInitialSigma] [-pssigma popSizeInitialSigma] [-psp popSizePrior] [-n0 N0ForMS] [-ns samplePerIter] [-niter numIter] [-nhmeanlr nodeHeightMeanLearningRate] [-psmeanlr popSizeMeanLearningRate] [-nhsigmalr nodeHeightSigmaLearningRate] [-pssigmalr popSizeSigmaLearningRate] [-nhsigmamin nodeHeightSigmaMinimum] [-pssigmamin popSizeSigmaMinimum]

 

 

Starting State Settings
-st startingTree

Specify the starting tree topology and node heights. The input tree should be ultrametric with branch lengths in units of generations. For example, ((H:160000, C:160000):60000, G:220000); species a three-taxon tree with an internal node height of 160,000 generations and root node height of 220,000 generations. See the example below.

mandatory

-mu mutationRate

The mutation rate in unit of expected number of mutations per site per generation. For example, 2.5e-8.

mandatory

-rho recombinationRate

The recombination rate in unit of expected number of recombinations per site per generation. For example, 1.5e-8.

mandatory

-nhsigma nodeHeightInitialSigma

The starting standard deviation of the variational posterior of each node height. The default value is 20,000.

optional

-pssigma popSizeInitialSigma

The starting standard deviation of the variational posterior of each population size. The default value is 10,000.

optional
Prior Settings
-psp popSizePrior

Mean value of the prior of population sizes. The default value is 50,000.

optional
Likelihood Simulator Settings
-n0 N0ForMS

N0 for ms. The default value is 10,000. For details see ms documentation (subsection "Two species with population size differences" in section "Some examples") and our paper.

optional
-r crossoverRate

The cross-over rate that determines the length of simulation for building coalHMM. For details see ms documentation ("Crossing over") and our paper. Can use 1,000 as a starting point.

mandatory
-nb numSubBranchThe number of sub-branches on each internal branch of the species tree for refining coalHMM state space. For details see our paper. Can use 2 as a starting point.mandatory
BBVI Settings
-ns samplePerIterThe number of samples per iteration of BBVI for estimating gradient. The default value is 50.

optional

-niter numIterThe number of iterations of BBVI. The default value is 200.optional
-nhmeanlr nodeHeightMeanLearningRateLearning rate for the mean parameter of the variational posterior of node heights. The default value is 20,000.optional
-psmeanlr popSizeMeanLearningRateLearning rate for the mean parameter of the variational posterior of population sizes. The default value is 10,000.optional
   
   
   
   
Starting State Settings
-sgtSpecify the starting gene trees for each locus. Comma delimited list of gene tree identifiers. See details. The gene trees should be ultrametric trees with coalescent times in units of expected number of mutations per site. See example below. The default starting gene trees are UPGMA trees.optional
-snetSpecify the starting network. The input network should be ultrametric with divergence times in units of expected number of mutations per site, inheritance probabilities and population sizes in units of population mutation rate (optional). See example below. The default starting network is the MDC trees given starting gene trees.optional
-spsSpecify the starting population size. The default value is 0.036. See example below.optional
-preSpecify the number of iterations for pre burn-in, e.g. "-pre 20" means 20x sampleFrequency iterations will be run before the MCMC chain starts. By default, we run 10x sampleFrequency iterations for pre burn-in. optional

Substitution Model

-gtr paramListSet GTR (general time-reversible) as the substitution model. The first four parameters in the list represent base frequencies for A, C, G, T. The rest six parameters represent transition probabilities for A>C, A>G, A>T, C>G, C>T and G>T. The default substitution model is JC69 model.optional
Phasing
-diploid diploidSpeciesListIntegrates over all possible phasings of heterozygous genotypes when computing likelihoods [2] given diploid species list. For example, a list of (Scer, Spar) indicates species Scer and Spar will be treated as diploid species in likelihood computation. See Section S4 in G-PhoCS manual for full details. By default we assume the sequences come from haploid species, or the sequences are randomly phased. Note that the substitution model is set to JC69 (fixed).optional
  • No labels