-
Notifications
You must be signed in to change notification settings - Fork 589
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
use supplementary alignments to identify large deletions #6092
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.
Ted, I've finished reading the code but I have some questions about the decisions made in findLargeDeletions()
.
Can you please explain?
src/main/java/org/broadinstitute/hellbender/tools/AnalyzeSaturationMutagenesis.java
Outdated
Show resolved
Hide resolved
src/main/java/org/broadinstitute/hellbender/tools/AnalyzeSaturationMutagenesis.java
Show resolved
Hide resolved
src/main/java/org/broadinstitute/hellbender/tools/AnalyzeSaturationMutagenesis.java
Outdated
Show resolved
Hide resolved
src/main/java/org/broadinstitute/hellbender/tools/AnalyzeSaturationMutagenesis.java
Outdated
Show resolved
Hide resolved
src/main/java/org/broadinstitute/hellbender/tools/AnalyzeSaturationMutagenesis.java
Outdated
Show resolved
Hide resolved
src/main/java/org/broadinstitute/hellbender/tools/AnalyzeSaturationMutagenesis.java
Show resolved
Hide resolved
src/main/java/org/broadinstitute/hellbender/tools/AnalyzeSaturationMutagenesis.java
Show resolved
Hide resolved
src/main/java/org/broadinstitute/hellbender/tools/AnalyzeSaturationMutagenesis.java
Show resolved
Hide resolved
src/main/java/org/broadinstitute/hellbender/tools/AnalyzeSaturationMutagenesis.java
Outdated
Show resolved
Hide resolved
src/main/java/org/broadinstitute/hellbender/tools/AnalyzeSaturationMutagenesis.java
Show resolved
Hide resolved
Hi Ted,
For the related method |
Negative overlap lengths are possible, and accounted for. (A negative overlap is a gap.) Line 1644 takes Math.abs(overlapLen), so a gap larger than 2, or an overlap larger than 2 are both rejected. I'll fix up the other helpful suggestions tomorrow, after my presentation. Thank you for those. |
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.
Comments have been addressed.
src/main/java/org/broadinstitute/hellbender/tools/AnalyzeSaturationMutagenesis.java
Outdated
Show resolved
Hide resolved
src/main/java/org/broadinstitute/hellbender/tools/AnalyzeSaturationMutagenesis.java
Show resolved
Hide resolved
src/main/java/org/broadinstitute/hellbender/tools/AnalyzeSaturationMutagenesis.java
Show resolved
Hide resolved
final List<CigarElement> elements = cigar.getCigarElements(); | ||
final int nElements = elements.size(); | ||
if ( nElements < 2 ) return cigar; | ||
final int initialClipLength = getClipLength(elements.get(0)); |
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.
done. it bugs me a little because the methods are inefficient, but so be it.
src/main/java/org/broadinstitute/hellbender/tools/AnalyzeSaturationMutagenesis.java
Outdated
Show resolved
Hide resolved
src/main/java/org/broadinstitute/hellbender/tools/AnalyzeSaturationMutagenesis.java
Outdated
Show resolved
Hide resolved
src/main/java/org/broadinstitute/hellbender/tools/AnalyzeSaturationMutagenesis.java
Show resolved
Hide resolved
src/main/java/org/broadinstitute/hellbender/tools/AnalyzeSaturationMutagenesis.java
Show resolved
Hide resolved
src/main/java/org/broadinstitute/hellbender/tools/AnalyzeSaturationMutagenesis.java
Outdated
Show resolved
Hide resolved
src/main/java/org/broadinstitute/hellbender/tools/AnalyzeSaturationMutagenesis.java
Outdated
Show resolved
Hide 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.
👍
1844d25
to
d9e3768
Compare
Date: Tue Aug 13 16:20:03 2019 -0400
d9e3768
to
cce63c1
Compare
No description provided.