Giter Site home page Giter Site logo

flc's People

Contributors

4ment avatar walterxie avatar

Stargazers

 avatar  avatar

Watchers

 avatar  avatar  avatar

Forkers

walterxie tay-j

flc's Issues

Adding an external package repository

Hi Mathieu, just in case you weren't aware: you can create your own external package file, host it somewhere (eg github pages) and tell potential users to add its url via the "manage external repositories" button in the beauti package manager. Your package (and any updates you make) will then be automatically available for download using the package manager, meaning that people can avoid having to do the installation by hand.

implementing the FLC

PCG4.BEAST2FLC.pdf

Hi Mathieu,

Would you be able to help me implement your FLC package. I have successfully run it through BEAST but the output tree is suggesting I've done something wrong. I'm trying to set one rate across the whole tree except for one clade which has a much higher rate of evolution (labelled in red). Instead its giving me lots of short terminal branches and very long branches closer to the root. It seems as if it is giving me two rates, one for terminal branches and one closer to the root. Can you let me know if you can think of anything that would help. I've emailed you my XML file.

Cheers,
Toby

NullPointerException during initialization for UCRelaxedCladeClockModel

java.lang.NullPointerException
	at mf.beast.evolution.branchratemodel.UCRelaxedCladeClockModel.setUpMap(Unknown Source)
	at mf.beast.evolution.branchratemodel.UCRelaxedCladeClockModel.initAndValidate(Unknown Source)
	at beast.util.XMLParser.initBEASTObjects(Unknown Source)
	at beast.util.XMLParser.parse(Unknown Source)
	at beast.util.XMLParser.parseFile(Unknown Source)
	at beast.app.BeastMCMC.parseArgs(Unknown Source)
	at beast.app.beastapp.BeastMain.main(Unknown Source)

Error 110 parsing the xml input file

validate and intialize error: null

Error detected about here:
  <beast>
      <run id='mcmc' spec='MCMC'>
          <distribution id='posterior' spec='util.CompoundDistribution'>
              <distribution id='likelihood' spec='util.CompoundDistribution'>
                  <distribution id='treeLikelihood.methylations' spec='TreeLikelihood'>
                      <branchRateModel id='branchRates' spec='mf.beast.evolution.branchratemodel.FlexibleLocalClockModel'>
                          <cladeClockModel id='rate.clade' spec='mf.beast.evolution.branchratemodel.UCRelaxedCladeClockModel'>

The difference (from what I understand) seems to be in setUpMap between UCRelaxedCladeClockModel and UCRelaxedMultiCladeClockModel.

In Clade model, the SetUpMap first goes into the leaf nodes and then increments BranchCladeCount. In MultiClade model, it does this in opposite way, which while it makes a little less sense to me, it works.

Well, kind of. With MultiCladeModel I get:

AbstractUCRelaxedClockModel: rate.clade using 0 rate categories to approximate rate distribution across branches.
Failed to load BEAGLE library: no hmsbeagle-jni in java.library.path
TreeLikelihood(treeLikelihood.methylations) uses BeerLikelihoodCore
  FilteredAlignment(bin.methylations): [taxa, patterns, sites] = [22, 643, 18705]
WARNING: the dimension of the parameter is 1 at the start of the run.
         The operator FixMeanMutationRatesOperator has no effect (if this does not change).
java.lang.IllegalArgumentException: howMany it too large: must be less than half the dimension of the parameter
	at beast.evolution.operators.SwapOperator.initAndValidate(Unknown Source)
	at beast.util.XMLParser.initBEASTObjects(Unknown Source)
	at beast.util.XMLParser.parse(Unknown Source)
	at beast.util.XMLParser.parseFile(Unknown Source)
	at beast.app.BeastMCMC.parseArgs(Unknown Source)
	at beast.app.beastapp.BeastMain.main(Unknown Source)

Error 110 parsing the xml input file

validate and intialize error: howMany it too large: must be less than half the dimension of the parameter

Error detected about here:
  <beast>
      <run id='mcmc' spec='MCMC'>
          <operator id='CategoriesSwapOperator.clade' spec='SwapOperator'>

Strangely, code runs when the created monophyletic taxon includes taxa in the same order as they are included in the alignment, starting from first taxa. Which might point to something, however the example file runs fine and doesn't have this pattern.

Did I misspecified something?

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.