Releases: althonos/pyhmmer
Releases · althonos/pyhmmer
v0.11.0
Added
- Missing type annotations to specific options of
LongTargetsPipeline
. __len__
implementation forHMMPressedFile
using the entries in the SSI index.- Setters for residue-wise annotation properties in
HMM
. - Support for process-based parallelism in
pyhmmer.hmmer
in addition to thread-based. - Read-only buffer protocol implementation for
TextSequence
andDigitalSequence
classes.
Changed
- Drop support for Python 3.6.
- Use CMake and
scikit-build-core
to build the package instead ofsetuptools
. - Use
TypedDict
API to mark allowed keyword arguments inpyhmmer.hmmer
functions. - Reorganize detection and handling of alphabets for arbitrary queries in
pyhmmer.hmmer
. - Allow passing a
SequenceFile
to mostpyhmmer.hmmer
functions. - Use faster
PyUnicode_FromStringAndSize
function to decode strings of known lengths in severalplan7
classes. - Make
SequenceFile
andMSAFile
generic on the individual sequence and MSA types. - Reorganize
pyhmmer.hmmer
into different submodules.
Fixed
- Type annotations not using
typing-extensions
for Python3.8 to 3.10. - Logic error causing out-of-bounds memory access in
TopHits.__getstate__
. - Avoid creating a new
Pipeline
object when running single-threaded searches inpyhmmer.hmmer
. - Detect the appropriate
SequenceFile
type based on thedigital
flag value (#72).
Removed
- Deprecated properties of
TopHits
(query_name
,query_length
,query_accession
).
v0.10.15
Added
query
propertyTopHits
referencing the original object used to create theTopHits
#76.
Changed
- Require the query object to create a
TopHits
object. - Make
TopHits
generic over itsquery
property. - Deprecate old query properties of
TopHits
(query_name
,query_length
,query_accession
).
Removed
- Detection of SSE flush from
setup.py
(#71).
v0.10.14
v0.10.13
Changed
- Allow
AlphabetMismatch
error to allow for an unknown actual alphabet. - Make
HMMFile
andHMMPressedFile
raiseAlphabetMismatch
on files with mixed alphabets.
Fixed
- Avoid calling
fclose
with null pointers inSequence.write
andMSA.write
.
v0.10.12
v0.10.11
Fixed
- Compilation of Easel and HMMER code not using SSE4.1 extensions.
v0.10.10
Fixed
- Implement
write
function forfopencookie
withoff_t
instead ofoff64_t
for compatibility. - Fix handling of NULL buffers passed to
read
andwrite
methods offopencookie
.
v0.10.9
v0.10.8
Added
- Getter to access the strand of a
Domain
produced by aLongTargetsPipeline
.
Changed
- Display model and cutoff names in
MissingCutoffs
error message, if any. - Allow
LongTargetsPipeline
to be configured with window length and beta parameters. - Make
nhmmer
use the window length and beta from the options when creating aBuilder
.
Fixed
nhmmer
not computing E-values for non-default window lengths (moshi4/pybarrnap#2).SequenceFile
andMSAFile
crashing with a segmentation fault when given the path to a folder rather than a file.