Disable shadowBCF for VariantRecalibrationWalkers tests because it cannot handle symbolic alleles yet

This commit is contained in:
Mark DePristo 2012-06-22 13:05:59 -04:00
parent 61f0c46423
commit 7b96263f8b
2 changed files with 3 additions and 1 deletions

View File

@ -79,7 +79,7 @@ public class WalkerTest extends BaseTest {
public void validateOutputBCFIfPossible(final String name, final File resultFile) {
final File bcfFile = BCF2Utils.shadowBCF(resultFile);
if ( bcfFile.exists() ) {
if ( bcfFile != null && bcfFile.exists() ) {
logger.warn("Checking shadow BCF output file " + bcfFile + " against VCF file " + resultFile);
try {
VariantContextTestProvider.assertVCFandBCFFilesAreTheSame(resultFile, bcfFile);

View File

@ -54,6 +54,7 @@ public class VariantRecalibrationWalkersIntegrationTest extends WalkerTest {
" -recalFile %s" +
" -tranchesFile %s",
Arrays.asList(params.recalMD5, params.tranchesMD5));
spec.disableShadowBCF(); // TODO -- enable when we support symbolic alleles
executeTest("testVariantRecalibrator-"+params.inVCF, spec).getFirst();
}
@ -101,6 +102,7 @@ public class VariantRecalibrationWalkersIntegrationTest extends WalkerTest {
" -recalFile %s" +
" -tranchesFile %s",
Arrays.asList(params.recalMD5, params.tranchesMD5));
spec.disableShadowBCF(); // TODO -- enable when we support symbolic alleles
executeTest("testVariantRecalibratorIndel-"+params.inVCF, spec).getFirst();
}