Releases: GeneDx/phenopy
v0.6.0
Overview
This version modernizes most of the codebase, including a refactor to ensure compatibility with Python 3.9
What's Changed
- Update to Python 3.9
- Includes a
pyproject.tomlfile for use withpoetry(removal ofsetup.py) - Now relies on
gensim = ^4.3.0 - Replaces
flake8withruff - Replacement of
unittestwithpytest - Removal of CLI test workflow
- Replacement of
scipy.stats.truncnormfunction with custom truncated normal-simulation functions - Addition of docstrings and type-hinting
- More flexible versioning for
fire,networkx,numpy,pandas,scipythan v0.5.4
Known Issues
phenopyv0.6.0 relies on Python3.9, which is expected to reach end-of-life on 2025-10-05.
Compatibility
Requires >= Python 3.9.
Contributors
- Stephen McGee (@mcgeestephen)
Release Date
Version 0.6.0 was released on June 16, 2023.
v0.5.4
Overview
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.
What's Changed
- Can now handle new column headers of
phenotype.hpoafile from 4/6/2023 release of HPO - Merge pull request #92 from GeneDx/develop by @mcgeestephen
- Bump
requestsfrom 2.25.1 to 2.31.0 by @mcgeestephen in #92 - Removed likelihood of molecular diagnosis code by @mcgeestephen (
likelihood.py,test_likelihood.py) - Removed
likelihood_moldxmodule fromphenopy/__main__.py - Removal of
joblibandlightgbmdependencies by @mcgeestephen - Versions explicitly stated in
setup.pyforfire,networkx,numpy,pandas,scipy
Known Issues
phenopyv0.5.4 relies on Python3.7, which is expected to reach end-of-life on 2023-06-27.vocabwas deprecated from KeyedVector and will throw anAttributeErrorfor applications relying on newergensimversions (>=4.0.0)
Compatibility
Requires >= Python 3.7.
Contributors
- Stephen Mcgee (@mcgeestephen)
Release Date
Version 0.5.4 was released on June 6, 2023.
Fix hpoa
fix installation and distribute data dependencies
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.
Fix release workflow
Use the pipenv environment to build dist/* and upload with twine.
word2vec and likelihood of molecular diagnosis
Major:
- Source code for the phenoseries experiment
- Word2vec scoring functionality
- Use custom disease records for annotation
- Added likelihood of molecular diagnosis functionality
Minor:
- Added Jaccard scoring method
- moved multiprocessing out of main so library usage takes advantage of multiple cpus
- Additional unit tests
Basic scoring functionality
Adds functionality to score two sets of HPO terms without creating records.
Parse hpoa file
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.
v0.4.0
release 0.3.2
*remove rounding
*bibtex