We've moved!
This site is now read-only. You can find our new documentation site and support forum for posting questions here.
Be sure to read our welcome blog!

Can I use htsjdk Java plugin to return a byte range of a requested chromosome on a .bam/.sam file?

I've read through this documentation: https://samtools.github.io/hts-specs/SAMv1.pdf

From my very rough understanding, the index file requests information from the .bam file by using requesting the bin.

I'm attempting to request a partial file from Google Drive, the only way I can do this is to tell the Drive api a byte range that I want. Is there anything in the htsjdk library that can provide this? Is there any way that I can get a bin number, and somehow get a byte range from that?

Answers

Sign In or Register to comment.