Skip to content

Wire up BEAST X dependency and add JC69 tile#38

Open
alexeid wants to merge 1 commit into
beastx-parserfrom
beastx-parser-deps-and-jc69
Open

Wire up BEAST X dependency and add JC69 tile#38
alexeid wants to merge 1 commit into
beastx-parserfrom
beastx-parser-deps-and-jc69

Conversation

@alexeid

@alexeid alexeid commented May 5, 2026

Copy link
Copy Markdown
Contributor

Summary

  • Adds install-beast-mcmc.sh + README that download the BEAST X v10.5.0 release tgz and register the bundled fat beast.jar as dr:beast-mcmc:10.5.0 in the local Maven repo. integrations/beastx/java/pom.xml now depends on that artifact.
  • Ports JC69Tile from the BEAST 2 integration. BEAST X has no dedicated JukesCantor class, so the tile builds HKY with kappa=1.0 and equal nucleotide frequencies. Registered in BeastXCoreTileLibrary.
  • Adds a JUnit test that calls JC69Tile.applyTile(...) and asserts on the resulting HKY — exercises the BEAST X classpath at runtime.

Test plan

  • Run ./integrations/beastx/install-beast-mcmc.sh on a fresh clone
  • mvn -pl integrations/beastx/java -am compile succeeds
  • mvn -pl integrations/beastx/java test -Dtest=JC69TileTest passes (2/2)

Notes

  • Base is beastx-parser, not main.
  • Pre-existing failures in phylospec-core RevConverterTest (The function nexus does not exist) on the beastx-parser branch block a top-level mvn test. Unrelated to this change but worth flagging.

Adds an install-beast-mcmc.sh helper that downloads the official BEAST X
v10.5.0 release tgz and registers the bundled fat beast.jar as
dr:beast-mcmc:10.5.0 in the local Maven repository, plus a README
documenting the one-time setup. The integrations/beastx/java pom now
declares this dependency.

Adds a first concrete tile, JC69Tile, mirroring the BEAST 2 pattern.
BEAST X has no dedicated JukesCantor class, so the tile builds an HKY
with kappa=1.0 and equal nucleotide frequencies, which is equivalent.
Registers the tile in BeastXCoreTileLibrary and adds a unit test
exercising the BEAST X classpath at runtime.
@alexeid alexeid requested a review from tochsner May 5, 2026 22:30
@tochsner

tochsner commented May 6, 2026

Copy link
Copy Markdown
Collaborator

Looks good to me, thank you!

@tochsner

tochsner commented May 6, 2026

Copy link
Copy Markdown
Collaborator

The failed tests are due to the fact that the Rev parser is not yet fully updated to 03-2026, so indeed unrelated to this.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants