-
Notifications
You must be signed in to change notification settings - Fork 1
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #51 from anergictcell/fix/jc-similarity
Fix JC similarity
- Loading branch information
Showing
7 changed files
with
228 additions
and
47 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,119 @@ | ||
# Changelog | ||
|
||
All notable changes to this project will be documented in this file. | ||
|
||
|
||
## [0.8.2] - 2024-03-09 | ||
|
||
### Data | ||
|
||
- Update to HPO 2024-03-09 | ||
|
||
### Refactor | ||
|
||
- Update dependencies | ||
|
||
|
||
## [0.8.1] - 2023-06-25 | ||
|
||
### Feature | ||
|
||
- Derive `Clone` for `Ontology` | ||
|
||
|
||
## [0.8.0] - 2023-05-22 | ||
|
||
### Feature | ||
|
||
- Add method to calculate hypergeometric enrichment of genes and diseases in HpoSets | ||
- Add method to create dendogram clusters based on similarity | ||
|
||
### Refactor | ||
|
||
- Allow custom Similarity implementations to use Matrix | ||
|
||
|
||
## [0.7.1] - 2023-04-27 | ||
|
||
### Refactor | ||
|
||
- Derive `Debug` trait on more public structs | ||
|
||
|
||
## [0.7.0] - 2023-04-22 | ||
|
||
### Feature | ||
|
||
- New method to retrieve the shortest path between two HpoTerm | ||
- Add modifier flag and categories of HpoTerm | ||
|
||
### Refactor | ||
|
||
- Use SmallVec for HpoGroup with default size 30 | ||
- Add more benchmarks | ||
- Improve performance for adding, or-ing and comparing HpoGroups | ||
|
||
|
||
## [0.6.3] - 2023-04-11 | ||
|
||
### Bugfix | ||
|
||
- Fix issue parsing new HPO masterdata format | ||
|
||
|
||
## [0.6.2] - 2023-04-05 | ||
|
||
### Bugfix | ||
|
||
- Fix Subontology to not include all parents or children | ||
|
||
### Refactor | ||
|
||
- Add benchmark tests for Criterion | ||
|
||
|
||
## [0.6.1] - 2023-03-30 | ||
|
||
### Documentation | ||
|
||
- Add plenty of documentation | ||
|
||
|
||
## [0.6.0] - 2023-03-18 | ||
|
||
### Feature | ||
|
||
- Replace obsolete terms in an HpoSet | ||
- allow different versions of binary masterdata | ||
|
||
### Refactor | ||
|
||
- add stricter clippy rules | ||
- switch from `log` to `tracing` | ||
|
||
|
||
## [0.5.0] - 2023-03-07 | ||
|
||
### Refactor | ||
|
||
- clean up Similarity methods | ||
- Simplify iterators across the full crate and add new ones | ||
|
||
|
||
## [0.4.2] - 2023-02-11 | ||
|
||
### Feature | ||
|
||
- new similarity method: Mutation | ||
|
||
|
||
## [0.4.0] - 2023-02-04 | ||
|
||
### Feature | ||
|
||
- Create a sub-ontology | ||
- Calculate hypergeometric enrichment | ||
|
||
### Bugfix | ||
|
||
- Collecting into a HpoGroup will maintain order of the IDs internally |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,32 @@ | ||
# Release checklist | ||
|
||
This document contains the workflows to follow for all changes and releases to `hpo`. | ||
The worklow assures that the `main` branch always holds a functional version of `hpo` with all tests passing. The `main` branch can be ahead of the official `crates.io` release. New versions for `crates.io` releases are created independently of the regular updates and will contain all changes present in the `main` branch at that point. My goal is to automate the version bump and release process using Github Actions at some point. | ||
|
||
This procedure is just a suggestion at this point and can be modified if needs arise. | ||
|
||
|
||
## Regular updates / Normal development | ||
|
||
- [ ] Develop in a dedicated branch (or your own fork): `git checkout -b <MY_FEATURE_NAME>` | ||
- [ ] Rebase onto `main`: `git rebase main <MY_FEATURE_NAME>` | ||
- [ ] Double check for good code, sensible API and well-explained docs | ||
- [ ] Run format, clippy, tests and doc-generation: `cargo fmt --check && cargo clippy && cargo test && cargo doc` | ||
- [ ] Push to remote: `git push -u origin <MY_FEATURE_NAME>` | ||
- [ ] Create merge/pull request to `main` branch | ||
- [ ] Once CICD passes, changes are merged to `main` | ||
|
||
|
||
## Version bumps | ||
|
||
- [ ] Make dedicated branch named after version: `git checkout main && git pull && git checkout -b release/<MAJOR>.<MINOR>.<PATCH>` | ||
- [ ] Update Cargo.toml with new version | ||
- [ ] Update dependencies if needed and possible | ||
- [ ] Check if README or docs need update | ||
- [ ] Add Changelog summary of changes | ||
- [ ] Run format, clippy, tests and doc-generation: `cargo fmt --check && cargo clippy && cargo test && cargo doc` | ||
- [ ] add git tag with version: `git tag v<MAJOR>.<MINOR>.<PATCH>` | ||
- [ ] push to remote, also push tags: `git push -u origin release/<MAJOR>.<MINOR>.<PATCH> && git push tags` | ||
- [ ] Merge into main | ||
- [ ] update main branch locally: `git checkout main && git pull` | ||
- [ ] release to cargo: `cargo release` |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters