Directory src/dr/evomodel/branchratemodel/

Total Files:
20
Deleted Files:
5
Lines of Code:
1690

[root]/src/dr/evomodel/branchratemodel

Lines of Code

src/dr/evomodel/branchratemodel/ Lines of Code

Developers

Author Changes Lines of Code Lines per Change
Totals 226 (100.0%) 6232 (100.0%) 27.5
rambaut 89 (39.4%) 2244 (36.0%) 25.2
alexei.drummond 61 (27.0%) 1997 (32.0%) 32.7
Sibon.Li@gmail.com 7 (3.1%) 819 (13.1%) 117.0
msuchard 26 (11.5%) 784 (12.6%) 30.1
alexander.alekseyenko 2 (0.9%) 153 (2.5%) 76.5
dong.w.xie 14 (6.2%) 83 (1.3%) 5.9
tbcbedford@gmail.com 3 (1.3%) 63 (1.0%) 21.0
jheled 20 (8.8%) 61 (1.0%) 3.0
Michael.DefoinPLatel 2 (0.9%) 27 (0.4%) 13.5
sibon.li 2 (0.9%) 1 (0.0%) 0.5

Most Recent Commits

tbcbedford@gmail.com 2013-05-01 06:26 Rev.: 5623

Small correction, not working yet.

5 lines of code changed in 2 files:

  • src/dr/evomodel/branchratemodel: DiscreteTraitBranchRateModel.java (new)
tbcbedford@gmail.com 2013-05-01 05:35 Rev.: 5622

My attempt to get discreteTraitBranchRateModel working. It's almost there. However, the function:
int state = ((int[])trait.getTrait(tree, node))[traitIndex];
on line 386 is causing problems.

If getProcessValues is forced to an array of {1.0, 1.0} in getRawBranchRate then the MCMC proceeds as expected. However, if the return value of getProcessValues is set to {1.0, 1.0} then the problem persists.

58 lines of code changed in 1 file:

  • src/dr/evomodel/branchratemodel: DiscreteTraitBranchRateModel.java (+58 -42)
rambaut 2013-04-18 23:15 Rev.: 5598

DiscreteTraitBranchRateModel parser tweaks.

36 lines of code changed in 1 file:

  • src/dr/evomodel/branchratemodel: DiscreteTraitBranchRateModel.java (+36 -3)
rambaut 2013-03-30 10:00 Rev.: 5555

Caching of rates doesn't seem to work with multiple partitions so turning it off now. The lazy computation of these (which does work) should prevent large overheads of computing these repeatedly at operator time (which was considerable when using gamma distributions due to the numerical quantile finding).

32 lines of code changed in 2 files:

  • src/dr/evomodel/branchratemodel: DiscretizedBranchRates.java (+32 -37)
rambaut 2013-03-14 00:00 Rev.: 5482

Created an 'AttributeBranchRateModel' which exposes an attribute embedded in a tree as a branch rate model.

73 lines of code changed in 1 file:

  • src/dr/evomodel/branchratemodel: AttributeBranchRateModel.java (new 73)
rambaut 2013-03-13 08:37 Rev.: 5480

Added caching of quantiles of rate categories and lazy computation (to avoid repeated computation of these).

22 lines of code changed in 1 file:

  • src/dr/evomodel/branchratemodel: DiscretizedBranchRates.java (+22 -9)
Sibon.Li@gmail.com 2012-10-25 15:23 Rev.: 5207

RandomDiscretizedBranchRates has been renamed to the more meaningful ContinuousBranchRates. RandomDiscretizedBranchRatesParser has been kept and throws an error in the unlikely case that someone actually has been using this implementation.

244 lines of code changed in 2 files:

  • src/dr/evomodel/branchratemodel: ContinuousBranchRates.java (new 244), RandomDiscretizedBranchRates.java (del)
msuchard 2012-09-12 10:01 Rev.: 5153

Added skew-normal distribution model

17 lines of code changed in 2 files:

  • src/dr/evomodel/branchratemodel: ArbitraryBranchRates.java (+17 -7)
msuchard 2012-05-15 01:24 Rev.: 4955

