Package org.biojavax.bio.seq
Class RichFeature.Tools
java.lang.Object
org.biojavax.bio.seq.RichFeature.Tools
- Enclosing interface:
RichFeature
Some useful tools for working with features.
-
Method Summary
Modifier and TypeMethodDescriptionstatic RichFeature
Takes a normal Feature and attempts to convert it into a RichFeature.static RichFeature
A way to make a dummy feature
-
Method Details
-
enrich
Takes a normal Feature and attempts to convert it into a RichFeature.- Parameters:
f
- the Feature to enrich.- Returns:
- the RichFeature equivalent.
- Throws:
ChangeVetoException
- if any of the terms from the feature were not convertible.
-
makeEmptyFeature
A way to make a dummy feature
-