public interface SequenceAnnotator
There are two approaches which can be taken to adding features to a sequence:
| Modifier and Type | Method and Description | 
|---|---|
Sequence | 
annotate(Sequence seq)
Return an annotated version of 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 © 2020 BioJava. All rights reserved.