Introduced a trial TreeParameterModel that excludes external branches; created a new branch-specific Pagel estimator

8 lines of code changed in 1 file:

  • src/dr/evomodel/branchratemodel: ArbitraryBranchRates.java (+8 -9)
rambaut 2012-04-21 00:32 Rev.: 4928

Fixed an issue with local clocks not propogating rates down the entire clade.

1 lines of code changed in 2 files:

  • src/dr/evomodel/branchratemodel: LocalClockModel.java (+1 -1)
rambaut 2012-02-27 23:38 Rev.: 4735

Fixed caching on DTBRM

62 lines of code changed in 1 file:

  • src/dr/evomodel/branchratemodel: DiscreteTraitBranchRateModel.java (+62 -64)
rambaut 2012-02-18 06:23 Rev.: 4707

Debugging DTBRM

10 lines of code changed in 1 file:

  • src/dr/evomodel/branchratemodel: DiscreteTraitBranchRateModel.java (+10 -12)
rambaut 2011-11-16 00:45 Rev.: 4429

Made BranchRateModel a TreeTraitProvider so it can be logged more easily. Also added feature to TreeLoggerParser where a tree trait can be specified (with a special tag).

19 lines of code changed in 6 files:

  • src/dr/evomodel/branchratemodel: AbstractBranchRateModel.java (+9 -2), BranchRateModel.java (+1 -1), DefaultBranchRateModel.java (new)
rambaut 2011-11-11 23:58 Rev.: 4415

DiscreteTraitBranchRateModel with Markov rewards

22 lines of code changed in 1 file:

  • src/dr/evomodel/branchratemodel: DiscreteTraitBranchRateModel.java (+22 -1)
rambaut 2011-11-01 05:07 Rev.: 4376

Additions to the comments.

4 lines of code changed in 1 file:

  • src/dr/evomodel/branchratemodel: DiscreteTraitBranchRateModel.java (+4 -1)
sibon.li 2011-06-21 12:46 Rev.: 4053

Transferring my changes from branch 1.6 to trunk:

Changes to LogNormalDistributionModel to allow for the stdev value to also not
be in log space (r3774)
Changes to UncorrelatedRelaxedClockTest due to changes in
LogNormalDistributionModel in r3774 (r3775)
Minor change in MixtureModelBranchRates to fix an issue caused by changes in
revision 3735 (r3773)
Bug fix for AncestralSequenceAnnotator plus added a window to select
input/output files (r3819)
Fixed spelling for GeneralSubstitutionModelTest (r3833)
Fixed a RuntimeException for AncestralStateTreeLikelihood (r3957)

1 lines of code changed in 2 files:

  • src/dr/evomodel/branchratemodel: MixtureModelBranchRates.java (+1 -1)
msuchard 2011-05-09 09:29 Rev.: 3972

Re-implemented logging of random local clock indicators in tree log files; this ability was lost when we converted over to tree traits.

2 lines of code changed in 2 files:

  • src/dr/evomodel/branchratemodel: RandomLocalClockModel.java (+2 -2)
rambaut 2011-02-09 05:17 Rev.: 3791

Fixed a few issues with TreeEvents being fired inappropriately. Also updates to AntigenicTreeLikelihood.

1 lines of code changed in 1 file:

  • src/dr/evomodel/branchratemodel: ArbitraryBranchRates.java (+1 -1)
rambaut 2010-12-17 10:49 Rev.: 3760

A specific external/internal rate model to test an idea.

130 lines of code changed in 1 file:

  • src/dr/evomodel/branchratemodel: PassageBranchRateModel.java (new 130)
alexei.drummond 2010-10-08 10:23 Rev.: 3611

Removed System.out.println's from DiscretizedBranchRates

10 lines of code changed in 1 file:

  • src/dr/evomodel/branchratemodel: DiscretizedBranchRates.java (+10 -6)
dong.w.xie 2010-08-27 15:49 Rev.: 3464

Trunk: solve Issue 341: Random local clock model Bug

8 lines of code changed in 1 file:

  • src/dr/evomodel/branchratemodel: RandomLocalClockModel.java (+8 -3)
msuchard 2010-07-14 09:00 Rev.: 3309

