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:
parent
c204a08319
commit
eaaba6eb51
|
|
@ -14,6 +14,26 @@ public class VariantEvalIntegrationTest extends WalkerTest {
|
||||||
private static String cmdRoot = "-T VariantEval" +
|
private static String cmdRoot = "-T VariantEval" +
|
||||||
" -R " + b36KGReference;
|
" -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
|
@Test
|
||||||
public void testFundamentalsCountVariantsSNPsAndIndels() {
|
public void testFundamentalsCountVariantsSNPsAndIndels() {
|
||||||
WalkerTestSpec spec = new WalkerTestSpec(
|
WalkerTestSpec spec = new WalkerTestSpec(
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue