Skip to content
Snippets Groups Projects
Commit 5cf94f5d authored by Martin Larralde's avatar Martin Larralde
Browse files

Release v0.4.0

parent 2d0fa41f
No related branches found
Tags v0.5.1
No related merge requests found
......@@ -6,7 +6,45 @@ and this project adheres to [Semantic Versioning](http://semver.org/spec/v2.0.0.
## [Unreleased]
[Unreleased]: https://github.com/althonos/lightmotif/compare/v0.3.0...HEAD
[Unreleased]: https://github.com/althonos/lightmotif/compare/v0.4.0...HEAD
## [v0.4.0] - 2023-08-10
[v0.4.0]: https://github.com/althonos/lightmotif/compare/v0.3.0...v0.4.0
### Changed
#### `lightmotif`
- Improve `DenseMatrix::resize` performance when downsizing.
- Explicitly panic when sequence is too long to be processed with `u32` indices in AVX2 and SSE2.
- Reorganize `DenseMatrix` column alignment and index storage.
- Improve `Score` performance by using pointers instead of slices in SIMD loops.
- Rename `DenseMatrix::columns_effective` to `DenseMatrix::stride`.
- Use streaming intrinsics to store data in AVX2 and SSE2 implementations.
- Rename `BestPosition` trait to `Maximum`.
#### `lightmotif-py`
- Avoid error on missing symbols in `CountMatrix.__init__`
### Added
#### `lightmotif`
- `Threshold` trait to find all position above a certain score in a `StripedScores` matrix.
- `Encode` trait to encode an ASCII sequence into a `Vec<Symbol>`.
- AVX2 implementation of `Score` using `gather` instead of `permute` for protein alphabets.
- `From<Vec<_>>` and `Default` trait implementations to `EncodedSequence`.
- `Alphabet` methods to operate on ASCII strings.
- `StripedScores.is_empty` method to check if a `StripedScores` contains any score.
#### `lightmotif-py`
- `StripedScores.threshold` method wrapping the `Threshold` pipeline operation.
- `StripedScores.max` and `StripedScores.argmax` methods to get the best score and best position.
### Fixed
#### `lightmotif`
- `Score` causing an overflow when given a sequence shorter than the PSSM.
- `Maximum` trait returns the smallest position on equal maxima.
## [v0.3.0] - 2023-06-25
......
[package]
name = "lightmotif-bench"
version = "0.3.0"
version = "0.4.0"
edition = "2021"
publish = false
......
[package]
name = "lightmotif-py"
version = "0.3.0"
version = "0.4.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.3.0"
version = "0.4.0"
[dependencies]
pyo3 = "0.18.3"
generic-array = "0.14"
......
__version__ = "0.3.0"
__version__ = "0.4.0"
from . import lib
from .lib import (
......
[package]
name = "lightmotif-tfmpvalue"
version = "0.3.0"
version = "0.4.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.3.0"
version = "0.4.0"
[dependencies.fnv]
version = "1.0"
optional = true
......
[package]
name = "lightmotif-transfac"
version = "0.3.0"
version = "0.4.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.3.0"
version = "0.4.0"
[dependencies]
nom = "7"
memchr = "2"
[package]
name = "lightmotif"
version = "0.3.0"
version = "0.4.0"
authors = ["Martin Larralde <martin.larralde@embl.de>"]
edition = "2021"
license = "MIT"
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment