Skip to content

Complete analysis workflows and add mixed morphology/DNA - #122

Merged
rafaelaugustos merged 8 commits into
mainfrom
mixed-morphology-dna
Nov 3, 2026
Merged

rafaelaugustos merged 8 commits into
mainfrom
mixed-morphology-dna

Conversation

@rafaelaugustos

@rafaelaugustos rafaelaugustos commented Nov 3, 2026 •

Copy link
Copy Markdown
Collaborator

This PR targets main and delivers the remaining six-workflow implementation tracked by #113. #114 is already in main; #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 into main.

Included changes:

A combined morphology/DNA input now preserves two typed sources instead of applying one alphabet or ascertainment model to both. rove combine and 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.

@rafaelaugustos rafaelaugustos changed the title Combine morphology and DNA with explicit sources and relative rates Complete analysis workflows and add mixed morphology/DNA Nov 3, 2026
@rafaelaugustos
rafaelaugustos changed the base branch from dna-jc69 to main November 3, 2026 19:02
@rafaelaugustos
rafaelaugustos merged commit a31ceef into main Nov 3, 2026
6 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment