public interface SequenceAnnotator
There are two approaches which can be taken to adding features to a sequence:
Sequence annotate(Sequence seq) throws BioException, IllegalAlphabetException, ChangeVetoException
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
encapsulatedBioException
- if the sequence fails to be annotatedChangeVetoException
- if either the sequence doesn't allow
annotation or if the change was vetoedCopyright © 2014 BioJava. All rights reserved.