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

Sebastian Bittrich 8479db8bab use node 14 in lint action 3 years ago
.github 8479db8bab use node 14 in lint action 3 years ago
.vscode 6723a3b94f added vscode debug config 5 years ago
src f550864d00 cleanup 3 years ago
.eslintignore 8b9d18486f linting 4 years ago
.eslintrc.json bc931e7f85 linting rules 4 years ago
.gitattributes 4cea30640e initial commit 5 years ago
.gitignore 4cea30640e initial commit 5 years ago
CHANGELOG.md 7c87e28acd bump dependencies 3 years ago
LICENSE 4cea30640e initial commit 5 years ago
README.md b6b3663e01 add PDBe af-confidence behavior 3 years ago
package-lock.json 31f7ae37db 1.9.4 3 years ago
package.json 31f7ae37db 1.9.4 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