CanonicalTranscriptFactory { @NotNull public static List<CanonicalTranscript> create(@NotNull Collection<HmfTranscriptRegion> regions) { final List<CanonicalTranscript> transcripts = Lists.newArrayList(); for (final HmfTranscriptRegion region : regions) { final CanonicalTranscript transcript = create(region); transcripts.add(transcript); } return transcripts; } private  CanonicalTranscriptFactory(); @NotNull static List<CanonicalTranscript> create37(); @NotNull static List<CanonicalTranscript> create38(); @NotNull static List<CanonicalTranscript> create(@NotNull Collection<HmfTranscriptRegion> regions);  }
@Test public void testKRAS() { final HmfTranscriptRegion kras = select("KRAS.tsv"); final CanonicalTranscript transcript = CanonicalTranscriptFactory.create(kras); assertTranscript(transcript, 6, 4, 1119, 189); assertEquals(25368375, transcript.codingStart()); assertEquals(25398318, transcript.codingEnd()); }
@Test public void testPTEN() { final HmfTranscriptRegion region = select("PTEN.tsv"); final CanonicalTranscript transcript = CanonicalTranscriptFactory.create(region); assertTranscript(transcript, 9, 9, 9027, 403); }
@Test public void testWASH7P() { final HmfTranscriptRegion region = select("WASH7P.tsv"); final CanonicalTranscript transcript = CanonicalTranscriptFactory.create(region); assertTranscript(transcript, 12, 0, 1783, 0); }