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-09)
Models for Phenotype Ontologies
REST API
GraphQL Nodes
Sync methods for PURL of MONDO, HPO, NCIT
0.1.1 (2018-04-09)
Updated sync to sync_ontology to make it more descriptive
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.1.tar.gz
Algorithm | Hash digest | |
---|---|---|
SHA256 | fc9d00c9a663d3ced053abfd620520da81d26a865a5ac0a4df11c294d81250f3 |
|
MD5 | 6fc0b6863098447dc339bfe6ed220ee5 |
|
BLAKE2b-256 | b9c0c92a75d42bf8a656f993d4b367d2dfe35ba160461605b327e1fc6b854d9e |
Hashes for django_phenotype_ontologies-0.1.1-py2.py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | f6729c57a8a18ce3e70c6489563c8889a5e121c68a52715b7427a07f07cb6773 |
|
MD5 | b5d7fc6c8715d323cc785cf7f9891efa |
|
BLAKE2b-256 | 95f1aacab49e4e6022109d9ca5e45503273654bb0e4d4ed07e08fa29da8313ed |