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.
0.1.3 (2018-04-18)
Updated 3rd party libs
0.1.4 (2018-05-16)
Updated setup.py to read from requirements.txt
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.4.tar.gz
Algorithm | Hash digest | |
---|---|---|
SHA256 | 2cfe8608c50b868725418140a2df0dfade23b6b0121c4ab1c4ea558a8ea84862 |
|
MD5 | 1edcb7ad403277622acef2b768728d1c |
|
BLAKE2b-256 | eb91e232d22ef27677c11444046d6d2f010df225e839eeb35fd860b2f6ee4eb9 |
Hashes for django_phenotype_ontologies-0.1.4-py2.py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | bd9c4a62dde2952698bc60d40fb7a8093567f253c76968ac888848c4dc583ab4 |
|
MD5 | 980c413d241dc51392003bc5f86ca53c |
|
BLAKE2b-256 | d0a47eecea6b16e8d2fd0069f72e3366d98163eb63523a7070df07c4a52a3945 |