|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object org.utgenome.gwt.utgb.client.bio.Interval
public class Interval
An interval in a genome sequence.
Constructor Summary | |
---|---|
Interval()
|
|
Interval(Interval other)
|
|
Interval(int start,
int end)
|
Method Summary | |
---|---|
void |
accept(GenomeRangeVisitor visitor)
|
void |
adjustToOneOrigin()
|
void |
atomicSetStartAndEnd(int start,
int end)
|
int |
compareTo(Interval other)
|
boolean |
contains(int pos)
|
boolean |
contains(Interval other)
|
protected void |
correctInterval()
|
boolean |
follows(Interval other)
|
String |
getColor()
|
int |
getEnd()
Get the end position of the locus (start <= end) |
String |
getName()
|
int |
getStart()
Get the start position of the locus. |
boolean |
hasOverlap(GenomeRange other)
|
Interval |
intersect(Interval other)
Return the intersected interval with the other |
boolean |
intersectsWith(Interval other)
|
boolean |
isAntiSense()
|
boolean |
isSense()
|
int |
length()
return the length of the data |
boolean |
precedes(Interval other)
|
void |
setEnd(int end)
|
void |
setStart(int start)
|
String |
toJSONArray()
|
String |
toString()
|
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
Constructor Detail |
---|
public Interval()
public Interval(int start, int end)
public Interval(Interval other)
Method Detail |
---|
public String getName()
getName
in interface GenomeRange
public void adjustToOneOrigin()
public boolean isSense()
isSense
in interface GenomeRange
public boolean isAntiSense()
isAntiSense
in interface GenomeRange
public String getColor()
public int getStart()
getStart
in interface GenomeRange
public void setStart(int start)
public void atomicSetStartAndEnd(int start, int end)
protected void correctInterval()
public int getEnd()
getEnd
in interface GenomeRange
public void setEnd(int end)
public int length()
GenomeRange
length
in interface GenomeRange
public boolean hasOverlap(GenomeRange other)
public boolean intersectsWith(Interval other)
public Interval intersect(Interval other)
other
-
public boolean contains(int pos)
public boolean contains(Interval other)
public boolean precedes(Interval other)
public boolean follows(Interval other)
public void accept(GenomeRangeVisitor visitor)
accept
in interface GenomeRange
public int compareTo(Interval other)
compareTo
in interface Comparable<Interval>
public String toJSONArray()
public String toString()
toString
in class Object
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |