Skip to content
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

Merged
merged 6 commits into from
Nov 8, 2024
Merged

Port of CallableLoci from GATK3 #9031

merged 6 commits into from
Nov 8, 2024

Conversation

jonn-smith
Copy link
Collaborator

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.

@jonn-smith jonn-smith assigned lbergelson and jonn-smith and unassigned jonn-smith Nov 2, 2024
Copy link
Member

@lbergelson lbergelson left a 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.

@jonn-smith
Copy link
Collaborator Author

@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>
Copy link
Member

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 {
Copy link
Member

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.

Copy link
Member

@lbergelson lbergelson left a 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.

@lbergelson lbergelson merged commit 3fe011a into master Nov 8, 2024
20 checks passed
@lbergelson lbergelson deleted the jts_callable_loci_port branch November 8, 2024 20:54
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants