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
python3.8 -m venv venv
source venv/bin/activate
pip install -r requirements.txt
export PYTHONPATH=.:$PYTHONPATH
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
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
File details
Details for the file pumpkin_py-0.0.1a2.tar.gz
.
File metadata
- Download URL: pumpkin_py-0.0.1a2.tar.gz
- Upload date:
- Size: 18.7 MB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: python-requests/2.26.0
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 1adffa2fdbc698da737b624fd1d5f64cac202d373560fa6f90b6d48de6909525 |
|
MD5 | db14fc7699f46d961203127a2059c296 |
|
BLAKE2b-256 | c3e7db75e9b2a704868dd5362d76eb4d2ef73b98b261e28c236f845c1c97b9a4 |
File details
Details for the file pumpkin_py-0.0.1a2-py3-none-any.whl
.
File metadata
- Download URL: pumpkin_py-0.0.1a2-py3-none-any.whl
- Upload date:
- Size: 20.5 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: python-requests/2.26.0
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | fc8e79f11604a0d6f3047f24fe0296648a0006d1929abd57d97e6945fb6b52be |
|
MD5 | 19b2c337b562eea0cc86ce8823c3ef6c |
|
BLAKE2b-256 | d7feec8ace3a8edfe86f18a1650f5eb70a32ca076b7b707f4a2f8516379415bd |