This site is now read-only. You can find our new documentation site and support forum for posting questions here.
Be sure to read our welcome blog!
How to use breakBandsAtMultiplesOf
I am using gatk3.7. combinegvcfs allows a large cohort to be called with genotypegvcfs. I also wish to use -L flag to combinegvcfs to shard the calculations by genomic location. Other guides also recommend '-ip 500' to ensure genotypegvcfs has context around the ends of the region to make correct calls.
Naively applying the above logic results in this warning:
WARN 13:19:15,638 CombineGVCFs - You have asked for an interval that cuts in the middle of one or more gVCF blocks. Please note that this will cause you to lose records that don't end within your interval.
--breakBandsAtMultiplesOf apparently solves this issue;
However I am still getting the warning. I am unsure if my region logic is off by one, or the ip flag is having an effect, or something different?
Example region throwing a warning:
-L 9:50199356-62749194 --breakBandsAtMultiplesOf 12549839
50199356 % 12549839 == 0
Example python region generating code to try to deal with the off by one weirdness:
list(map(lambda s: (s,s-1), pairwise(chain(, range(0, chr_len, region_len)[1:], [chr_len + 1]))))
What is the correct way to shard gvcfs for genotypegvcfs? How do I use breakBandsAtMultiplesOf?