Skip to content

0.1.0-a5

Compare
Choose a tag to compare
@althonos althonos released this 28 Nov 17:08
· 1082 commits to master since this release
v0.1.0-a5

Added

  • Sequence.__len__ magic method so that len(seq) returns the number of letters in seq.
  • Python file-handle support when opening an pyhmmer.plan7.HMMFile.
  • Context manager protocol to pyhmmer.easel.SSIWriter.
  • Type annotations for pyhmmer.easel.SSIWriter.
  • add_alias to pyhmmer.easel.SSIWriter.
  • write method to pyhmmer.plan7.OptimizedProfile to write an optimized profile in binary format.
  • offsets property to interact with the disk offsets of a pyhmmer.plan7.OptimizedProfile instance.
  • pyhmmer.hmmer.hmmpress emulating the hmmpress binary from HMMER.
  • M property to pyhmmer.plan7.HMM exposing the number of nodes in the model.

Changed

  • Bumped vendored Easel to v0.48.
  • Bumped vendored HMMER to v3.3.2.
  • pyhmmer.plan7.HMMFile will raise an EOFError when given an empty file.
  • Renamed length property to L in pyhmmer.plan7.Background.

Fixed

  • Segmentation fault when close method of pyhmmer.easel.SSIWriter was called more than once.
  • close method of pyhmmer.easel.SSIWriter not writing the index contents.