|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
public interface RangeI
| Field Summary | |
|---|---|
static java.lang.String |
NO_NAME
The type String to use for features that have no other name. |
static java.lang.String |
NO_TYPE
The type String to use for features that have no other type. |
| Method Summary | |
|---|---|
boolean |
canHaveChildren()
If RangeI is an instanceof FeatureSetI and FeatureSetI.hasChildFeatures is true then return true. |
boolean |
contains(int position)
|
boolean |
contains(RangeI sf)
Returns true if range of sf is entierly within this RangeI |
void |
convertFromBaseOrientedToInterbase()
Converts base oriented range to interbase range |
void |
convertFromInterbaseToBaseOriented()
Converts interbase range to base oriented range |
int |
getEnd()
|
java.lang.String |
getFeatureType()
getType is not the "visual" type, ie the type one sees in the EvidencePanel. |
int |
getHigh()
|
int |
getLeftOverlap(RangeI sf)
|
int |
getLow()
|
java.lang.String |
getName()
In the case where the range is chromosomal the name is the chromosome name |
RangeI |
getRangeClone()
Returns clone of self |
SequenceI |
getRefSequence()
Retrieve the SequenceI that this feature annotates. |
java.lang.String |
getResidues()
|
int |
getRightOverlap(RangeI sf)
|
int |
getStart()
|
int |
getStrand()
|
boolean |
hasFeatureType()
convenience method returns !getType()==NO_TYPE |
boolean |
hasName()
return true if name !equal NO_NAME |
boolean |
hasRefSequence()
return false if no ref seq, ranges should generally have ref seq, only during initialization might it not |
boolean |
isContainedByRefSeq()
Return true if ref seq contains this range |
boolean |
isExactOverlap(RangeI sf)
|
boolean |
isForwardStrand()
|
boolean |
isIdentical(RangeI range)
Returns true if same start,end,type and name. |
boolean |
isSequenceAvailable(int position)
|
int |
length()
|
boolean |
overlaps(RangeI sf)
|
boolean |
rangeIsUnassigned()
Return true if range has been assigned high & low |
boolean |
sameRange(RangeI r)
Return true if start and end are equal |
void |
setEnd(int end)
|
void |
setFeatureType(java.lang.String type)
|
void |
setHigh(int high)
|
void |
setLow(int low)
|
void |
setName(java.lang.String name)
|
void |
setRefSequence(SequenceI refSeq)
Set the SequenceI that this feature annotates. |
void |
setStart(int start)
|
void |
setStrand(int strand)
|
| Field Detail |
|---|
static final java.lang.String NO_NAME
static final java.lang.String NO_TYPE
| Method Detail |
|---|
java.lang.String getName()
void setName(java.lang.String name)
boolean hasName()
java.lang.String getFeatureType()
void setFeatureType(java.lang.String type)
boolean hasFeatureType()
int getStart()
void setStart(int start)
int getEnd()
void setEnd(int end)
int getLow()
void setLow(int low)
int getHigh()
void setHigh(int high)
boolean isSequenceAvailable(int position)
SequenceI getRefSequence()
boolean hasRefSequence()
void setRefSequence(SequenceI refSeq)
refSeq - the new parent SequenceIboolean isContainedByRefSeq()
java.lang.String getResidues()
int getStrand()
void setStrand(int strand)
boolean isForwardStrand()
int length()
int getLeftOverlap(RangeI sf)
int getRightOverlap(RangeI sf)
boolean isExactOverlap(RangeI sf)
boolean contains(RangeI sf)
boolean contains(int position)
boolean overlaps(RangeI sf)
boolean sameRange(RangeI r)
boolean canHaveChildren()
RangeI getRangeClone()
boolean isIdentical(RangeI range)
boolean rangeIsUnassigned()
void convertFromBaseOrientedToInterbase()
void convertFromInterbaseToBaseOriented()
|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||