Join GitHub today
GitHub is home to over 20 million developers working together to host and review code, manage projects, and build software together.
IndexFactory.writeIndex is incorrect for tabix indexes, missing BlockCompressedOutputStream #430
Comments
akiezun
added the
bug
label
Jan 8, 2016
akiezun
referenced
this issue
in broadinstitute/gatk
Jan 8, 2016
Merged
tabix requires TBI + writing TBI uses BlockCompressedOutputStream #1422
droazen
self-assigned this
Jan 8, 2016
|
I think that this could be close, couldn't it? |
magicDGS
added a commit
to magicDGS/htsjdk
that referenced
this issue
Aug 12, 2016
|
|
magicDGS |
275fa9d
|
magicDGS
added a commit
to magicDGS/htsjdk
that referenced
this issue
Sep 1, 2016
|
|
magicDGS |
e785e1e
|
magicDGS
added a commit
to magicDGS/htsjdk
that referenced
this issue
Sep 1, 2016
|
|
magicDGS |
e599f9b
|
lbergelson
closed this
in fbba536
Sep 16, 2016
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
akiezun commentedJan 8, 2016
IndexFactory.writeIndex is incorrect for tabix indexes (does not use BlockCompressedOutputStream) and thus loading the index will blow up (reading does use BlockCompressedInoutStream).
Courtesy of @droazen, we know that compressing the index is indeed the right thing:
"the tbi index itself is supposed to be block compressed. Cf., eg., the code for writing tbi indices in htslib (https://github.com/samtools/htslib/blob/1e2ed48935a58845cecb64880e8cf7553c7db852/hts.c):
"
gatk has a workaround: broadinstitute/gatk#1422