use of com.hartwig.hmftools.common.gc.GCProfile in project hmftools by hartwigmedical.
the class GCAccumulatorTest method testExcludeOverlapAtStart.
@Test
public void testExcludeOverlapAtStart() {
final GenomeRegion region = GenomeRegionFactory.create(CHROMOSOME, 1100, 3000);
final GCAccumulator victim = new GCAccumulator(region);
final GenomeRegionSelector<GCProfile> selector = selector(profile(1001, 0.90), profile(2001, 0.91));
selector.select(region, victim);
assertEquals(0.91, victim.averageGCContent(), EPSILON);
}
Aggregations