AllelePosition { public static boolean isSymbolic(String ref, String alt) { return isSymbolic(alt) || isSymbolic(ref); } private  AllelePosition(int pos, String ref, String alt); static AllelePosition of(int pos, String ref, String alt); static AllelePosition trim(int pos, String ref, String alt); static boolean isSnv(String ref, String alt); static boolean isDeletion(String ref, String alt); static boolean isInsertion(String ref, String alt); static boolean isSymbolic(String ref, String alt); int getPos(); String getRef(); String getAlt(); boolean isSymbolic(); @Override boolean equals(Object o); @Override int hashCode(); @Override String toString();  }
@Test void testIsSymbolic() { assertThat(AllelePosition.of(4477084, "C", "<DEL:ME:ALU>").isSymbolic(), is(true)); assertThat(AllelePosition.of(321681, "G", "G]17:198982]").isSymbolic(), is(true)); assertThat(AllelePosition.of(0, "N", ".[13 : 123457[").isSymbolic(), is(true)); assertThat(AllelePosition.of(0, "C", "C.").isSymbolic(), is(true)); assertThat(AllelePosition.of(4477084, "<INS>", "A").isSymbolic(), is(true)); }