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:

INSTALLED_APPS = (
    ...
    '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-5)

  • Improved REST API Filters

  • made Chromosomes and Gene Symbols save as uppercase to maintain consistency

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.0.tar.gz (13.8 kB view hashes)

Uploaded Source

Built Distribution

django_genome-0.2.0-py2.py3-none-any.whl (17.3 kB view hashes)

Uploaded Python 2 Python 3

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