Skip to content

knmkr/pergenie

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

perGENIE screenshot

For developers

Getting started with Vagrant & Ansible

1. Install VirtualBox, Vagrant, and Ansible.

2. Configure variables in playbook:

$ ${EDITOR} pergenie/deploy/playbook/group_vars/staging  # e.g. pergenie/deploy/playbook/group_vars/example/staging.example

3. Build VM and deploy:

$ cd pergenie/deploy
$ vagrant up

Once VM is up, you can rollout pergenie application by:

$ ANSIBLE_TAGS=rollout vagrant provision

See details in pergenie/deploy

Getting started with Django development server

1. Install requirements

2. Install Python packages

$ pip install -r requirements/development.txt

3. Configure settings.py

$ ${EDITOR} pergenie/settings/development.py  # e.g. pergenie/settings/development.py.example

4. Create PostgreSQL user and database

$ createuser pergenie --password
$ createdb pergenie -O pergenie

5. DB migration

$ python manage.py migrate

6. Init data

$ python manage.py createsuperuser
$ python manage.py update_gwascatalog
$ python manage.py setup_go_vcf_tools
$ python manage.py init_demo_user

7. Run Celery for job queing

$ DJANGO_SETTINGS_MODULE=pergenie.settings.development celery --app=pergenie worker

8. Run development server

$ python manage.py runserver

9. Browse application at http://127.0.0.1:8000/

Notice

About public data resources

Versions of public data resources are pinned as follows:

Resources Versions
Human Reference Genome GRCh37p13
dbSNP b144

About html design data

License

See LICENSE

About

perGENIE: a web application for personal genome interpretation

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • Python 47.7%
  • HTML 29.9%
  • JavaScript 18.9%
  • CSS 2.0%
  • Shell 0.8%
  • R 0.4%
  • Other 0.3%