Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
VCF-CSI index reading functionality for TabixReader.class
HTSJDK is unable to read CSI format VCF indexes unlike htslib and bcftools. Implementation/modifications were necessary to update HTSJDK and downstream tools to accept this index format for contigs larger than 2^29-1. CSIIndex class in HTSJDK was implemented for BAM style CSI index which is different from the VCF style CSI index. htslib already contains all the necessary modifications within the tbx.c. TabixReader.class already contains all the necessary code to read chunks from TBI format index files however CSI index requires reordering of byte reading steps and disabling linear index type as opposed to TBI format. Regions to bins (reg2bins) method also needs a new version to accomodate larger contig sizes and bin values. All changes were made in the original TabixReader.class to prevent additional rewiring of new index code back to VCFReader and AbstractFeatureReader classes.
Completed tasks:
Current To-do:
Things to think about before submitting: