https://github.com/compevol/sampled-ancestors

This BEAST2 package provides MCMC proposals and post-processing tools for sampling trees containing sampled ancestors

https://github.com/compevol/sampled-ancestors

Science Score: 39.0%

This score indicates how likely this project is to be science-related based on various indicators:

  • CITATION.cff file
  • codemeta.json file
    Found codemeta.json file
  • .zenodo.json file
    Found .zenodo.json file
  • DOI references
    Found 2 DOI reference(s) in README
  • Academic publication links
  • Academic email domains
  • Institutional organization owner
  • JOSS paper metadata
  • Scientific vocabulary similarity
    Low similarity (14.4%) to scientific vocabulary

Keywords

bayesian-inference beast2 java mcmc
Last synced: 5 months ago · JSON representation

Repository

This BEAST2 package provides MCMC proposals and post-processing tools for sampling trees containing sampled ancestors

Basic Info
  • Host: GitHub
  • Owner: CompEvol
  • License: gpl-3.0
  • Language: Java
  • Default Branch: master
  • Homepage:
  • Size: 4.5 MB
Statistics
  • Stars: 8
  • Watchers: 15
  • Forks: 12
  • Open Issues: 9
  • Releases: 10
Topics
bayesian-inference beast2 java mcmc
Created over 11 years ago · Last pushed 7 months ago
Metadata Files
Readme License

README.md

sampled-ancestors

Build Status

This BEAST 2 package provides MCMC proposals and post-processing tools for samples of trees containing sampled ancestors. It relies on the support for sampled-ancestor trees built into the beast.evolution.tree.Tree class (https://github.com/CompEvol/beast2/blob/master/src/beast/evolution/tree/Tree.java).

This archive contains the source code of the package and is therefore of primary interest to programmers.

The paper describing this package is:

Alexandra Gavryushkina, David Welch, Tanja Stadler, Alexei J. Drummond (2014) Bayesian Inference of Sampled Ancestor Trees for Epidemiology and Fossil Calibration. PLoS Computational Biology https://doi.org/10.1371/journal.pcbi.1003919

Currently the sampled-ancestors package uses beast.* Java package namespace, which is now deprecated because the beast.* package namespace is reserved for the beast2 core (https://github.com/CompEvol/beast2).

Building package from source

To build this package from source, ensure you have the following installed:

  • OpenJDK version 17 or greater
  • A recent version of OpenJFX
  • The Apache Ant build system
  • An internet connection The internet connection is required since the build script downloads the most recent version of the BEAST 2 source to build the package against.

Assuming both Java and Ant are on your execution path and your current working directory is the root of directory this archive, simply type

sh JAVA_FX_HOME=/path/to/openjfx/ ant

from the command line to build the package. This may take up to a minute due to the script fetching the BEAST source, and the resulting binary will be left in the /dist directory.

To run the unit tests, use "ant test".

Archive Contents

  • README.md : this file
  • build.xml : Ant build script
  • /doc : Contains additional documentation, currently a tutorial for using fossilized birth-death tree prior.
  • /examples : Example analyses in beast2 xml format. See below for details.
  • /src : source files. See below for details.
  • /test : unit tests
  • /templates : BEAUti templates. See below for details.
  • version.xml : BEAST package version file.

The main Java packages and folders in the sampled-ancestors BEAST2 package are:

beast.app.simulators

Contains simulators for the fossilized birth-death (FBD) model and FBD-skyline model.

beast.app.tools

  • Contains conversion tools between zero-branch-length sampled-ancestor trees and native sampled-ancestor trees
  • Contains SATreeTraceAnalysis and various other post-processing tools and support

beast.evolution.operators

  • Contains the operators that permit MCMC on sampled-ancestor trees

beast.evolution.speciation

Contains SpeciesTreeDistribution calculations for the FBD prior:

  • SABirthDeathModel - A species tree probability density of FBD prior with multiple hard-coded parameterizations possible.
  • ParameterizedSABirthDeathModel - A species tree probability density with multiple parameterizations implemented in an object-oriented way.

templates

Contains a template called FBD.xml which provides a template for SABirthDeathModel and sampled-ancestor tree operators.

License

This software is free (as in freedom). You are welcome to use it, modify it, and distribute your modified versions provided you extend the same courtesy to users of your modified version. Specifically, it is made available under the terms of the GNU General Public License version 3.

Acknowledgements

Work on this project was supported by:

Owner

  • Name: Computational Evolution Group
  • Login: CompEvol
  • Kind: organization
  • Location: University of Auckland, Auckland, New Zealand

GitHub Events

Total
  • Watch event: 1
  • Issue comment event: 1
  • Push event: 7
  • Pull request event: 5
  • Fork event: 1
Last Year
  • Watch event: 1
  • Issue comment event: 1
  • Push event: 7
  • Pull request event: 5
  • Fork event: 1

Dependencies

.github/workflows/main.yml actions
  • actions/checkout v2 composite
Dockerfile docker
  • openjdk 10 build