de.jstacs.data.sequences.annotation
Class IntronAnnotation
java.lang.Object
de.jstacs.results.ResultSet
de.jstacs.data.sequences.annotation.SequenceAnnotation
de.jstacs.data.sequences.annotation.LocatedSequenceAnnotation
de.jstacs.data.sequences.annotation.LocatedSequenceAnnotationWithLength
de.jstacs.data.sequences.annotation.IntronAnnotation
- All Implemented Interfaces:
- Storable
public class IntronAnnotation
- extends LocatedSequenceAnnotationWithLength
Annotation class for an intron as defined by a donor and an acceptor splice site.
- Author:
- Jan Grau
IntronAnnotation
public IntronAnnotation(String identifier,
SinglePositionSequenceAnnotation donor,
SinglePositionSequenceAnnotation acceptor,
Result... additionalAnnotation)
throws Exception
- Creates a new
IntronAnnotation from a donor SinglePositionSequenceAnnotation and an acceptor SinglePositionSequenceAnnotation and a set of additional annotations.
- Parameters:
identifier - the identifier of this annotationdonor - the donor annotationacceptor - the acceptor annotationadditionalAnnotation - the additional annotations
- Throws:
Exception - is thrown if donor or acceptor are not of the correct SinglePositionSequenceAnnotation.Type
IntronAnnotation
public IntronAnnotation(StringBuffer representation)
throws NonParsableException
- Re-creates an
IntronAnnotation from its XML-representation as returned by LocatedSequenceAnnotationWithLength.toXML().
- Parameters:
representation - the XML-representation
- Throws:
NonParsableException - is thrown if the XML-code could not be parsed