|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
public interface FeatureI
A feature on a sequence (for example, an exon or a gene), defined by a location and a set of attributes encoded as key/value pairs.
Method Summary | |
---|---|
String |
getAttribute(String key)
Get the attribute value for this key. |
String |
group()
Get the group id of the feature. |
boolean |
hasAttribute(String key)
Check if the feature has a value defined for the specified key. |
boolean |
hasAttribute(String key,
String value)
Check if the feature attributes include the specified key/value pair. |
Location |
location()
Get the location of the feature. |
String |
seqname()
Get the sequence name. |
String |
toString()
A string representation of the feature. |
String |
type()
Get the feature type, for example, "exon", "CDS", etc. |
HashMap<String,Object> |
userData()
Get HashMap of user data. |
Method Detail |
---|
Location location()
String group()
String type()
String seqname()
String getAttribute(String key)
key
- The key.
boolean hasAttribute(String key)
key
- The key.
boolean hasAttribute(String key, String value)
key
- The key.value
- The value.
String toString()
toString
in class Object
HashMap<String,Object> userData()
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |