Django app for syncing and storing human genome reference data
The full documentation is at https://django-genome.readthedocs.io.
Install Django Genome:
pip install django-genome
Add it to your INSTALLED_APPS (along with DRF and django-filters):
INSTALLED_APPS = (
...
'rest_framework',
'django_filters',
...
'genome',
...
)
Add Django Genome's URL patterns:
from genome import urls as genome_urls
urlpatterns = [
...
url(r'^', include(genome_urls, namespace='genome')),
...
]
Initial sync for genome models:
python manage.py genome_sync
- Includes models for Genome, Chromosome, CytoBand, Gene, Transcript, and Exons
- Syncs data for hg18, hg19, hg38 from HGNC and UCSC
Does the code actually work?
source <YOURVIRTUALENV>/bin/activate (myenv) $ pip install tox (myenv) $ tox
Tools used in rendering this package: