@galaxyproject/rmsxflipbook
v0.0.1
Published
RMSX Flipbook Galaxy visualization for rmsx.json viewer manifests rendered with bundled Molstar.
Readme
RMSX Flipbook
RMSX Flipbook is a Galaxy visualization package for RMSX rmsx.json viewer manifests rendered with bundled Molstar.
The initial npm package is published under @finn2400/rmsxflipbook.
It follows the Galaxy visualization XML framework:
public/rmsxflipbook.xmldeclares the visualization, compatiblermsx.jsondatatype, params, and script entry point.src/main.jsreads Galaxy'sdata-incomingpayload from#app.- The selected manifest is fetched from
${root}api/datasets/${dataset_id}/display. - Molstar is installed from npm (
molstar) and bundled at build time.
Development
npm install
GALAXY_ROOT=http://127.0.0.1:8080 GALAXY_DATASET_ID=<dataset-id> npm run devBuild
npm run buildThe build writes Galaxy-ready static assets to static/.
Publish
npm login
npm run build
npm publish --access publicThis workspace also works with pnpm login and pnpm publish --access public.
The package runs vite build before packing so the published tarball contains
the Galaxy-ready static/ assets. After publishing, Galaxy can reference the
package from client/visualizations.yml.
