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
0.2.0 (2018-06-01)
Removed support for GraphQL
0.2.1 (2018-07-27)
Updated NCIT to be OncoTree - since we are using the onco tree specific ontology
0.2.2 (2018-08-13)
Updated 3rd party requirements. Some requirements had changed so it was causing failures
0.2.3 (2018-10-29)
Updated 3rd party requirements.
0.2.4 (2018-11-27)
Updated 3rd party requirements.
0.2.5 (2019-02-08)
Updated 3rd party requirements.
Updated tests to use py.test fixtures
0.2.6 (2019-04-10)
Updated 3rd party requirements.
Updated travis to use xenial distribution. Django 2.1 dropped support for SQLite < 3.8.3
0.2.7 (2019-05-31)
Updated package to use latest cookiecutter template
0.2.8 (2019-07-26)
Updated 3rd party requirements.
0.2.9 (2019-08-09)
Updated 3rd party requirements.
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.2.9.tar.gz
Algorithm | Hash digest | |
---|---|---|
SHA256 | 417d73f051a7060000c6a7c23ee112e6e968ae6ec5f42e92718106a82778af59 |
|
MD5 | 1fa1b6776dc70345cae3c5076677ba88 |
|
BLAKE2b-256 | f85d415677bd6e5a280b5a460f247425f2277a04f511dc2f22c2afb84ea31567 |
Hashes for django_phenotype_ontologies-0.2.9-py2.py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 0825cc349ed4c31987c4e977120ef812044d81d1b2b7ce8b2f0362b0bddccd41 |
|
MD5 | 2917296e6c130e0a0b7669ceda324e03 |
|
BLAKE2b-256 | 6fb64e4028a2562eb3547624a6951d411966d616caef9ca3dcc04e467b4b03e4 |