Locus extends RangeLocation implements Comparable<Locus> { public String getContig() { return contig; } Locus(final String contig, final int start, final int end);  Locus(final String contig, final RangeLocation range); final int getStart(); final int getEnd(); boolean isPointLocation(); String getContig(); Locus intersection(final Locus right); Locus union(final Locus right); final int length(); boolean isEmpty(); boolean overlaps(final Locus right); @Override boolean equals(final Object right); @Override int compareTo(Locus right); @Override int hashCode(); @Override String toString();  }
@Test public void testGetContig() { Locus locus1 = new Locus("chr6", 29942488, 29943994); Locus locus2 = new Locus("chr6", 29942554, 29942626); Locus locus3 = new Locus("chr7", 29942554, 29942626); }