Skip to content

Commit

Permalink
Add a CI test with non-adjacent genomic intervals
Browse files Browse the repository at this point in the history
  • Loading branch information
kgururaj committed Jun 4, 2018
1 parent b3133dd commit 59d2725
Showing 1 changed file with 11 additions and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -80,6 +80,11 @@ public final class GenomicsDBImportIntegrationTest extends CommandLineProgramTes
new SimpleInterval("chr20", 17970000, 17980000),
new SimpleInterval("chr20", 17980001, 17981445)
));
private static final ArrayList<SimpleInterval> MULTIPLE_NON_ADJACENT_INTERVALS_THAT_WORK_WITH_COMBINE_GVCFS =
new ArrayList<SimpleInterval>(Arrays.asList(
new SimpleInterval("chr20", 17960187, 17969999),
new SimpleInterval("chr20", 17980001, 17981445)
));
private static final ArrayList<SimpleInterval> INTERVAL_3736 =
new ArrayList<SimpleInterval>(Arrays.asList(new SimpleInterval("chr6",130365070,146544250)));
private static final ArrayList<SimpleInterval> INTERVAL_NONDIPLOID =
Expand Down Expand Up @@ -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]);
Expand Down

0 comments on commit 59d2725

Please sign in to comment.