Closed k-krakowski closed 1 year ago
Hi Kamil, thanks for the bug report!
I traced back the bug in the Offsets
class, causing file offsets not to be recorded properly in pyhmmer.hmmer.hmmpress
, causing errors later when trying to load the pressed HMMs. I made a patch which will be released with the upcoming v0.8.0
.
In the meantime, if you really want to press your HMMs you can use the actual hmmpress
from HMMER to press the HMM database, and then load it with PyHMMER. However, most of the PyHMMER interface should accept unpressed HMMs as well, the gain is not that important as compared to HMMER the optimized profile can be built in parallel in different threads!
Hello Martin! I've encountered an error while trying to load into memory pressed hmm database. I'm using current version of pyhmmer (0.7.4). To reproduce this error you can take these steps:
pyhmmer.hmmer.hmmpress(pyhmmer.plan7.HMMFile("ecodf.hmm"), "ecod")
The last one results in:
If I do something wrong, could you give me, please, an example of loading pressed database into RAM? Thanks in advance for your replay ;)