-
Notifications
You must be signed in to change notification settings - Fork 199
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
Add CSI index support for BAM and VCF #1086
Conversation
This looks good! My only gripe is that it's implemented in the old dojo style, so we are going to have to put in some extra work later to move it out into a node module. |
Would it be possible to support this for GFF3Tabix as well? this might allow for more informative feature density plots as you can set the step size for the index... |
@thomasvangurp Hopefully #1105 delivers support for CSI indexed GFF3Tabix. |
This adds support for using CSI indexes on BAM and VCF
This allows doing coordinates of over a gigabase (or specifically 2^30 which is 1073741824)
It seems effective! The 64-bit bit manipulations are done using some floating point math specifically multiplying by two and dividing by two. A proper 64 bit math library could potentially be implemented.
Ref #926