Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
MuTect2: avoid FilterMuTectCalls errors with 0 callable in stats files
Recent versions of MuTect2 can produce associated .stats files with zero callable reads, which causes a filtering error: ``` java.lang.IllegalArgumentException: log10 p: Values must be non-infinite and non-NAN at org.broadinstitute.hellbender.utils.NaturalLogUtils.logSumExp(NaturalLogUtils.java:84) at org.broadinstitute.hellbender.utils.NaturalLogUtils.normalizeLog(NaturalLogUtils.java:51) at org.broadinstitute.hellbender.tools.walkers.mutect.clustering.SomaticClusteringModel.clusterProbabilities(SomaticClusteringModel.java:203) at org.broadinstitute.hellbender.tools.walkers.mutect.clustering.SomaticClusteringModel.probabilityOfSequencingError(SomaticClusteringModel.java:96) at org.broadinstitute.hellbender.tools.walkers.mutect.filtering.TumorEvidenceFilter.calculateErrorProbability(TumorEvidenceFilter.java:27) ``` This introduces a workaround to floor this calculation at 1 read. Fixes #2829 Fixes #2832
- Loading branch information