Skip to content

BEAST2-Dev/BEASTLabs

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

737 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Build Status

BEASTLabs

BEAST utility library containing generally useful classes used by other BEAST packages.

Building

Requires Java 25 and Maven.

mvn compile

BEAST3 dependencies are resolved from GitHub Packages. You may need a GitHub personal access token configured in your ~/.m2/settings.xml:

<servers>
  <server>
    <id>github</id>
    <username>YOUR_GITHUB_USERNAME</username>
    <password>YOUR_GITHUB_TOKEN</password>
  </server>
</servers>

Module

JPMS module name: beast.labs

Key exports:

  • beastlabs.core.utilSlice, ParameterConstrainer
  • beastlabs.utilBEASTVector, Transform
  • beastlabs.math.distributionsBernoulliDistribution, WeightedDirichlet, WeibullDistribution
  • beastlabs.evolution.treeRNNIMetric, RobinsonsFouldMetric, MonophyleticConstraint
  • beastlabs.evolution.likelihoodExperimentalTreeLikelihood, MultiPartitionTreeLikelihood
  • beastlabs.evolution.operators — tree operators, CombinedOperator
  • beastlabs.parsimony — Fitch parsimony implementations

BEAST3 migration status

Branch: beast3

All 142 source files compile against beast3 (beast-base 2.8.0-SNAPSHOT).

Changes from BEAST2:

  • Maven multi-module build (was Ant)
  • JPMS module beast.labs with requires static for beast-fx/javafx
  • commons-math 2.x replaced with commons-statistics (immutable distribution API)
  • cern.colt.Arrays replaced with java.util.Arrays
  • org.json replaced with beast.base.internal.json
  • Nashorn scripting via standalone nashorn-core dependency (removed from JDK)

TODO:

  • Migrate tests from JUnit 4 to JUnit 5
  • Add CI workflow (GitHub Actions)
  • Add version.xml for BEAST package manager
  • Add release script

IntelliJ

It should look like this after following the developer guide https://github.com/CompEvol/beast3/blob/master/scripts/DevGuideIntelliJ.md

About

A package for BEAST 2 implementing generally useful stuff

Topics

Resources

License

Stars

Watchers

Forks

Packages

 
 
 

Contributors

Languages