java.lang.Object
jalview.annotation.SeqFeature
jalview.annotation.FeatureSet
- All Implemented Interfaces:
- FeatureSetI, SeqFeatureI
- public class FeatureSet
- extends SeqFeature
- implements FeatureSetI
| Methods inherited from class jalview.annotation.SeqFeature |
findOverlap, getEnd, getProducedFeatures, getRefFeature, getScore, getSequenceI, getStart, overlaps, setEnd, setName, setProducedFeatures, setRefFeature, setScore, setSequenceI, setStart, setStrand, setType, toString |
| Methods inherited from interface jalview.annotation.SeqFeatureI |
findOverlap, getEnd, getProducedFeatures, getRefFeature, getScore, getSequenceI, getStart, overlaps, setEnd, setName, setProducedFeatures, setRefFeature, setScore, setSequenceI, setStart, setStrand, setType |
features
private java.util.Vector features
FeatureSet
public FeatureSet()
size
public int size()
- Specified by:
size in interface FeatureSetI
addFeature
public void addFeature(SeqFeatureI feature)
- Specified by:
addFeature in interface FeatureSetI
deleteFeature
public void deleteFeature(SeqFeatureI feature)
- Specified by:
deleteFeature in interface FeatureSetI
deleteFeatureAt
public SeqFeatureI deleteFeatureAt(int i)
- Specified by:
deleteFeatureAt in interface FeatureSetI
getFeatureAt
public SeqFeatureI getFeatureAt(int i)
- Specified by:
getFeatureAt in interface FeatureSetI
setFeatureAt
public void setFeatureAt(int i,
SeqFeatureI sf)
- Specified by:
setFeatureAt in interface FeatureSetI
getFeatures
public java.util.Vector getFeatures()
- Specified by:
getFeatures in interface FeatureSetI
getFeatures
public java.util.Vector getFeatures(long start,
long end)
- Specified by:
getFeatures in interface FeatureSetI
hashFeatures
public java.util.Hashtable hashFeatures()
expand
public void expand(FeatureSetI newfset)
- Specified by:
expand in interface FeatureSetI
group
public void group()
- Specified by:
group in interface FeatureSetI
clump
public void clump()
- Specified by:
clump in interface FeatureSetI
makeSetFeatures
public void makeSetFeatures()
- Specified by:
makeSetFeatures in interface FeatureSetI
sort_by_type
public void sort_by_type()
makeHomolSets
public java.util.Vector makeHomolSets(SeqFeatureI sf)
_splitHomols
public FeatureSetI _splitHomols(SeqFeatureI sf2)
- Method to split a HOMOL feature set into pieces which are more or less
contiguous (less than 10 bases between features).
_countIntrons
public int _countIntrons(SeqFeatureI sf)
makeGeneSets
public java.util.Vector makeGeneSets(SeqFeatureI sf)
getStrand
public int getStrand()
- Description copied from interface:
SeqFeatureI
- Returns the strand of the feature
- Specified by:
getStrand in interface SeqFeatureI- Overrides:
getStrand in class SeqFeature
getName
public java.lang.String getName()
- Description copied from interface:
SeqFeatureI
- Returns the name of the feature
- Specified by:
getName in interface SeqFeatureI- Overrides:
getName in class SeqFeature
getType
public java.lang.String getType()
- Description copied from interface:
SeqFeatureI
- Returns the type string of the feature.
This is used as a more understandable replacement
for the gff column source_tag
- Specified by:
getType in interface SeqFeatureI- Overrides:
getType in class SeqFeature
_setEnds
private void _setEnds()