-
Notifications
You must be signed in to change notification settings - Fork 597
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
Port of CallableLoci
from GATK3
#9031
Conversation
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.
@jonn-smith I have some comments. I noticed a few things that are minor bugs around the inputs, and then there are some style things I would probably change.
src/main/java/org/broadinstitute/hellbender/tools/walkers/coverage/CallableLoci.java
Outdated
Show resolved
Hide resolved
src/main/java/org/broadinstitute/hellbender/tools/walkers/coverage/CallableLoci.java
Outdated
Show resolved
Hide resolved
src/main/java/org/broadinstitute/hellbender/tools/walkers/coverage/CallableLoci.java
Show resolved
Hide resolved
src/main/java/org/broadinstitute/hellbender/tools/walkers/coverage/CallableLoci.java
Outdated
Show resolved
Hide resolved
src/main/java/org/broadinstitute/hellbender/tools/walkers/coverage/CallableLoci.java
Outdated
Show resolved
Hide resolved
src/main/java/org/broadinstitute/hellbender/tools/walkers/coverage/CallableLoci.java
Outdated
Show resolved
Hide resolved
src/main/java/org/broadinstitute/hellbender/tools/walkers/coverage/CallableLoci.java
Outdated
Show resolved
Hide resolved
src/main/java/org/broadinstitute/hellbender/tools/walkers/coverage/CallableLoci.java
Outdated
Show resolved
Hide resolved
src/main/java/org/broadinstitute/hellbender/tools/walkers/coverage/CallableLoci.java
Outdated
Show resolved
Hide resolved
...t/java/org/broadinstitute/hellbender/tools/walkers/coverage/CallableLociIntegrationTest.java
Outdated
Show resolved
Hide resolved
src/main/java/org/broadinstitute/hellbender/tools/walkers/coverage/CallableLoci.java
Outdated
Show resolved
Hide resolved
@lbergelson @cmnbroad Thanks for the comments. This was an interesting first experiment in using LLM-assisted coding. Looks like it doesn't understand our codebase quite as well as I would like, though it did produce working code. I'll see if I can tweak things in the future. In the meantime, back to you @lbergelson for another round if you like. |
@@ -46,9 +49,9 @@ | |||
* <dt>LOW_COVERAGE</dt> | |||
* <dd>There were fewer than min. depth bases at the locus, after applying filters</dd> | |||
* <dt>EXCESSIVE_COVERAGE</dt> | |||
* <dd>More than -maxDepth read at the locus, indicating some sort of mapping problem</dd> | |||
* <dd>More than --max-depth read at the locus, indicating some sort of mapping problem</dd> |
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.
good catch, I didn't see these.
} | ||
} | ||
|
||
private static class StateCounter { |
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.
👍 I know it's a few more lines but I think it's much clearer.
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.
@jonn-smith Thanks for making the changes. I know they were kind of nitpicky but I think its better this way.
Ported
CallableLoci
from GATK3 as an experimental tool.I have not included tests, but have verified on a test file that the statistics and regions are basically identical to the GATK3 results.