Skip to main content

Django app for syncing and storing human genome reference data

Project description

https://badge.fury.io/py/django-genome.svg https://travis-ci.org/chopdgd/django-genome.svg?branch=develop https://codecov.io/gh/chopdgd/django-genome/branch/develop/graph/badge.svg Updates Python 3

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


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

django-genome-0.2.2.tar.gz (14.1 kB view details)

Uploaded Source

Built Distribution

django_genome-0.2.2-py2.py3-none-any.whl (17.6 kB view details)

Uploaded Python 2 Python 3

File details

Details for the file django-genome-0.2.2.tar.gz.

File metadata

File hashes

Hashes for django-genome-0.2.2.tar.gz
Algorithm Hash digest
SHA256 ff7f220b3a3af1528f5c6bb873bf53bd9ceeb25842d096b26bd51cd96e8e9bbd
MD5 d96abd820d2a65a61673756c63257329
BLAKE2b-256 8b09ea16590b7d7f0849eee73d394b025f5bec8d3a6d3714e302e70303d3f99c

See more details on using hashes here.

Provenance

File details

Details for the file django_genome-0.2.2-py2.py3-none-any.whl.

File metadata

File hashes

Hashes for django_genome-0.2.2-py2.py3-none-any.whl
Algorithm Hash digest
SHA256 2b4683c129276bfbd1a824e3a8d9e9e069dc7bfc25857f3176b8310c55226ce4
MD5 767078e14fa5007bb3b8eea444d1f683
BLAKE2b-256 9768bab71597be0f148ff745803e07e4aba7bf12fd603500318fc31e7872079b

See more details on using hashes here.

Provenance

Supported by

AWS AWS Cloud computing and Security Sponsor Datadog Datadog Monitoring Fastly Fastly CDN Google Google Download Analytics Microsoft Microsoft PSF Sponsor Pingdom Pingdom Monitoring Sentry Sentry Error logging StatusPage StatusPage Status page