GitXplorerGitXplorer
c

biocloud-server-kai

public
2 stars
1 forks
5 issues

Commits

List of commits on branch master.
Unverified
2851d23a67b5908fb73b680c0bfe6c0eb9af5e5d

Fix cuffdiff

cccwang002 committed 7 years ago
Unverified
88035cffb782e87c0e7c189193a8b5a1a8705e49

Fix cuffmerge and cuffdiff

cccwang002 committed 7 years ago
Unverified
326d85cd31c7820c56cf8c1445f34c83c854545c

cuffmerge command fix

cccwang002 committed 7 years ago
Unverified
e483bb9de3259151b4fc1bfdacee43b6ec3ecfd3

Fix merged.gtf path

cccwang002 committed 7 years ago
Unverified
15de1d31e0c002159d140816aa2e637bb771e454

Add java runtime by modifying PATH

cccwang002 committed 7 years ago
Unverified
67e0f4b8c9267081b76a2acd0d546c9cc90d9d8f

Implement cuffdiff

cccwang002 committed 7 years ago

README

The README file for this repository.

BioCloud

The ultimate Django server to run NGS analysis pipeline.

Getting Started

Requirements

  • Git
  • Python 3.5+

Set up a Python Virtual Environment

Built-in venv

Create the virtual environment at <repo>/venv:

python3 -m venv venv

To activate it:

. venv/bin/activate

Or on Windows, use

. venv\Scripts\activate.bat

Install Dependencies

Use pip:

pip install -r requirements.txt

Set up Local Environment Variables and Database

Settings are stored in environment variables via django-environ. The quickiest way to start is to copy local.sample.env into local.env:

cp src/biocloud/settings/local.sample.env src/biocloud/settings/local.env

Then edit the SECRET_KEY line in local.env, replacing {{ secret_key }} into any Django Secret Key value. An example:

SECRET_KEY=-@5#xz3#f)4waw+p=l^c$1!6ei8&c5u_=^%*sdu(6vy@m$*-v&

After that, just run the migration.

Go Develop

Change to the src directory:

cd src

The website uses PostgreSQL database, make sure it has been running. On OSX, PostgreSQL may not run in the background, which can be started manually by

fab start_db

Then run the database migration.

python manage.py migrate

Run the development server

python manage.py runserver

the Django-Q job cluster for executing pipeline jobs

python manage.py qcluster

and a local SMTP server so all email sending will be captured

fab start_smtp

License

Release under MIT License. A great portion of code is adapted from PyCon Taiwan 2016 website's source code under license MIT.