Repository navigation
Complete analysis workflows and add mixed morphology/DNA - #122
Merged
Merged
Conversation
6 tasks done
This was referenced Nov 5, 2026
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
This PR targets
mainand delivers the remaining six-workflow implementation tracked by #113. #114 is already inmain; #115, #116, #117, #118 and #120 were merged into intermediate branches, so their reviewed changes are included here. DNA is reviewed separately in #121. Merge this integration PR to bring the complete set intomain.Included changes:
A combined morphology/DNA input now preserves two typed sources instead of applying one alphabet or ascertainment model to both.
rove combineand the Mac app create a self-contained, fingerprinted manifest, match normalized taxon names, and require an explicit policy for absent taxa. Imports preserve state labels, ordering, ambiguity and source provenance.Morphology uses its selected Mk/ordered and ascertainment model; DNA uses unconditioned JC69 with all four states and constant sites. Both share topology, branch clock and gamma shape. DNA fixes the reference rate at one; users explicitly fix the morphology/DNA ratio or estimate it under a normalized lognormal prior. The live ratio, density, proposal and model identity survive traces, checkpoints, saved setups, Review/History, CLI import, comparisons, predictive checks and marginal estimation. Original-input export consent includes embedded source copies. English/Portuguese native controls and all four documentation languages ship together.
Validation: 36 BEAST.base 2.7.8 + MM 1.2.1 fixed states (Mk/Mkv/Mkparsinf, 1/4 categories, three rate ratios); independent partition sums; normalized-prior quadrature and stationary sampling; multistate/ordered/labeled alphabets; masks, constraints and cache recomputation; exact fixed/estimated replay with one/four chains; CLI failure and export-privacy cases; native creation/save/import, strict/relaxed/Yule and FBD pause/resume, prediction, marginal estimates and export; EN/PT previews; homogeneous regressions; clippy, documentation build and native parity.
The fixed-state tolerance is 1e-7 including independent gamma-quantile approximations. Prediction still rejects ambiguous/polymorphic observations without an observation model. Independent block clocks, separate gamma shapes and HKY/GTR are not offered. No comparative performance work or convergence claims.
Closes #109. Closes #110. Closes #96. Closes #111. Closes #112. Closes #119. Closes #113. #108 was addressed in #114. #97 retains its separately deferred posterior/performance studies; #83 remains experimental and in draft. No self-merge or release publication is part of this work.