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

Sebastian Bittrich 32523fb2d6 lint 3 years ago
.github bb7765bed2 Create lint.yml 4 years ago
.vscode 6723a3b94f added vscode debug config 5 years ago
src 32523fb2d6 lint 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 5e9ee386ec merge master, update lint & CHANGELOG, remove alignMotif 3 years ago
LICENSE 4cea30640e initial commit 5 years ago
README.md b6b3663e01 add PDBe af-confidence behavior 3 years ago
package-lock.json 523dff86e1 Optional trajectory preset provider 3 years ago
package.json 56ae3144ea Merge branch 'master' 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.

Functionality

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

  • visualization of structure alignment
  • 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