Phenotype comparison tools using semantic similarity.
This version modernizes most of the codebase, including a refactor to ensure compatibility with Python 3.9
pyproject.toml
file for use with poetry
(removal of setup.py
)gensim = ^4.3.0
flake8
with ruff
unittest
with pytest
scipy.stats.truncnorm
function with custom truncated normal-simulation functionsfire
, networkx
, numpy
, pandas
, scipy
than v0.5.4phenopy
v0.6.0 relies on Python3.9, which is expected to reach end-of-life on 2025-10-05.Requires >= Python 3.9.
Version 0.6.0 was released on June 16, 2023.
This version incorporates changes to handle new column headers in the phenotype.hpoa
file released for the Human Phenotype Ontology (HPO), updates dependencies, and removes certain code elements and dependencies.
phenotype.hpoa
file from 4/6/2023 release of HPOrequests
from 2.25.1 to 2.31.0 by @mcgeestephen in https://github.com/GeneDx/phenopy/pull/92
likelihood.py
, test_likelihood.py
)likelihood_moldx
module from phenopy/__main__.py
joblib
and lightgbm
dependencies by @mcgeestephensetup.py
for fire
, networkx
, numpy
, pandas
, scipy
phenopy
v0.5.4 relies on Python3.7, which is expected to reach end-of-life on 2023-06-27.vocab
was deprecated from KeyedVector and will throw an AttributeError
for applications relying on newer gensim
versions (>=4.0.0)Requires >= Python 3.7.
Version 0.5.4 was released on June 6, 2023.
Handles the new hpoa file format
Fixes installation by removing code from __init__.py
and distributes data dependencies when phenopy is installed.
Breaking changes occurred by removing code from __init__.py
Breaking Changes:
If you use from phenopy import generate_annotated_hpo_network
, it should now be from phenopy.build_hpo import generate_annotated_hpo_network
.
Use the pipenv environment to build dist/*
and upload with twine
.
Major:
Minor:
Adds functionality to score two sets of HPO terms without creating records
.
This fixes a bug when parsing the updated hpoa format. The new format simply adds a leading hash to the line containing the field names.
*remove rounding *bibtex