Cleaning up dN/dS summary statistics and adding TreeTraits for flu backbone

4 lines of code changed in 1 file:

  • src/dr/evomodel/branchratemodel: LocalClockModel.java (+4 -39)
msuchard 2010-07-12 20:07 Rev.: 3301

Branch rate models can now return a logDensity so that they may include the correct normalization constants.

22 lines of code changed in 2 files:

  • src/dr/evomodel/branchratemodel: AbstractBranchRateModel.java (+13 -1), DiscretizedBranchRates.java (+9)
dong.w.xie 2010-07-08 11:08 Rev.: 3300

TRUNK: solve Issue 325: processValues[] in DiscreteTraitBranchRateModel should be the size of number of states NOT number of rates

29 lines of code changed in 1 file:

  • src/dr/evomodel/branchratemodel: DiscreteTraitBranchRateModel.java (+29 -12)
msuchard 2010-06-17 10:45 Rev.: 3273

Critical fix: branch rates now print out in tree log under new TreeTrait framework. Also starting to remove duplicated code from classes needing to output different combinations of TreeTrait summaries

8 lines of code changed in 2 files:

  • src/dr/evomodel/branchratemodel: AbstractBranchRateModel.java (+4), DefaultBranchRateModel.java (+4)
msuchard 2010-06-15 08:26 Rev.: 3268

Fixed store/restore of subordinated process for Uniformization; also fixed reward process for Uniformization

0 lines of code changed in 1 file:

  • src/dr/evomodel/branchratemodel: DiscreteTraitBranchRateModel.java (-3)
msuchard 2010-06-15 06:49 Rev.: 3267

Tweaks for checking store/restore with ancestral states and Markov processes; I still do not understand why saving the ancestral states is unnecessary.

1 lines of code changed in 1 file:

  • src/dr/evomodel/branchratemodel: DiscreteTraitBranchRateModel.java (+1 -1)
msuchard 2010-06-14 14:20 Rev.: 3264

DiscreteTraitBranchRateModel now works again for ancestral state reconstructions. Something is still wrong with AncestralStateBeagleTreeLikelihood however.

34 lines of code changed in 1 file:

  • src/dr/evomodel/branchratemodel: DiscreteTraitBranchRateModel.java (+34 -29)
rambaut 2010-06-13 23:31 Rev.: 3262

Added a 'backbone' local clock to LocalClockModel (sorry it took so long Philippe).

56 lines of code changed in 1 file:

  • src/dr/evomodel/branchratemodel: LocalClockModel.java (+56 -21)
rambaut 2010-06-13 03:10 Rev.: 3257

Trying a reparameterization of DTBRM

1 lines of code changed in 1 file:

  • src/dr/evomodel/branchratemodel: DiscreteTraitBranchRateModel.java (+1 -1)
rambaut 2010-06-13 03:05 Rev.: 3256

Additional work on DiscreteTraitBranchRateModel - adding an indicator parameter to provide link between state and rate.

11 lines of code changed in 1 file:

  • src/dr/evomodel/branchratemodel: DiscreteTraitBranchRateModel.java (+11 -11)
rambaut 2010-06-12 22:52 Rev.: 3255

Trying a reparameterization of DTBRM

44 lines of code changed in 1 file:

  • src/dr/evomodel/branchratemodel: DiscreteTraitBranchRateModel.java (+44 -22)
rambaut 2010-06-12 22:09 Rev.: 3254

Additional work on DiscreteTraitBranchRateModel - adding an indicator parameter to provide link between state and rate.

31 lines of code changed in 1 file:

  • src/dr/evomodel/branchratemodel: DiscreteTraitBranchRateModel.java (+31 -8)
rambaut 2010-06-08 04:20 Rev.: 3237

A few tweaks

3 lines of code changed in 1 file:

  • src/dr/evomodel/branchratemodel: DiscreteTraitBranchRateModel.java (+3 -3)
rambaut 2010-06-07 23:59 Rev.: 3236

Normalized the naming of a few classes and added a note in the MCMC parser to say if the fullEvaluation has been turned off.

