GithubHelp home page GithubHelp logo

niconeureiter / contactrees Goto Github PK

View Code? Open in Web Editor NEW
5.0 5.0 5.0 11.99 MB

BEAST 2 package for inferring ancestral conversion graphs for language phylogenetics

License: GNU General Public License v3.0

Java 99.84% ANTLR 0.16%

contactrees's People

Contributors

niconeureiter avatar rbouckaert avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar

contactrees's Issues

Project uses GPL 3 code but doesn't state the license

Hi Nico :)

Well done on this package and the publication! I just noticed however that you haven't explicitly noted the license under which this package is released. Given that it directly uses GPL 3 code from Bacter, I believe contacTrees should be similarly licensed.

Thank you!

Tim

Missing `contactrees.operators` and `featureLikelihood:bantu-vocabulary` in walkthrough

In some parts of the walkthrough given in starting-with-beastling, there is a contactrees.operators missing that is present in the final xml-file bantu-contactrees.xml.

<operator id="GibbsSampleMovesPerConversion.t" spec="contactrees.operators.GibbsSampleMovesPerConversion"

As well as in all operators at the end of the xml file:
<distribution id="ConvMovePrior" spec="ConversionMovePrior" network="@Tree.t:beastlingTree" pMove="@pMove">

should be

<distribution id="ConvMovePrior" spec="contactrees.model.ConversionMovePrior" network="@Tree.t:beastlingTree" pMove="@pMove">

Also the operators need another specification of their likelihood.

Currently: treeLikelihood.$(concept)

should be

featureLikelihood:bantu-vocabulary:$(concept)

Fatal exception: Negative branch length

I am currently trying to reproduce the example and to apply the procedure to my own data. In both cases however, both when running bantu-contactrees.xml and with the xml of my own data, I receive the following error message:

         Sample ESS(posterior)          prior     likelihood      posterior
              0              N       -25.9378   -198254.1509   -198280.0887 --
java.lang.RuntimeException: Negative branch length: -1.389820202614457
	at beast.evolution.likelihood.BeagleTreeLikelihood.traverse(Unknown Source)
	at beast.evolution.likelihood.BeagleTreeLikelihood.calculateLogP(Unknown Source)
	at beast.evolution.likelihood.TreeLikelihood.calculateLogP(Unknown Source)
	at beast.core.util.CompoundDistribution.calculateLogP(Unknown Source)
	at beast.core.util.CompoundDistribution.calculateLogP(Unknown Source)
	at beast.core.MCMC.propagateState(Unknown Source)
	at beast.core.MCMC.doLoop(Unknown Source)
	at beast.core.MCMC.run(Unknown Source)
	at beast.app.BeastMCMC.run(Unknown Source)
	at beast.app.beastapp.BeastMain.<init>(Unknown Source)
	at beast.app.beastapp.BeastMain.main(Unknown Source)
	at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
	at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62)
	at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
	at java.lang.reflect.Method.invoke(Method.java:498)Fatal exception: Negative branch length: -1.389820202614457

	at beast.app.beastapp.BeastLauncher.run(Unknown Source)
	at beast.app.beastapp.BeastLauncher.main(Unknown Source)
Fatal exception: Negative branch length: -1.389820202614457

BEAST has terminated with an error. Please select QUIT from the menu.

This is with Beast version v.2.6.7

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.