use of au.edu.wehi.idsv.DiscordantReadPair in project gridss by PapenfussLab.
the class PathNodeIteratorTest method should_assemble_adjacent_sc_rp.
@Test
public void should_assemble_adjacent_sc_rp() {
SoftClipEvidence sc = SCE(FWD, withSequence("GTGGTCGACC", Read(0, 50, "4M6S")));
DiscordantReadPair rp = (DiscordantReadPair) NRRP(SES(10, 200), withSequence("GACCT", DP(0, 25, "5M", true, 1, 1, "5M", false)));
List<KmerPathNode> result = asCheckedKPN(5, 1000, sc, rp);
assertCompleteGraph(result, 5);
assertEquals(2, result.size());
assertEquals(1, result.stream().mapToInt(n -> n.next().size()).sum());
assertEquals(1, result.stream().mapToInt(n -> n.prev().size()).sum());
}
Aggregations