Giter Site home page Giter Site logo

rhinogradentia / jbrowse-contrib Goto Github PK

View Code? Open in Web Editor NEW

This project forked from arabidopsis-information-portal/jbrowse-contrib

0.0 1.0 0.0 400 KB

Configuration and miscellaneous support files for Araport JBrowse installation

License: GNU Lesser General Public License v2.1

Shell 100.00%

jbrowse-contrib's Introduction

jbrowse-contrib

Configuration and miscellaneous support files for the AIP project JBrowse installation

Installing JBrowse

For the AIP project, please follow the steps outlined below for the setup and installation of the app:

### server: columbia
$ cd /opt/www/araport/htdocs

### clone the jbrowse-contrib repo
### remember to clone `--recursive` to get the submodule as well
### submodule `jbrowse-latest-release` points to latest release (https://github.com/GMOD/jbrowse/releases)
$ git clone --recursive https://github.com/Arabidopsis-Information-Portal/jbrowse-contrib.git .

### make a symlink and change into the release directory
### set up jbrowse by running the `setup.sh` script
$ ln -sf jbrowse-latest-release jbrowse
$ cd jbrowse
$ ./setup.sh

Point the web browser to http://araport-dev.jcvi.org/jbrowse to check that the app is functioning properly.

Loading data into JBrowse

Before data can be loaded into JBrowse, please following the instructions for setting up the data area from here: araport-contrib

Once the JBrowse setup has completed successfully and data has been downloaded to the right location, refer to the following steps to load data:

### server: columbia
$ cd /opt/www/araport/htdocs/jbrowse

### create symlink to shared data area
$ ln -sf ../../data/jbrowse data

### copy config file(s), modified css/html and loading script to JBrowse installation directory
$ cp ../jbrowse-contrib/jbrowse-load.sh .

### run the loading script
$ ./jbrowse-load.sh > jbrowse-load.log 2> jbrowse-load.err

### after loading, replace the trackList.json config with the customized copy from the repo
$ cp ../jbrowse-contrib/data/json/arabiodopsis/trackList.json data/json/arabidopsis/trackList.json

JCVI specific code/data migration workflow to production

Migrating to test

This involves making use of a command line mechanism to push the app from dev --> test.

### prepare to push from dev --> test

### edit `tarinclude` file which lists relative paths to code that needs to be migrated
### Example line(s) in `tarinclude`:

    ./htdocs/jbrowse-latest-release
    ./htdocs/jbrowse

$ cd /opt/www/araport
$ vim tarinclude

### invoke push from dev --> test, this step only copies the app code
### data area is already shared between the dev and test servers
$ make

Point the web browser to http://araport-test.jcvi.org/jbrowse to check that the app is functioning properly.

Synching with production

This mechanism is regulated by rdist, a remote file distribution client, which is controlled by a configuration file, called a distfile.

### prepare to synch test with prod
### to check the areas that are set up to be synched, invoke the following command:
$ cd /opt/www/araport
$ make getdistfile

### this will retrieve a file called `distfile.araport`
### contains a list of directories to be mirrored (and a list of excluded directories as well)

### synch the application
$ make test2pro

### synch the data (if this is the first time, process will take a while: ~0.5 hrs)
$ make test2pro_data

Once the synch is complete, point the web browser to http://apps.araport.org/jbrowse to check that the app is functioning properly.

jbrowse-contrib's People

Contributors

msarmien avatar vivekkrish avatar

Watchers

 avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.