From 48ce08e66251b9c9f4f02c2efe6b908e1dafcda5 Mon Sep 17 00:00:00 2001 From: Martin Larralde <martin.larralde@embl.de> Date: Sun, 25 Jun 2023 23:41:53 +0200 Subject: [PATCH] Release v0.3.0 --- CHANGELOG.md | 16 +++++++++++++++- lightmotif-bench/Cargo.toml | 2 +- lightmotif-py/Cargo.toml | 4 ++-- lightmotif-py/lightmotif/__init__.py | 2 +- lightmotif-tfmpvalue/Cargo.toml | 4 ++-- lightmotif-transfac/Cargo.toml | 4 ++-- lightmotif/Cargo.toml | 2 +- 7 files changed, 24 insertions(+), 10 deletions(-) diff --git a/CHANGELOG.md b/CHANGELOG.md index aa0d0da..108f86a 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -6,7 +6,21 @@ and this project adheres to [Semantic Versioning](http://semver.org/spec/v2.0.0. ## [Unreleased] -[Unreleased]: https://github.com/althonos/lightmotif/compare/v0.2.0...HEAD +[Unreleased]: https://github.com/althonos/lightmotif/compare/v0.3.0...HEAD + + +## [v0.3.0] - 2023-06-25 +[v0.3.0]: https://github.com/althonos/lightmotif/compare/v0.2.0...v0.3.0 + +### Changed +- Rewrite the SSE2 maximum search implementation using a generic number of columns. +- Refactor `lightmotif::pwm` to avoid infinite odds-ratio for columns with zero background frequencies. + +### Added +- `lightmotif-tfmpvalue` crate implementing the TFMPvalue for computing p-values for a `ScoringMatrix`. +- `DenseMatrix::from_rows` method to create a dense matrix from an iterable of rows. +- `PartialEq` implementation for matrices in `lightmotif`. +- Methods to compute the minimum and maximum scores of a `ScoringMatrix`. ## [v0.2.0] - 2023-05-15 diff --git a/lightmotif-bench/Cargo.toml b/lightmotif-bench/Cargo.toml index 902d70d..8454288 100644 --- a/lightmotif-bench/Cargo.toml +++ b/lightmotif-bench/Cargo.toml @@ -1,6 +1,6 @@ [package] name = "lightmotif-bench" -version = "0.2.0" +version = "0.3.0" edition = "2021" publish = false diff --git a/lightmotif-py/Cargo.toml b/lightmotif-py/Cargo.toml index f5b1784..a321471 100644 --- a/lightmotif-py/Cargo.toml +++ b/lightmotif-py/Cargo.toml @@ -1,6 +1,6 @@ [package] name = "lightmotif-py" -version = "0.2.0" +version = "0.3.0" authors = ["Martin Larralde <martin.larralde@embl.de>"] edition = "2021" license = "MIT" @@ -17,7 +17,7 @@ path = "lightmotif/lib.rs" [dependencies.lightmotif] path = "../lightmotif" -version = "0.2.0" +version = "0.3.0" [dependencies] pyo3 = "0.18.3" generic-array = "0.14" diff --git a/lightmotif-py/lightmotif/__init__.py b/lightmotif-py/lightmotif/__init__.py index 8ac0483..3085e53 100644 --- a/lightmotif-py/lightmotif/__init__.py +++ b/lightmotif-py/lightmotif/__init__.py @@ -1,4 +1,4 @@ -__version__ = "0.2.0" +__version__ = "0.3.0" from . import lib from .lib import ( diff --git a/lightmotif-tfmpvalue/Cargo.toml b/lightmotif-tfmpvalue/Cargo.toml index e72864f..1217025 100644 --- a/lightmotif-tfmpvalue/Cargo.toml +++ b/lightmotif-tfmpvalue/Cargo.toml @@ -1,6 +1,6 @@ [package] name = "lightmotif-tfmpvalue" -version = "0.2.0" +version = "0.3.0" authors = ["Martin Larralde <martin.larralde@embl.de>"] edition = "2021" license = "GPL-3.0" @@ -13,7 +13,7 @@ keywords = ["bioinformatics", "motif", "pssm", "pvalue"] [dependencies.lightmotif] path = "../lightmotif" -version = "0.2.0" +version = "0.3.0" [dependencies.fnv] version = "1.0" optional = true diff --git a/lightmotif-transfac/Cargo.toml b/lightmotif-transfac/Cargo.toml index bd1ce73..d365b57 100644 --- a/lightmotif-transfac/Cargo.toml +++ b/lightmotif-transfac/Cargo.toml @@ -1,6 +1,6 @@ [package] name = "lightmotif-transfac" -version = "0.2.0" +version = "0.3.0" authors = ["Martin Larralde <martin.larralde@embl.de>"] edition = "2021" license = "MIT" @@ -13,7 +13,7 @@ keywords = ["bioinformatics", "motif", "parser", "transfac"] [dependencies.lightmotif] path = "../lightmotif" -version = "0.2.0" +version = "0.3.0" [dependencies] nom = "7" memchr = "2" diff --git a/lightmotif/Cargo.toml b/lightmotif/Cargo.toml index ac1a62c..42004dd 100644 --- a/lightmotif/Cargo.toml +++ b/lightmotif/Cargo.toml @@ -1,6 +1,6 @@ [package] name = "lightmotif" -version = "0.2.0" +version = "0.3.0" authors = ["Martin Larralde <martin.larralde@embl.de>"] edition = "2021" license = "MIT" -- GitLab