-
Notifications
You must be signed in to change notification settings - Fork 602
New issue
Have a question about this project? # for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “#”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? # to your account
leftalignindels: java.lang.IllegalArgumentException: the range cannot contain negative indices #6765
Comments
@davidbenjamin Since the error doesn't occur with GATK 4.1.4.1, it's possible that this is a side effect of the changes to @gbrandt6 Could you or the user test whether the error occurs in GATK 4.1.5.0? If it does, that would definitely implicate #6427 as the source of the regression. |
Yes, this issue occurs in 4.1.5.0 so it looks like #6427 is the source. |
@davidbenjamin Can you let us know whether this is something you'll have a chance to look at, or should we assign it to someone else? It looks like your PR #6427 is the culprit. |
@droazen I will be done with this in a few days. I see what's going on in the debugger and know how to fix it. |
Fixes an "IllegalArgumentException: the range cannot contain negative indices" error in LeftAlignIndels Resolves #6765
Fixes an "IllegalArgumentException: the range cannot contain negative indices" error in LeftAlignIndels Resolves #6765
Bug Report
Affected tool(s) or class(es)
LeftAlignIndels
Affected version(s)
Description
LeftAlignIndels exits with a java IllegalArgumentException. This issue was discussed at the GATK Office Hours. A workaround is using an older GATK version (4.1.4.1), however it still persists in the current GATK version.
Steps to reproduce
Issue was reproduced by the support team using just chr2
Associated forum post
https://gatk.broadinstitute.org/hc/en-us/community/posts/360072506131-leftalignindels-java-lang-IllegalArgumentException-the-range-cannot-contain-negative-indices
Command:
gatk LeftAlignIndels
-R /projects/beck-lab/walawi/GATK/hg38.fa
-I /projects/beck-lab/walawi/GATK/sorted_bam/H1-L_GT19_35266_GACCTGAA-TTGGTGAG_S2.withRG.sorted.bam
-O /projects/beck-lab/walawi/GATK/sorted_bam/leftalignindels/H1-L_GT19_35266_GACCTGAA-TTGGTGAG_S2_leftaligned.withRG.sorted.bam
The text was updated successfully, but these errors were encountered: