|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
java.lang.Objectapollo.util.SeqFeatureUtil
public class SeqFeatureUtil
| Field Summary | |
|---|---|
protected static org.apache.log4j.Logger |
logger
|
| Constructor Summary | |
|---|---|
SeqFeatureUtil()
|
|
| Method Summary | |
|---|---|
static int |
binarySearch(java.util.Vector v,
Comparator c,
java.lang.Object o,
boolean findSpace)
|
static boolean |
containsFeature(SeqFeatureI container,
SeqFeatureI query)
Returns true if container contains query (or is query) |
static boolean |
equals(CurationSet a,
CurationSet b)
|
static boolean |
equals(FeaturePairI a,
FeaturePairI b)
|
static boolean |
equals(FeatureSetI a,
FeatureSetI b)
|
static boolean |
equals(SeqFeatureI a,
SeqFeatureI b)
|
static boolean |
equals(SequenceI a,
SequenceI b)
|
static boolean |
equalsFeatures(SeqFeatureI a,
SeqFeatureI b)
|
static AnnotatedFeatureI |
getAnnotRoot(AnnotatedFeatureI annot)
|
static FeatureList |
getFeatPropLeafFeatures(CurationSet cur,
FeatureProperty prop)
Get all leaf features for the FeatureProperty. |
static FeatureList |
getFeatPropLeafParentFeats(CurationSet cur,
FeatureProperty prop)
return parent features of leaves (often these are transcript or transcript like feats) - the thin line that connects leaf feats/exons |
static java.util.Vector |
getFeaturesOfClass(SeqFeatureI feature,
java.lang.Class type,
boolean traverseMatches)
|
static java.util.Vector |
getFeatureVector(CurationSet set)
|
static java.util.Vector |
getFeatureVector(FeatureSetI set)
|
static java.util.Vector |
getSortedKids(SeqFeatureI fs)
|
static FeatureList |
getTranscripts(CurationSet curSet)
Returns a list of all transcripts in cur set - both strands |
static java.lang.String |
guessResidueTypeFromFeatureLength(int seqLength,
int featureLength)
Calculates residue type by comparing seq length to feat length. |
static boolean |
isAminoAcidAlignment(SeqFeatureI sf)
|
static boolean |
isAminoAcidAlignment(java.lang.String type)
|
protected static void |
populateFeaturesOfClass(java.util.Vector out,
SeqFeatureI feature,
java.lang.Class type,
boolean traverseMatches)
|
static boolean |
scoreCompare(java.util.Hashtable scoresa,
java.util.Hashtable scoresb)
|
static void |
sort(java.util.Vector features,
int sortStrand)
|
static void |
sort(java.util.Vector features,
int sortStrand,
boolean byLow)
|
static java.util.Vector |
sortFeaturesAlphabetically(java.util.Vector features)
|
static boolean |
strcmp(java.lang.String a,
java.lang.String b)
|
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Field Detail |
|---|
protected static final org.apache.log4j.Logger logger
| Constructor Detail |
|---|
public SeqFeatureUtil()
| Method Detail |
|---|
public static AnnotatedFeatureI getAnnotRoot(AnnotatedFeatureI annot)
public static boolean containsFeature(SeqFeatureI container,
SeqFeatureI query)
public static boolean isAminoAcidAlignment(java.lang.String type)
public static boolean isAminoAcidAlignment(SeqFeatureI sf)
public static java.lang.String guessResidueTypeFromFeatureLength(int seqLength,
int featureLength)
public static java.util.Vector getFeaturesOfClass(SeqFeatureI feature,
java.lang.Class type,
boolean traverseMatches)
protected static void populateFeaturesOfClass(java.util.Vector out,
SeqFeatureI feature,
java.lang.Class type,
boolean traverseMatches)
public static java.util.Vector getSortedKids(SeqFeatureI fs)
public static void sort(java.util.Vector features,
int sortStrand)
public static void sort(java.util.Vector features,
int sortStrand,
boolean byLow)
public static boolean equals(CurationSet a,
CurationSet b)
public static boolean equals(SeqFeatureI a,
SeqFeatureI b)
public static boolean equals(FeaturePairI a,
FeaturePairI b)
public static boolean equals(FeatureSetI a,
FeatureSetI b)
public static boolean equalsFeatures(SeqFeatureI a,
SeqFeatureI b)
public static boolean strcmp(java.lang.String a,
java.lang.String b)
public static boolean equals(SequenceI a,
SequenceI b)
public static boolean scoreCompare(java.util.Hashtable scoresa,
java.util.Hashtable scoresb)
public static java.util.Vector getFeatureVector(CurationSet set)
public static java.util.Vector getFeatureVector(FeatureSetI set)
public static int binarySearch(java.util.Vector v,
Comparator c,
java.lang.Object o,
boolean findSpace)
public static java.util.Vector sortFeaturesAlphabetically(java.util.Vector features)
public static FeatureList getFeatPropLeafFeatures(CurationSet cur,
FeatureProperty prop)
public static FeatureList getFeatPropLeafParentFeats(CurationSet cur,
FeatureProperty prop)
public static FeatureList getTranscripts(CurationSet curSet)
|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||