Purescript-based genome and genetics browser
Switch branches/tags
Nothing to show
Clone or download
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Permalink
Type Name Latest commit message Commit time
Failed to load latest commit information.
dist
src/Genetics
test
.gitignore
LICENSE
Makefile
README.md
package-lock.json
package.json
psc-package.json

README.md

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.11.7" 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