-
Notifications
You must be signed in to change notification settings - Fork 594
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
update htsjdk to 2.19.0 #5812
update htsjdk to 2.19.0 #5812
Conversation
build.gradle
Outdated
@@ -54,16 +54,19 @@ repositories { | |||
url "https://broadinstitute.jfrog.io/broadinstitute/libs-snapshot/" //for htsjdk snapshots | |||
} | |||
|
|||
maven { |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
This can go once we update to the new disq.
Files.deleteIfExists(path); | ||
} | ||
public static void deleteRecursively(final Path rootPath) { | ||
IOUtil.recursiveDelete(rootPath); |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
New implementation in htsjdk. We might want to just remove this one actually.
@@ -209,7 +209,8 @@ public void testBCFIndex() { | |||
checkIndex(index, Arrays.asList("1")); | |||
} | |||
|
|||
@Test(expectedExceptions = UserException.CouldNotIndexFile.class) | |||
// test disabled until https://github.com/samtools/htsjdk/issues/1323 is resolved | |||
@Test(enabled = false) |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
this is resolved but needs yet another htsjdk release to fix.
This should add support for reading bam files with CSI indexes, as well as porting the FastaReferenceWriter to htsjdk and a lot of other changes to htsjdk. @samuelklee This includes the overlap detector optimizations you wanted as well as the changes to let you write interval file to paths. |
Disq 0.3.0 has now been released. |
8ede8e2
to
0065758
Compare
Codecov Report
@@ Coverage Diff @@
## master #5812 +/- ##
==============================================
- Coverage 87.045% 87.04% -0.005%
+ Complexity 32198 32059 -139
==============================================
Files 1979 1976 -3
Lines 147553 147004 -549
Branches 16239 16162 -77
==============================================
- Hits 128437 127952 -485
+ Misses 13193 13154 -39
+ Partials 5923 5898 -25
|
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Two questions for you @cmnbroad, then feel free to merge (assuming you are satisfied that the Picard dependency issues have been sorted out).
@@ -82,7 +83,10 @@ | |||
public void onTraversalStart() { | |||
final Path path = IOUtils.getPath(output); | |||
try { | |||
writer = new FastaReferenceWriter(path, basesPerLine, true, true); |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Is the behavior previously controlled by the two true
booleans here being preserved in the new FastaReferenceWriterBuilder
call?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Looks like these were makeFai
and makeDict
, both of which are true
by default in the new builder.
@@ -209,7 +209,8 @@ public void testBCFIndex() { | |||
checkIndex(index, Arrays.asList("1")); | |||
} | |||
|
|||
@Test(expectedExceptions = UserException.CouldNotIndexFile.class) | |||
// test disabled until https://github.com/samtools/htsjdk/issues/1323 is resolved |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Do we have a GATK issue to track this, and remind us to re-enable this test in the future?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
470b36b
to
8140531
Compare
* Updating htsjdk 2.18.2 -> 2.19.0 * Updating disq 0.2.0 -> 0.3.0 * Disabling test that was relying on broken behavior that was fixed in htsjdk * Removing code that has migrated to htsjdk
This also includes an upgrade to Picard 2.19, so its in sync with htsjdk now. |
Changed necessary for htsjdk 2.19.0, but we're blocked by disq-bio/disq#95.
We might also want to wait for broadinstitute/picard#1297 to be incorporated although I think it's ok not to wait.