Skip to content

v0.9.0

Compare
Choose a tag to compare
@althonos althonos released this 02 Sep 22:47
· 90 commits to main since this release
v0.9.0

Added

lightmotif

  • DenseMatrix::ravel to get the array of a DenseMatrix as a single continuous slice.

lightmotif-py

  • Support for protein alphabets (#5).
  • protein property to CountMatrix, WeightMatrix, ScoringMatrix, EncodedSequence and StripedSequence.
  • Scanner class to use the new DNA scanning algorithm.
  • Buffer protocol implmementation for ScoringMatrix objects.
  • lightmotif.load function to load one or more Motif from a file-like object (#6).
  • Motif.name property to store the optional name of a Motif.
  • Several Motif subclasses to store motif and metadata loaded from a file.
  • Type annotations for the lightmotif.lib package.

Fixed

lightmotif-io

  • Parsing of floating-point numbers in JASPAR parser.
  • Panic on error unwrapping in lightmotif-io.

Changed

lightmotif

  • Rewrite DenseMatrix with constant platform-specific alignment to reduce amount of unsafe code.

Removed

lightmotif-py

  • alphabet parameter of ScoringMatrix and EncodedSequence.