public class IntronAnnotation extends LocatedSequenceAnnotationWithLength
Constructor and Description |
---|
IntronAnnotation(StringBuffer representation)
The standard constructor for the interface
Storable . |
IntronAnnotation(String identifier,
SinglePositionSequenceAnnotation donor,
SinglePositionSequenceAnnotation acceptor,
Result... additionalAnnotation)
Creates a new
IntronAnnotation from a donor
SinglePositionSequenceAnnotation and an acceptor
SinglePositionSequenceAnnotation and a set of additional
annotations. |
fromXML, getEnd, getLength, overlaps, toString, toXML
getPosition
getAnnotations, getIdentifier, getSubAnnotations, getType, hashCode
findColumn, getNumberOfResults, getResultAt, getResultForName, getResults
public IntronAnnotation(String identifier, SinglePositionSequenceAnnotation donor, SinglePositionSequenceAnnotation acceptor, Result... additionalAnnotation) throws Exception
IntronAnnotation
from a donor
SinglePositionSequenceAnnotation
and an acceptor
SinglePositionSequenceAnnotation
and a set of additional
annotations.identifier
- the identifier of this annotationdonor
- the donor annotationacceptor
- the acceptor annotationadditionalAnnotation
- the additional annotationsException
- if donor
or acceptor
are not of the
correct
SinglePositionSequenceAnnotation.Type
SinglePositionSequenceAnnotation
,
SinglePositionSequenceAnnotation.Type
public IntronAnnotation(StringBuffer representation) throws NonParsableException
Storable
.
Creates a new IntronAnnotation
out of its XML representation.representation
- the XML representation as StringBuffer
NonParsableException
- if the IntronAnnotation
could not be reconstructed
out of the XML representation (the StringBuffer
representation
could not be parsed)LocatedSequenceAnnotationWithLength.LocatedSequenceAnnotationWithLength(StringBuffer)
,
Storable