|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
public interface FeatureSetI
| Field Summary |
|---|
| Fields inherited from interface apollo.datamodel.RangeI |
|---|
NO_NAME, NO_TYPE |
| Method Summary | |
|---|---|
void |
adjustEdges()
|
void |
adjustEdges(SeqFeatureI sf)
|
SequenceEdit[] |
buildEditList()
|
void |
deleteFeature(SeqFeatureI feature)
The number of directly containd features. |
SeqFeatureI |
deleteFeatureAt(int i)
|
FeatureList |
findFeaturesByAllNames(java.lang.String name)
Search for names and hit names |
FeatureList |
findFeaturesByAllNames(java.lang.String name,
boolean useRegExp)
|
FeatureList |
findFeaturesByAllNames(java.lang.String searchString,
boolean useRegExp,
boolean kidNamesOverParent)
searchString is pattern to search, useRegExp - whether pattern is reg exp, kidNamesOverParent if descendants match then ignore self match |
FeatureList |
findFeaturesByHitName(java.lang.String hname)
|
FeatureList |
findFeaturesByName(java.lang.String name)
|
FeatureList |
findFeaturesByName(java.lang.String name,
boolean kidNamesOverParent)
|
SequenceI |
getHitSequence()
If feat has hit feat, or children with hit feat, then this is the seq associated with the hit or kid hits |
int |
getIndexContaining(int pos)
|
int |
getPositionFrom(int at_pos,
int offset)
|
SequenceEdit |
getSequencingErrorAtPosition(int base_position)
|
int |
getSplicedLength()
|
java.lang.String |
getStartAA()
|
java.lang.String |
getStartCodon()
|
boolean |
hasDescendents()
returns true if the count of the number of leaf features (those that can't have child features themselves) is > 0. |
boolean |
hasNameBeenSet()
|
boolean |
hasReadThroughStop()
|
boolean |
isFlagSet(int flag)
some useful flags, hopefully using minimal space, to pass information about handling through from the parser to the filter when running bop. |
boolean |
isProteinCodingGene()
returns true if this can encode a protein. |
boolean |
isSequencingErrorPosition(int base_position)
|
int |
minus1FrameShiftPosition()
|
int |
plus1FrameShiftPosition()
|
int |
readThroughStopPosition()
|
java.lang.String |
readThroughStopResidue()
|
void |
setFlag(boolean state,
byte mask)
|
void |
setHitSequence(SequenceI seq)
|
boolean |
setMinus1FrameShiftPosition(int shift_pos)
|
boolean |
setPlus1FrameShiftPosition(int shift_pos)
returns false of the frame shift position is unworkable |
void |
setProteinCodingGene(boolean isProteinCodingGene)
A setter is needed for some featureSet, like gene prediction results, which can have translation start and stop whithout being instances of transcripts |
void |
setReadThroughStop(boolean readthrough)
|
void |
setReadThroughStop(java.lang.String residue)
|
void |
sort(int sortStrand)
|
void |
sort(int sortStrand,
boolean byLow)
|
boolean |
unConventionalStart()
|
boolean |
withinCDS(int pos)
Returns true if the position is within the CDS of this feature |
| Methods inherited from interface apollo.datamodel.RangeI |
|---|
canHaveChildren, contains, contains, convertFromBaseOrientedToInterbase, convertFromInterbaseToBaseOriented, getEnd, getFeatureType, getHigh, getLeftOverlap, getLow, getName, getRangeClone, getRefSequence, getResidues, getRightOverlap, getStart, getStrand, hasFeatureType, hasName, hasRefSequence, isContainedByRefSeq, isExactOverlap, isForwardStrand, isIdentical, isSequenceAvailable, length, overlaps, rangeIsUnassigned, sameRange, setEnd, setFeatureType, setHigh, setLow, setName, setRefSequence, setStart, setStrand |
| Methods inherited from interface apollo.datamodel.TranslationI |
|---|
calcTranslationStartForLongestPeptide, getLastBaseOfStopCodon, getTranslationEnd, getTranslationRange, getTranslationStart, hasTranslationEnd, hasTranslationStart, isMissing3prime, isMissing5prime, setMissing3prime, setMissing5prime, setPeptideValidity, setTranslationEnd, setTranslationEndFromStart, setTranslationStart, setTranslationStart |
| Method Detail |
|---|
void deleteFeature(SeqFeatureI feature)
SeqFeatureI deleteFeatureAt(int i)
int getIndexContaining(int pos)
boolean hasDescendents()
void adjustEdges()
void adjustEdges(SeqFeatureI sf)
void sort(int sortStrand)
void sort(int sortStrand,
boolean byLow)
boolean hasNameBeenSet()
FeatureList findFeaturesByHitName(java.lang.String hname)
FeatureList findFeaturesByName(java.lang.String name)
FeatureList findFeaturesByName(java.lang.String name,
boolean kidNamesOverParent)
FeatureList findFeaturesByAllNames(java.lang.String name)
FeatureList findFeaturesByAllNames(java.lang.String name,
boolean useRegExp)
FeatureList findFeaturesByAllNames(java.lang.String searchString,
boolean useRegExp,
boolean kidNamesOverParent)
int getPositionFrom(int at_pos,
int offset)
boolean withinCDS(int pos)
boolean isProteinCodingGene()
isProteinCodingGene in interface SeqFeatureIvoid setProteinCodingGene(boolean isProteinCodingGene)
boolean unConventionalStart()
java.lang.String getStartCodon()
java.lang.String getStartAA()
boolean hasReadThroughStop()
java.lang.String readThroughStopResidue()
void setReadThroughStop(boolean readthrough)
void setReadThroughStop(java.lang.String residue)
int readThroughStopPosition()
int plus1FrameShiftPosition()
int minus1FrameShiftPosition()
boolean setPlus1FrameShiftPosition(int shift_pos)
boolean setMinus1FrameShiftPosition(int shift_pos)
boolean isSequencingErrorPosition(int base_position)
SequenceEdit getSequencingErrorAtPosition(int base_position)
SequenceEdit[] buildEditList()
SequenceI getHitSequence()
SeqFeatureI
getHitSequence in interface SeqFeatureIvoid setHitSequence(SequenceI seq)
int getSplicedLength()
boolean isFlagSet(int flag)
void setFlag(boolean state,
byte mask)
|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||