From 59d2725cc7ef9e86251729715e8271422adeb3a7 Mon Sep 17 00:00:00 2001 From: Karthik Gururaj Date: Mon, 4 Jun 2018 09:47:09 -0700 Subject: [PATCH] Add a CI test with non-adjacent genomic intervals --- .../genomicsdb/GenomicsDBImportIntegrationTest.java | 11 +++++++++++ 1 file changed, 11 insertions(+) diff --git a/src/test/java/org/broadinstitute/hellbender/tools/genomicsdb/GenomicsDBImportIntegrationTest.java b/src/test/java/org/broadinstitute/hellbender/tools/genomicsdb/GenomicsDBImportIntegrationTest.java index a71ec6ff0dc..747a82c166d 100644 --- a/src/test/java/org/broadinstitute/hellbender/tools/genomicsdb/GenomicsDBImportIntegrationTest.java +++ b/src/test/java/org/broadinstitute/hellbender/tools/genomicsdb/GenomicsDBImportIntegrationTest.java @@ -80,6 +80,11 @@ public final class GenomicsDBImportIntegrationTest extends CommandLineProgramTes new SimpleInterval("chr20", 17970000, 17980000), new SimpleInterval("chr20", 17980001, 17981445) )); + private static final ArrayList MULTIPLE_NON_ADJACENT_INTERVALS_THAT_WORK_WITH_COMBINE_GVCFS = + new ArrayList(Arrays.asList( + new SimpleInterval("chr20", 17960187, 17969999), + new SimpleInterval("chr20", 17980001, 17981445) + )); private static final ArrayList INTERVAL_3736 = new ArrayList(Arrays.asList(new SimpleInterval("chr6",130365070,146544250))); private static final ArrayList INTERVAL_NONDIPLOID = @@ -126,6 +131,12 @@ public void testGenomicsDBImportFileInputsAgainstCombineGVCFWithMultipleInterval testGenomicsDBAgainstCombineGVCFs(LOCAL_GVCFS, MULTIPLE_INTERVALS_THAT_WORK_WITH_COMBINE_GVCFS, b38_reference_20_21, new String[0]); } + @Test + public void testGenomicsDBImportFileInputsAgainstCombineGVCFWithMultipleNonAdjacentIntervals() throws IOException { + testGenomicsDBAgainstCombineGVCFs(LOCAL_GVCFS, MULTIPLE_NON_ADJACENT_INTERVALS_THAT_WORK_WITH_COMBINE_GVCFS, + b38_reference_20_21, new String[0]); + } + @Test public void testGenomicsDBImportFileInputsAgainstCombineGVCFWithNonDiploidData() throws IOException { testGenomicsDBAgainstCombineGVCFs(Arrays.asList(NA12878_HG37, MULTIPLOID_DATA_HG37), INTERVAL_NONDIPLOID, b37_reference_20_21, new String[0]);