Skip to content

feat: Add NRM (Non-Reversibility Model) analysis support#93

Open
stevenweaver wants to merge 2 commits into
mainfrom
feature/nrm-support
Open

feat: Add NRM (Non-Reversibility Model) analysis support#93
stevenweaver wants to merge 2 commits into
mainfrom
feature/nrm-support

Conversation

@stevenweaver
Copy link
Copy Markdown
Member

Summary

Implements full NRM (Non-Reversibility of the Evolutionary Process) analysis support across both WASM and backend execution modes.

Changes

  • ✅ Mark NRM as supported in MethodSelector with rate_classes and triple_islands parameters
  • ✅ Add comprehensive NRM configuration to methodOptions.toml
  • ✅ Implement NRM parameter mapping in BackendAnalysisRunner for server-side execution
  • ✅ Add NRM command mapping (NRM.bf) and result file handling in WasmAnalysisRunner
  • ✅ Add NRM visualization routing in AnalysisResultViewer (raw results display)
  • ✅ Add rate_classes parameter handler for WASM execution

Method Details

NRM detects directional evolutionary pressure by testing for asymmetric evolution where the rate of change from amino acid A to B differs significantly from B to A, indicating directional selection pressures.

Parameters

  • Rate classes: Number of rate classes (default: 1, range: 1-10)
  • Triple islands: Use triple islands for analysis (Yes/No, default: No)

Testing

  • Backend execution: Uses nrm:spawn socket event
  • WASM execution: Uses NRM.bf batch file, outputs to .NRM.json

🤖 Generated with Claude Code

Implement full NRM analysis support across both WASM and backend execution modes:

- Mark NRM as supported in MethodSelector with rate_classes and triple_islands parameters
- Add comprehensive NRM configuration to methodOptions.toml with all parameters
- Implement NRM parameter mapping in BackendAnalysisRunner for server-side execution
- Add NRM command mapping (NRM.bf) and result file handling in WasmAnalysisRunner
- Add NRM visualization routing in AnalysisResultViewer (raw results display)
- Add rate_classes parameter handler for WASM execution

NRM detects directional evolutionary pressure by testing for asymmetric evolution where
the rate of change from amino acid A to B differs significantly from B to A.

🤖 Generated with [Claude Code](https://claude.com/claude-code)

Co-Authored-By: Claude <noreply@anthropic.com>
@cloudflare-workers-and-pages
Copy link
Copy Markdown

cloudflare-workers-and-pages Bot commented Oct 13, 2025

Deploying alignment-validation with  Cloudflare Pages  Cloudflare Pages

Latest commit: e4606f1
Status: ✅  Deploy successful!
Preview URL: https://8ef680de.alignment-validation.pages.dev
Branch Preview URL: https://feature-nrm-support.alignment-validation.pages.dev

View logs

@cloudflare-workers-and-pages
Copy link
Copy Markdown

cloudflare-workers-and-pages Bot commented Oct 13, 2025

Deploying datamonkey3-storybook with  Cloudflare Pages  Cloudflare Pages

Latest commit: e4606f1
Status:🚫  Build failed.

View logs

Resolves conflicts to include both NRM and RELAX methods:
- methodOptions.toml: Added both [nrm] and [relax] configs
- MethodSelector.svelte: Added both 'nrm' and 'relax' to SUPPORTED_METHODS
- BackendAnalysisRunner.js: Added both nrm and relax cases
- WasmAnalysisRunner.js: Added NRM to methodCommandMap and resultFileMap

🤖 Generated with [Claude Code](https://claude.com/claude-code)

Co-Authored-By: Claude <noreply@anthropic.com>
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.

1 participant