Skip to content

v0.1.0-beta.36

Pre-release
Pre-release

Choose a tag to compare

@stevenweaver stevenweaver released this 14 Jul 19:21
· 102 commits to main since this release

Features

  • Add NRM (Non-Reversibility Model) analysis support — detects directional evolutionary pressure by testing for asymmetric substitution rates. Works in both execution modes:

    • Backend: via the existing nrm job handler and the hyphy-analyses NucleotideNonREV/NRM.bf batch file.
    • WASM: NRM.bf is a hyphy-analyses custom analysis not packed into the HyPhy WASM image, so it is vendored under static/hyphy-analyses/ and mounted into the WASM filesystem at runtime (all of its LoadFunctionLibrary dependencies are already present in the packed image). A new CUSTOM_ANALYSIS_BATCH_FILES registry makes adding future custom analyses a one-line change.

    Parameters: rate classes (1–10, default 1) and triple islands (Yes/No). (#93)

Tests

  • Add e2e/15-nrm-wasm.spec.js — runs NRM end-to-end in real browser WASM on a compact nucleotide fixture and asserts a parseable result JSON.

Full unit suite passes (245 tests); Fast E2E green.