django-phenotype-ontologies

Django app to parse/load phenotype ontologies (OncoTree, HPO, MONDO, etc)


Keywords
django-phenotype-ontologies, bioinformatics, django, ontologies, phenotypes
License
MIT
Install
pip install django-phenotype-ontologies==1.1.0

Documentation

Django Phenotype Ontologies

https://travis-ci.org/chopdgd/django-phenotype-ontologies.svg?branch=develop Updates Python 3

Django app to parse/load phenotype ontologies (OncoTree, HPO, MONDO, etc)

Documentation

The full documentation is at https://django-phenotype-ontologies.readthedocs.io.

Quickstart

Install Django Phenotype Ontologies:

pip install django-phenotype-ontologies

Add it to your INSTALLED_APPS:

INSTALLED_APPS = (
    ...
    'phenotype_ontologies',
    ...
)

Add Django Phenotype Ontologies's URL patterns:

from phenotype_ontologies import urls as phenotype_ontologies_urls


urlpatterns = [
    ...
    url(r'^', include(phenotype_ontologies_urls, namespace='phenotype_ontologies')),
    ...
]

Features

  • syncs OBO from MONDO, HPO, and NCIT (OncoTree)
  • REST API to interact with models
  • GraphQL Nodes to be incorporated to existing GraphQL setups with graphene_django

Running Tests

Does the code actually work?

source <YOURVIRTUALENV>/bin/activate
(myenv) $ pip install tox
(myenv) $ tox

Credits

Tools used in rendering this package: