Confirming that when stratifying by sample in VE the monomorphic sites for a given sample are not counted for the relevant metrics. Adding integration test to cover it.

This commit is contained in:
Eric Banks 2011-09-08 13:17:34 -04:00
parent c204a08319
commit eaaba6eb51
1 changed files with 20 additions and 0 deletions

View File

@ -14,6 +14,26 @@ public class VariantEvalIntegrationTest extends WalkerTest {
private static String cmdRoot = "-T VariantEval" +
" -R " + b36KGReference;
@Test
public void testStratifySamplesAndExcludeMonomorphicSites() {
WalkerTestSpec spec = new WalkerTestSpec(
buildCommandLine(
"-T VariantEval",
"-R " + b37KGReference,
"--dbsnp " + b37dbSNP132,
"--eval " + variantEvalTestDataRoot + "/CEU.trio.callsForVE.vcf",
"-noEV",
"-EV TiTvVariantEvaluator",
"-ST Sample",
"-BTI eval",
"-o %s"
),
1,
Arrays.asList("6a71b17c19f5914c277a99f45f5d9c39")
);
executeTest("testStratifySamplesAndExcludeMonomorphicSites", spec);
}
@Test
public void testFundamentalsCountVariantsSNPsAndIndels() {
WalkerTestSpec spec = new WalkerTestSpec(