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

CombineGVCFs --break-bands-at-multiples-of can generate invalid intermediate intervals #4672

Closed
cmnbroad opened this issue Apr 18, 2018 · 0 comments
Assignees
Milestone

Comments

@cmnbroad
Copy link
Collaborator

cmnbroad commented Apr 18, 2018

This happens whenever the start position of an interval for which intermediate bands must be created is less than the value of break-bands-at-multiples-of. For example, an input reference block record with a start position (say 1) that is less than the value of of break-bands-at-multiples-of (say 10000) would result in the invalid intermediate band interval:

java.lang.IllegalArgumentException: Invalid interval. Contig:chr21 start:-1 end:-1

	at org.broadinstitute.hellbender.utils.Utils.validateArg(Utils.java:687)
	at org.broadinstitute.hellbender.utils.SimpleInterval.validatePositions(SimpleInterval.java:61)
	at org.broadinstitute.hellbender.utils.SimpleInterval.<init>(SimpleInterval.java:37)
	at org.broadinstitute.hellbender.tools.walkers.CombineGVCFs.createIntermediateVariants(CombineGVCFs.java:191)
	at org.broadinstitute.hellbender.tools.walkers.CombineGVCFs.apply(CombineGVCFs.java:134)

This doesn't happen in GATK3.

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

No branches or pull requests

2 participants