Skip to content

Latest commit

 

History

History
42 lines (27 loc) · 945 Bytes

README.md

File metadata and controls

42 lines (27 loc) · 945 Bytes

Genetics Browser

A working demo of the genome browser can be found here.

You need npm 5, as well as the Purescript compiler and build tools. The latter can be installed with npm:

npm install -g purescript@"== 0.12.0" pulp psc-package

The browser can then be built using make, into the example folder at ./dist/app.js:

make build

That produces ./dist/app.js. Opening ./dist/index.html should now display the genome browser.

The output path can be changed with the OUT option:

make OUT=otherdist/index.js build

Pass FLAGS=-w to make for rebuilding on source code change.

make FLAGS=-w build

The output app.js file can be loaded into an HTML file, doing so exposes the genome browser Track module at a global variable, GGB by default.

Unit tests and QuickCheck tests can be run with

make test