Repository navigation
Add WebAssembly browser interface and GitHub Pages build (#286) - #287
Open
Alexander-Mitrofanov wants to merge 17 commits into
Open
Alexander-Mitrofanov wants to merge 17 commits into
Alexander-Mitrofanov wants to merge 17 commits into
Conversation
Alexander-Mitrofanov
marked this pull request as ready for review
October 20, 2026 19:36
Member
|
thanks, please revise: build source versions
c++ source fixes
styling similar to varri
enable task selection in webinterfacethe webinterface should allow using IntaRNA in two modes: "prediction" (IntaRNA personality) and "evaluation" (IntaRNAeval personality)
table output
sequence input
parameter groups
|
Address #287 review: configurable browser prediction and evaluation
Member
|
thanks, please revise: add varri-based visualization
ZIP download button
styling
|
Build WASM with the latest stable ViennaRNA 2.x
Fix ViennaRNA download and cache recovery in WASM builds
Add vaRRI visualization, reproducible ZIP exports and parameter tabs
Member
|
thanks, please revise using at least one commit per section/task in a new pull request targeting this branch "feat/286-wasm-webinterface" (repository) rename
|
This branch has not been deployed
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.
IntaRNA can now predict short RNA pairs directly in a browser using the existing CLI, ViennaRNA energy models and accessibility calculations. A Web Worker keeps the interface responsive and makes cancellation immediate.
Fixes #286.
Changes
intarna.js/intarna.wasm, retain C++23 and exceptions, verify real dependency APIs, and document narrow compatibility fixes for ViennaRNA's bundled dlib./IntaRNA/and/IntaRNA/api/while adding/IntaRNA/webinterface/. The documentation workflow is now a reusable build; only the combined pipeline deploys, on upstreammasterafter checks pass.Validation
node scripts/wasm/smoke.mjs: native-reference energy/coordinates/suboptimals, structured accessibility costs (E = -28.04, ED1 = 4.60, ED2 = 4.86 kcal/mol), and C++ input-error handling passed.npm test --prefix webinterface: five protocol/lifecycle/CSV test groups passed.make tests -j2: all eight API/CLI groups passed; 462,689 assertions across 119 API cases. The existing shell harness required tracked fixtures linked into the separate build directory.git diff --check: passed. GitHub independently runs GCC 14 release/debug, Apple Clang and the complete WASM/browser/combined-site pipeline.Deployment and limits
This PR is ready for review; it does not merge itself or change live Pages settings. Pages already uses GitHub Actions. After merge, the workflow deploys the combined tested site through the existing
github-pagesenvironment.The browser accepts one query/target pair, 7–2,000 nt per strand, query length × target length ≤ 1,000,000, and up to 100 interactions. It uses native prediction defaults and a single worker, with memory growth capped at 1 GiB. Longer inputs and advanced settings remain available through the CLI. Sequences stay on the device; no backend, external fonts, CDN or cross-origin isolation headers are needed.
Implementation and reproducible validation:
docs/step1-wasm-compilation.mdandwebinterface/docs/.