Django app for syncing and storing human genome reference data
Project description
Django app for syncing and storing human genome reference data
Documentation
The full documentation is at https://django-genome.readthedocs.io.
Quickstart
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
Features
Includes models for Genome, Chromosome, CytoBand, Gene, Transcript, and Exons
Syncs data for hg18, hg19, hg38 from HGNC and UCSC
Running Tests
Does the code actually work?
source <YOURVIRTUALENV>/bin/activate (myenv) $ pip install tox (myenv) $ tox
Credits
Tools used in rendering this package:
History
0.1.0 (2017-12-30)
First release on PyPI.
Initial models and REST API
Syncs data from HGNC and UCSC to build database
0.2.0 (2018-01-05)
Improved REST API Filters
made Chromosomes and Gene Symbols save as uppercase to maintain consistency
0.2.1 (2018-01-08)
Fixed issues with migrations
0.2.2 (2018-01-12)
Fixed route names for SimpleRouter
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
Built Distribution
File details
Details for the file django-genome-0.2.2.tar.gz
.
File metadata
- Download URL: django-genome-0.2.2.tar.gz
- Upload date:
- Size: 14.1 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | ff7f220b3a3af1528f5c6bb873bf53bd9ceeb25842d096b26bd51cd96e8e9bbd |
|
MD5 | d96abd820d2a65a61673756c63257329 |
|
BLAKE2b-256 | 8b09ea16590b7d7f0849eee73d394b025f5bec8d3a6d3714e302e70303d3f99c |
Provenance
File details
Details for the file django_genome-0.2.2-py2.py3-none-any.whl
.
File metadata
- Download URL: django_genome-0.2.2-py2.py3-none-any.whl
- Upload date:
- Size: 17.6 kB
- Tags: Python 2, Python 3
- Uploaded using Trusted Publishing? No
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 2b4683c129276bfbd1a824e3a8d9e9e069dc7bfc25857f3176b8310c55226ce4 |
|
MD5 | 767078e14fa5007bb3b8eea444d1f683 |
|
BLAKE2b-256 | 9768bab71597be0f148ff745803e07e4aba7bf12fd603500318fc31e7872079b |