269 lines of code changed in 2 files:

  • src/dr/evomodel/branchratemodel: DiscreteTraitBranchRateModel.java (+269), DiscreteTraitRateModel.java (del)
rambaut 2010-06-07 23:07 Rev.: 3235

Simplified TreeTrait interface to remove explicit dimensionality. If multidimensional traits are required then it needs to use double[] as the type.

49 lines of code changed in 3 files:

  • src/dr/evomodel/branchratemodel: AbstractBranchRateModel.java (+4 -8), DefaultBranchRateModel.java (+4 -4), DiscreteTraitRateModel.java (new 41)
rambaut 2010-06-05 03:38 Rev.: 3225

Started to get DiscreteTraitRateModel working with dwell time from a MJBTL.

6 lines of code changed in 1 file:

  • src/dr/evomodel/branchratemodel: DiscreteTraitRateModel.java (+6 -6)
rambaut 2010-06-03 01:10 Rev.: 3218

I have abandoned dr.app.beagle.evomodel.branchratemodel.MarkovJumpsBranchRateModel and integrated that functionality into DiscreteTraitRateModel. This latter class now takes a TreeTrait which is either of the Integer type in which case it is assumed to be a node reconstruction of the state or a 'double[]' type in which case it is assumed to be a vector of dwell times for each state for each branch. I have also left the option of a parsimony reconstruction. I have also restructured things so that everything is done as dwell times - the node reconstruction variants (both likelihood and parsimony) just assume a state transition mid point on the branch. I have tried to average the parsimony variant across ambiguous state reconstructions at the nodes but I am not sure that this is a good idea (but then probably the same could be said for the whole parsimony approximation).

126 lines of code changed in 1 file:

  • src/dr/evomodel/branchratemodel: DiscreteTraitRateModel.java (+126 -41)
rambaut 2010-06-02 22:53 Rev.: 3215

TreeTraits commit number 2. This one is a bit more wide ranging with potential to break things. 1) BranchAttributeProvider and NodeAttributeProvider have been deleted and replaced with a combination of TreeTraits and TreeTraitProviders. Sources implement TreeTraitProvider to say that they can provide information about nodes and branches. A good example of a class which has been generalized is AncestralState (in evomodel.treelikelihood) - this now just takes a TreeTrait and logs the trait for a given MRCA (the trait can be anything at all - whereas previously it took an AncestralStateTreeLikelihood).

2 lines of code changed in 2 files:

  • src/dr/evomodel/branchratemodel: BranchRateModel.java (+2 -2), RandomLocalClockModel.java (-1)
rambaut 2010-06-02 00:12 Rev.: 3207

This update does a number of things. 1) TreeLoggerParser and DemographicLoggerParser were in dr.inferencexml which breaks the dependency rules as they link to things in dr.evomodel. These are now moved to dr.evomodelxml. 2) A dr.evolution.tree.TreeTrait interface is created which is a general purpose interface for access to traits on nodes/branches. BranchAttributeProvider and NodeAttributeProvider will be replaced by this interface in the next update. 3) All BranchRateModels now have a common abstract base class AbstractBranchRateModel to implement their common features (these now implement TreeTrait to provide rates).

331 lines of code changed in 27 files:

  • src/dr/evomodel/branchratemodel: AbstractBranchRateModel.java (+68), ArbitraryBranchRates.java (+2 -10), BranchRateModel.java (+4 -5), ColouredTreeRateModel.java (del), CompoundBranchRateModel.java (new), ContinuousEpochBranchRateModel.java (new), ContinuousTraitBranchRateModel.java (new 143), DecayingRateModel.java (new), DefaultBranchRateModel.java (+24 -9), DiscreteTraitRateModel.java (+3 -15), DiscretizedBranchRates.java (+1 -9), LocalClockModel.java (+2 -10), MixtureModelBranchRates.java (+1 -9), RandomDiscretizedBranchRates.java (new 2), RandomLocalClockModel.java (+19 -25), RateEpochBranchRateModel.java (+3 -11), ScaledTreeLengthRateModel.java (new), StrictClockBranchRates.java (+2 -9), TipBranchRateModel.java (+2 -11), TraitBranchRateModel.java (del)

(74 more)

Generated by StatSVN 0.7.0