MolStart molecule viewer for transmembrane proteins http://molstar.org

Sebastian Bittrich 644441b6d9 refactor AlphaFold coloring to generic pLDDT coloring 3 years ago
.github 8479db8bab use node 14 in lint action 3 years ago
.vscode 9db9166229 linting & cleanup 3 years ago
src 644441b6d9 refactor AlphaFold coloring to generic pLDDT coloring 3 years ago
.eslintignore 8b9d18486f linting 4 years ago
.eslintrc.json 5e9ee386ec merge master, update lint & CHANGELOG, remove alignMotif 3 years ago
.gitattributes 4cea30640e initial commit 5 years ago
.gitignore 4cea30640e initial commit 5 years ago
CHANGELOG.md 333f3ce56b update CHANGELOG.md 3 years ago
LICENSE 4cea30640e initial commit 5 years ago
README.md 50ca4455c2 link to Mol* docs 3 years ago
package-lock.json c4fdc76d09 2.0.0-dev.9 3 years ago
package.json 7df6ac5d87 Merge branch 'dev-sb-v2' of github.com:rcsb/rcsb-molstar into dev-sb-v2 3 years ago
tsconfig.json d1fd2f1e40 wip build 4 years ago
webpack.config.js 40c5f9fd51 housekeeping 3 years ago

README.md

npm version Changelog License

RCSB PDB implementation of Mol* (/'mol-star/). Try it here.

PDBe also maintains a flavor of Mol* called PDBe Molstar. Documentation of the parent Mol* project can be found here. See index.html for examples.

Functionality

Provides custom features used in the Mol* viewer on rcsb.org:

  • visualization of structure alignments
  • visualization of structure motifs & UI to launch structure motif queries
  • interactivity functionality to highlight and add representations for selections of a structure, used in the 3D Protein Feature View
  • linkable focus representation on ligands or chains

Install

npm install @rcsb/rcsb-molstar

Building & Running

Build:

npm install
npm run build

Build automatically on file save:

npm run watch

Build with debug mode enabled:

DEBUG=molstar npm run watch

Build for production:

npm run build

Run

If not installed previously:

npm install -g http-server

...or a similar solution.

From the root of the project:

http-server -p PORT-NUMBER

and navigate to build/dist/viewer/

Prerelease

npm version prerelease # assumes the current version ends with '-dev.X'
npm publish --tag next

Release

npm version 1.X.0 # provide valid semver string
npm publish