@gmod/jbrowse
JBrowse - client-side genome browser
Last updated a year ago by rbuels .
(LGPL-2.1 OR Artistic-2.0) · Repository · Bugs · Original npm · Tarball · package.json
$ cnpm install @gmod/jbrowse 
SYNC missed versions from official npm registry.

Build status

Installing JBrowse

To install jbrowse, visit http://jbrowse.org/blog and download the latest JBrowse zip file. See instructions at http://jbrowse.org/docs/installation.html for a tutorial on setting up a sample instance.

Install JBrowse from GitHub (for developers)

To install from GitHub, you can simply clone the repo and run the setup.sh script

git clone https://github.com/GMOD/jbrowse
cd jbrowse
./setup.sh

Note for users in China

In order to make downloads faster you can set a mirror for the npm registry

npm config set registry http://r.cnpmjs.org
npm config set puppeteer_download_host=http://cnpmjs.org/mirrors
export ELECTRON_MIRROR="http://cnpmjs.org/mirrors/electron/"

Notes on setting up a JBrowse server

Note: you should avoid using sudo tasks like ./setup.sh and instead use chown/chmod on folders to your own user as necessary.

Also note: After editing a file, you must re-run the webpack build with npm run build or you can keep webpack running in "watch" mode by running npm run watch.

Also also note: by default git clone will clone the master branch which contains the latest stable release. The latest development branch is called dev. Run git checkout dev after clone to retrieve this

Installing as an npm module

To install jbrowse from NPM directly, you can run.

npm install @gmod/jbrowse

To setup a simple instance, you can use

node_modules/.bin/jb_setup.js
node_modules/.bin/jb_run.js

Then visit http://localhost:3000/?data=sample_data/json/volvox

Contributing

Looking for places to contribute to the codebase? Check out the "help wanted" label.

Running the developer test suites

The Travis-CI suite runs Perl, JavaScript, and Selenium automated tests. To run locally, you can use

prove -Isrc/perl5 -lr tests
node tests/js_tests/run-puppeteer.js http://localhost/jbrowse/tests/js_tests/index.html
pip install selenium nose
MOZ_HEADLESS=1 SELENIUM_BROWSER=firefox JBROWSE_URL='http://localhost/jbrowse/index.html' nosetests

Supported browsers for SELENIUM_BROWSER are 'firefox', 'chrome', 'phantom', and 'travis_saucelabs'. The Sauce Labs + Travis one will only work in a properly configured Travis CI build environment.

Manual testing

Browserstack

JBrowse has a free open source account on Browserstack for manual testing. Contact @rbuels for access.

Generating Packaged Builds

You can also optionally run build steps to create the minimized codebase. Extra perl dependencies Text::Markdown and DateTime are required to run the build step.

make -f build/Makefile

To build the Electron app (JBrowse desktop app), run the following

npm install -g electron-packager
make -f build/Makefile release-electron-all

To run the Electron app in debug mode run the following

npm install -g electron
electron browser/main.js

Making a JBrowse release

NOTE: Beginning in 1.12.4,

  1. Run build/release.sh $newReleaseVersion $nextReleaseVersion-alpha.0 notes.txt, where notes.txt is any additional information to add to a blogpost. Then check its work, and then run the git push command it suggests to you. This makes a tag in the repository for the release, named, e.g. 1.6.3-release. This should cause Travis CI to create a release on GitHub under https://github.com/GMOD/jbrowse/releases

  2. Add release notes to the new GitHub release that Travis created. Can just paste these from release-notes.md, which is in Markdown format.

  3. Write a twitter post for usejbrowse and JBrowseGossip with the announcement link to the blogpost

  4. Write an email announcing the release, sending to gmod-ajax. If it is a major release, add gmod-announce and make a GMOD news item.

As you can tell, this process could really use some more streamlining and automation.

Current Tags

  • 1.16.6                                ...           latest (a year ago)

30 Versions

  • 1.16.6                                ...           a year ago
  • 1.16.6-rc1                                ...           a year ago
  • 1.16.5                                ...           a year ago
  • 1.16.5-rc1                                ...           a year ago
  • 1.16.4                                ...           a year ago
  • 1.16.3                                ...           a year ago
  • 1.16.3-rc2                                ...           a year ago
  • 1.16.3-rc1                                ...           a year ago
  • 1.16.2                                ...           a year ago
  • 1.16.2-rc1                                ...           a year ago
  • 1.16.1                                ...           a year ago
  • 1.16.1-rc1                                ...           a year ago
  • 1.16.0                                ...           a year ago
  • 1.16.0-rc1                                ...           a year ago
  • 1.15.4                                ...           2 years ago
  • 1.15.2                                ...           2 years ago
  • 1.15.1                                ...           2 years ago
  • 1.15.1-beta.1                                ...           2 years ago
  • 1.15.0-alpha.4                                ...           2 years ago
  • 1.15.0-alpha.3                                ...           2 years ago
  • 1.15.0-prerelease                                ...           2 years ago
  • 1.14.2                                ...           2 years ago
  • 1.14.1                                ...           2 years ago
  • 1.14.0                                ...           2 years ago
  • 1.13.1                                ...           2 years ago
  • 1.13.0                                ...           2 years ago
  • 1.12.5                                ...           2 years ago
  • 1.12.4                                ...           2 years ago
  • 1.12.4-pre4                                ...           2 years ago
  • 1.12.4-pre                                ...           2 years ago
Downloads
Today 0
This Week 0
This Month 0
Last Day 0
Last Week 0
Last Month 31
Dependencies (6)
Dev Dependencies (54)
Dependents (0)
None

Copyright 2014 - 2016 © taobao.org |