de.jstacs.data.sequences.annotation
Class CisRegulatoryModuleAnnotation

java.lang.Object
  extended by de.jstacs.results.ResultSet
      extended by de.jstacs.data.sequences.annotation.SequenceAnnotation
          extended by de.jstacs.data.sequences.annotation.CisRegulatoryModuleAnnotation
All Implemented Interfaces:
Storable

public class CisRegulatoryModuleAnnotation
extends SequenceAnnotation

Annotation for a cis-regulatory module as defined by a set of MotifAnnotations of the motifs in the module.

Author:
Jan Grau

Field Summary
 
Fields inherited from class de.jstacs.results.ResultSet
results
 
Constructor Summary
CisRegulatoryModuleAnnotation(StringBuffer representation)
          Re-creates a CisRegulatoryModuleAnnotation from its XML-representation as returned by SequenceAnnotation.toXML().
CisRegulatoryModuleAnnotation(String identifier, MotifAnnotation[] motifs, Result... additionalAnnotation)
          Creates a new CisRegulatoryModuleAnnotation from a set of motifs and possibly additional annotations.
 
Method Summary
 
Methods inherited from class de.jstacs.data.sequences.annotation.SequenceAnnotation
fromXML, getAnnotations, getIdentifier, getSubAnnotations, getType, toString, toXML
 
Methods inherited from class de.jstacs.results.ResultSet
findColumn, getNumberOfResults, getResultAt, getResults
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Constructor Detail

CisRegulatoryModuleAnnotation

public CisRegulatoryModuleAnnotation(String identifier,
                                     MotifAnnotation[] motifs,
                                     Result... additionalAnnotation)
Creates a new CisRegulatoryModuleAnnotation from a set of motifs and possibly additional annotations.

Parameters:
identifier - the identifier of this annotation
motifs - the motifs in the module
additionalAnnotation - the additional annotations

CisRegulatoryModuleAnnotation

public CisRegulatoryModuleAnnotation(StringBuffer representation)
                              throws NonParsableException
Re-creates a CisRegulatoryModuleAnnotation from its XML-representation as returned by SequenceAnnotation.toXML().

Parameters:
representation - the XML-representation
Throws:
NonParsableException - is thrown if the XML-code could not be parsed