Django app to parse/load phenotype ontologies (OncoTree, HPO, MONDO, etc)
The full documentation is at https://django-phenotype-ontologies.readthedocs.io.
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')),
...
]
- 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
Does the code actually work?
source <YOURVIRTUALENV>/bin/activate (myenv) $ pip install tox (myenv) $ tox
Tools used in rendering this package: