Django app to parse/load phenotype ontologies (OncoTree, HPO, MONDO, etc)
Project description
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:
History
0.1.0 (2018-04-10)
Models for Phenotype Ontologies
REST API
GraphQL Nodes
Sync methods for PURL of MONDO, HPO, NCIT
0.1.1 (2018-04-10)
Updated sync to sync_ontology to make it more descriptive
0.1.2 (2018-04-10)
Added better support for MONDO. A few oddities were causing errors w/ pronto.
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
Hashes for django-phenotype-ontologies-0.1.2.tar.gz
Algorithm | Hash digest | |
---|---|---|
SHA256 | b7d9867192aab237f3d81958f7f9ab5b42fcf11ad933590ec77376e56ef959cd |
|
MD5 | 02d0a5741c0db841b48e1b73ded09620 |
|
BLAKE2b-256 | 01a2235b0ede6d18875e2a8ab694744ecb2cc6dd1d61a4bbb7d54549650be7f7 |
Hashes for django_phenotype_ontologies-0.1.2-py2.py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 3d32acfa4df5df0b26cefaf325b6ced8a9d67cb2ff58dc778d73614448d8714f |
|
MD5 | 98a4fc12fe4e5b20ec280d25d895b354 |
|
BLAKE2b-256 | 2b9a731f137b2e4e8ef0ea156e724429b1a8bd6f6e4177ddbfddc462c5ba3efb |