|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectorg.biojava.bio.dp.WeightMatrixAnnotator
Annotates a sequence with hits to a weight-matrix.
This SequenceAnnotator implementation returns a new ViewSequence wrapping the underlying Sequence
Constructor Summary | |
WeightMatrixAnnotator(WeightMatrix wm,
double threshold)
|
Method Summary | |
Sequence |
annotate(Sequence seq)
Return an annotated version of a sequence. |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
public WeightMatrixAnnotator(WeightMatrix wm, double threshold)
Method Detail |
public Sequence annotate(Sequence seq) throws IllegalAlphabetException, BioException, ChangeVetoException
SequenceAnnotator
annotate
in interface SequenceAnnotator
seq
- The sequence to be annotated.
seq
(may be the
same object).
IllegalAlphabetException
- If the sequence is over
an inappropriate alphabet for
the annotated method being
encapsulated
ChangeVetoException
- if either the sequence doesn't allow
annotation or if the change was vetoed
BioException
- if the sequence fails to be annotated
|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |