Skip to main content

Top level package

Project description

PumpkinPy - Semantic similarity implemented in python

About

PumpkinPy uses IC ordered bitmaps for fast ranking of genes and diseases. This is useful for larger ontologies such as Upheno and large datasets such as ranking all mouse genes given a set of input HPO terms. This approach was first used in OWLTools and OwlSim-v3.

The goal of this project was to build an implementation of the PhenoDigm algorithm in python. There are also implementations for common measures for distance and similarity (euclidean, cosine, Jin-Conrath, Resnik, jaccard)

Disclaimer: This is a side project and has little documetation and only a modest amount of testing

Getting Started

Requires python 3.8+ and python3-dev to install pyroaring

Installing from pypi

pip install pumpkin_py

Running make will install locally and run the tests

make
Fetching annotations and closures

Uses robot and sparql to generate closures and class labels

Annotation data is fetched from the latest Monarch release

  • Requires >Java 8

cd data/monarch/ && make

PhenoDigm Reference: https://www.ncbi.nlm.nih.gov/pmc/articles/PMC3649640/
Exomiser: https://github.com/exomiser/Exomiser
OWLTools: https://github.com/owlcollab/owltools
OWLSim-v3: https://github.com/monarch-initiative/owlsim-v3

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

pumpkin_py-0.0.1.tar.gz (18.7 MB view details)

Uploaded Source

Built Distribution

pumpkin_py-0.0.1-py3-none-any.whl (20.7 kB view details)

Uploaded Python 3

File details

Details for the file pumpkin_py-0.0.1.tar.gz.

File metadata

  • Download URL: pumpkin_py-0.0.1.tar.gz
  • Upload date:
  • Size: 18.7 MB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: python-requests/2.26.0

File hashes

Hashes for pumpkin_py-0.0.1.tar.gz
Algorithm Hash digest
SHA256 05d82cf81e587713f9e2d18c1c21f2cc3a67e7b9af078ddbfd0951ab30d0d537
MD5 97749a3f651a24ce581bd7cd7ededc12
BLAKE2b-256 b280025f6a79eb2b12e3ba03b1339118b93f31b011763310a533fcae3cd818fb

See more details on using hashes here.

File details

Details for the file pumpkin_py-0.0.1-py3-none-any.whl.

File metadata

  • Download URL: pumpkin_py-0.0.1-py3-none-any.whl
  • Upload date:
  • Size: 20.7 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: python-requests/2.26.0

File hashes

Hashes for pumpkin_py-0.0.1-py3-none-any.whl
Algorithm Hash digest
SHA256 ff54c6a7cb6bb535e3c71035bdc50082586aa9e7adba4bbc3ff83d2459d6f051
MD5 da336a622aac947d4b0572f9017b6892
BLAKE2b-256 91dee69bf9a6ad63c78bbceb49e01797986fde32244bde0dd3410caca44acb20

See more details on using hashes here.

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