althonos / althonos/pyhmmer

HMM model load speed

オープン
#101 コメント 2 件 リアクション 0 件 担当者 0 名 GitHub で見る
question
主要言語
Cython
スター
170
フォーク
20
平均マージ
58分
マージ済み PR(30日)
1

説明

I noticed in my own work that the pyhmmer HMMFile loading interface is not particularly performant. It's a hacky fix, but:

import io

with open(hmmfile, 'rb') as fh:
with HMMFile(io.BytesIO(fh.read()) as hmm_file:
...

Is about 20-50x faster than using the HMMFile parser directly on the file path on my platform. I'm on WSL - it could be wierdness that way.

コントリビューションガイド

コントリビューションガイドを開く

評価

この issue はまだ評価されていません。

新しい issue をメールで受け取る

初心者向けの GitHub issue を短くまとめたダイジェスト。