Releases: althonos/pyhmmer
Releases · althonos/pyhmmer
0.1.1
Fixed
HMMFile
callingfile.peek
without arguments, causing it to crash when passed some types, e.g.gzip.GzipFile
.HMMFile
failing to work with PyPy file objects because of a bug with their implementation ofreadinto
.- C/Python file object implementation using
strcpy
instead ofmemcpy
, causing issues when null bytes were read.
0.1.0
Initial beta release.
Fixed
TextSequence
uses the sequence argument it's given on instantiation.- Segmentation fault in
Sequence.__eq__
caused by implicit type conversion. - Segmentation fault on
SequenceFile.read
failure. - Missing type annotations for the
pyhmmer.easel
module.
0.1.0-a5
Added
Sequence.__len__
magic method so thatlen(seq)
returns the number of letters inseq
.- 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
topyhmmer.easel.SSIWriter
.write
method topyhmmer.plan7.OptimizedProfile
to write an optimized profile in binary format.offsets
property to interact with the disk offsets of apyhmmer.plan7.OptimizedProfile
instance.pyhmmer.hmmer.hmmpress
emulating thehmmpress
binary from HMMER.M
property topyhmmer.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 anEOFError
when given an empty file.- Renamed
length
property toL
inpyhmmer.plan7.Background
.
Fixed
- Segmentation fault when
close
method ofpyhmmer.easel.SSIWriter
was called more than once. close
method ofpyhmmer.easel.SSIWriter
not writing the index contents.
0.1.0-a4
Added
MSA
,TextMSA
andDigitalMSA
classes representing a multiple sequence alignment topyhmmer.easel
.- Methods and protocol to copy a
Sequence
and aMSA
. pyhmmer.plan7.OptimizedProfile
wrapping a platform-specific optimized profile.SSIReader
andSSIWriter
classes interacting with sequence/subsequence indices topyhmmer.easel
.- Exception handler using Python exceptions to report Easel errors.
Changed
pyhmmer.hmmsearch
returns an iterator ofTopHits
, with one instance perHMM
in the input.pyhmmer.hmmsearch
properly raises errors happenning in the background threads without deadlock.pyhmmer.plan7.Pipeline
recycles memory betweenPipeline.search
calls.
Fixed
- Missing type annotations for the
pyhmmer.errors
module.
Removed
- Unneeded or private methods from
pyhmmer.plan7
.
0.1.0-a3
Added
TextSequence
andDigitalSequence
representing aSequence
in a given mode.- E-value properties to
Hit
andDomain
. TopHits
now stores a reference to the pipeline it was obtained from.Pipeline.Z
andPipeline.domZ
properties.- Experimental pickling support to
Alphabet
. - Experimental freelist to
Sequence
class to avoid allocation bottlenecks when iterating on aSequenceFile
without recycling sequence buffers.
Changed
- Made
Sequence
an abstract base class. - Additional
Pipeline
parameters can be passed as keyword arguments topyhmmer.hmmsearch
. SequenceFile.read
can now be configured to skip reading the metadata or the content of a sequence.
Removed
- Redundant
SequenceFile
methods.
Fixed
doctest
loader crashing on Python 3.5.TopHits.threshold
segfaulting when being called without priorTophits.sort
call- Unknown
format
argument toSequenceFile
constructor not raising the right error.
0.1.0-a2
Added
- Support for compilation on PowerPC big-endian platforms.
- Type annotations and stub files for Cython modules.
Changed
distutils
is now used to compile the package, instead of callingautotools
and letting HMMER configure itself.Bitfield.count
now allows passing an argument (for compatibility withcollections.abc.Sequence
).