-
-
Notifications
You must be signed in to change notification settings - Fork 20
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
so slowly of extract sequence by coord #29
Comments
From a quick skim, it looks like indexing is poorly optimized. I don't have time to change it right now, but a few observations:
|
Actually we should just leverage the "linebase" and "linewidth" information from the index to do this in O(1) time. I can make a PR to make this efficient when I have time (probably in a week or so). |
Thanks a lot, maybe refer to pyfaidx or htslib! |
Merged
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
if use samtools faidx ,it is much faster
The text was updated successfully, but these errors were encountered: