Skip to main content

Django app to parse/load phenotype ontologies (OncoTree, HPO, MONDO, etc)

Project description

https://badge.fury.io/py/django-phenotype-ontologies.svg https://travis-ci.org/chopdgd/django-phenotype-ontologies.svg?branch=develop https://codecov.io/gh/chopdgd/django-phenotype-ontologies/branch/develop/graph/badge.svg Updates Python 3

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)

0.1.1 Changelog

  • Updated sync to sync_ontology to make it more descriptive

0.1.2 (2018-04-10)

0.1.2 Changelog

  • Added better support for MONDO. A few oddities were causing errors w/ pronto.

0.1.3 (2018-04-18)

0.1.3 Changelog

  • Updated 3rd party libs

0.1.4 (2018-05-16)

0.1.4 Changelog

  • Updated setup.py to read from requirements.txt

0.2.0 (2018-06-01)

0.2.0 Changelog

  • Removed support for GraphQL

0.2.1 (2018-07-27)

0.2.1 Changelog

  • Updated NCIT to be OncoTree - since we are using the onco tree specific ontology

0.2.2 (2018-08-13)

0.2.2 Changelog

  • Updated 3rd party requirements. Some requirements had changed so it was causing failures

0.2.3 (2018-10-29)

0.2.3 Changelog

  • Updated 3rd party requirements.

0.2.4 (2018-11-27)

0.2.4 Changelog

  • Updated 3rd party requirements.

0.2.5 (2019-02-08)

0.2.5 Changelog

  • Updated 3rd party requirements.

  • Updated tests to use py.test fixtures

0.2.6 (2019-04-10)

0.2.6 Changelog

  • 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)

0.2.7 Changelog

  • Updated package to use latest cookiecutter template

0.2.8 (2019-07-26)

0.2.8 Changelog

  • Updated 3rd party requirements.

0.2.9 (2019-08-09)

0.2.9 Changelog

  • Updated 3rd party requirements.

0.2.10 (2019-09-09)

0.2.10 Changelog

  • Updated 3rd party requirements.

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

django-phenotype-ontologies-0.2.10.tar.gz (13.4 kB view details)

Uploaded Source

Built Distribution

django_phenotype_ontologies-0.2.10-py2.py3-none-any.whl (14.6 kB view details)

Uploaded Python 2 Python 3

File details

Details for the file django-phenotype-ontologies-0.2.10.tar.gz.

File metadata

  • Download URL: django-phenotype-ontologies-0.2.10.tar.gz
  • Upload date:
  • Size: 13.4 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/1.14.0 pkginfo/1.5.0.1 requests/2.22.0 setuptools/40.6.2 requests-toolbelt/0.9.1 tqdm/4.35.0 CPython/3.6.9

File hashes

Hashes for django-phenotype-ontologies-0.2.10.tar.gz
Algorithm Hash digest
SHA256 63d471b760707dd8adf333bc1d4c4b5b5ca202a090a9a3400ce5c058a16c9efc
MD5 e8761b88d45a322d71e988a847f233e2
BLAKE2b-256 f6d9911a20b51d23b964ba4e26c8643880ec18b55810f33efcd28d2c7ae197c8

See more details on using hashes here.

Provenance

File details

Details for the file django_phenotype_ontologies-0.2.10-py2.py3-none-any.whl.

File metadata

  • Download URL: django_phenotype_ontologies-0.2.10-py2.py3-none-any.whl
  • Upload date:
  • Size: 14.6 kB
  • Tags: Python 2, Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/1.14.0 pkginfo/1.5.0.1 requests/2.22.0 setuptools/40.6.2 requests-toolbelt/0.9.1 tqdm/4.35.0 CPython/3.6.9

File hashes

Hashes for django_phenotype_ontologies-0.2.10-py2.py3-none-any.whl
Algorithm Hash digest
SHA256 5c446328a44f265db3bc141fccf6f49bd85e331dba343959bf7b1f27cc6b0228
MD5 100ac6063fbd5d2e2ea4dc3f9b06ce46
BLAKE2b-256 adb64ca21a526cbf72f1db6be09a6a9721a4542ddd54b4b53c55798b4e90c0dc

See more details on using hashes here.

Provenance

Supported by

AWS AWS Cloud computing and Security Sponsor Datadog Datadog Monitoring Fastly Fastly CDN Google Google Download Analytics Microsoft Microsoft PSF Sponsor Pingdom Pingdom Monitoring Sentry Sentry Error logging StatusPage StatusPage Status page