Skip to content

Commit

Permalink
revert accidentally removing unit test
Browse files Browse the repository at this point in the history
  • Loading branch information
julie-sullivan committed Oct 3, 2022
1 parent 8b1a280 commit 2858db7
Showing 1 changed file with 21 additions and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -1965,6 +1965,27 @@ private void initGrch38() throws Exception {
variantAnnotationCalculator = new VariantAnnotationCalculator("hsapiens", "GRCh37", dbAdaptorFactory);
}

@Test
public void testMissingClinVar() throws Exception {

Variant variant1 = new Variant("19:11216263:A:AGATTGTAAAGATAAGAGCGAT");
//Variant variant1 = new Variant("19:11216245:C:CCGACTGCAAGGACAAATCTGA");

QueryOptions queryOptions = new QueryOptions("useCache", false);
queryOptions.put("include", "hgvs");
queryOptions.put("normalize", true);
queryOptions.put("skipDecompose", false);
queryOptions.put("checkAminoAcidChange", true);
queryOptions.put("imprecise", true);
queryOptions.put("phased", false);

QueryResult<VariantAnnotation> queryResult = variantAnnotationCalculator.getAnnotationByVariant(variant1, queryOptions);

List<String> hgvs = queryResult.getResult().get(0).getHgvs();
assertEquals(14, hgvs.size());

}

@Test
public void testClinicalVariantsGrch38() throws Exception {

Expand Down

0 comments on commit 2858db7

Please sign in to comment.