Skip to content
Snippets Groups Projects
Select Git revision
  • 5a0ef763655c25daeacde1f878c99f1073f1a79f
  • master default protected
  • rednatco-v2
  • base-pairs-ladder
  • rednatco
  • test
  • ntc-tube-uniform-color
  • ntc-tube-missing-atoms
  • restore-vertex-array-per-program
  • watlas2
  • dnatco_new
  • cleanup-old-nodejs
  • webmmb
  • fix_auth_seq_id
  • update_deps
  • ext_dev
  • ntc_balls
  • nci-2
  • plugin
  • bugfix-0.4.5
  • nci
  • v0.5.0-dev.1
  • v0.4.5
  • v0.4.4
  • v0.4.3
  • v0.4.2
  • v0.4.1
  • v0.4.0
  • v0.3.12
  • v0.3.11
  • v0.3.10
  • v0.3.9
  • v0.3.8
  • v0.3.7
  • v0.3.6
  • v0.3.5
  • v0.3.4
  • v0.3.3
  • v0.3.2
  • v0.3.1
  • v0.3.0
41 results

molstar

  • Clone with SSH
  • Clone with HTTPS
  • user avatar
    David Sehnal authored
    5a0ef763
    History

    License

    • general, non-opinionated library for reading and writing molecular structure related file formats
    • extending on the ideas of the CIFTools.js library

    Module Overview

    • mol-task Computation abstraction with progress tracking and cancellation support.
    • mol-data Collections (integer based sets, inteface to columns/tables, etc.)
    • mol-math Math related (loosely) algorithms and data structures.
    • mol-io Parsing library. Each format is parsed into an interface that corresponds to the data stored by it.
    • mol-model Data structures and algorithms (such as querying) for representing molecular data.
    • mol-ql Mapping of mol-model to the MolQL query language spec.
    • mol-util Useful things that do not fit elsewhere.

    Building & Running

    Build:

    npm install
    npm run build

    Build automatically on file save:

    npm run watch

    Bundle with rollup (UMD and ES6)

    npm run bundle

    Make distribution files

    npm run dist

    Build everything above

    npm run-script build && npm run-script bundle && npm run-script dist

    Example script

    Build

    npm run script

    Run

    node ./build/js/script.js

    TODO

    • write about unittest (AR)