Development#

Requirements#

Building igv.js and running the examples require Linux or MacOS. Other Unix environments will probably work but have not been tested.

Windows users can use Windows Subsystem for Linux.

Building#

Building igv.js and running the examples requires node.js.

git clone https://github.com/igvteam/igv.js.git
cd igv.js
npm install
npm run build

This creates a dist folder with the following files

Tests#

To run the tests from the command line

npm run test

Examples#

To run the examples install http-server.

Start http-server from the project root directory

npx http-server 

Then open http://localhost:8080/examples in a web browser.

Supported Browsers#

igv.js require a modern web browser with support for Javascript ECMAScript 2015 (ES6).

License#

igv.js is MIT licensed.