compbio.data.sequence
Class AnnotatedSequence

java.lang.Object
  extended by compbio.data.sequence.FastaSequence
      extended by compbio.data.sequence.AnnotatedSequence

public class AnnotatedSequence
extends FastaSequence


Constructor Summary
AnnotatedSequence(FastaSequence fsequence, float[] annotation)
           
AnnotatedSequence(String id, String sequence, float[] annotation)
           
 
Method Summary
 boolean equals(Object obj)
           
 float[] getAnnotation()
           
 int hashCode()
           
 String toString()
          Same as oneLineFasta
 
Methods inherited from class compbio.data.sequence.FastaSequence
countMatchesInSequence, getFormatedSequence, getFormattedFasta, getId, getLength, getOnelineFasta, getSequence
 
Methods inherited from class java.lang.Object
getClass, notify, notifyAll, wait, wait, wait
 

Constructor Detail

AnnotatedSequence

public AnnotatedSequence(String id,
                         String sequence,
                         float[] annotation)

AnnotatedSequence

public AnnotatedSequence(FastaSequence fsequence,
                         float[] annotation)
Method Detail

getAnnotation

public float[] getAnnotation()

hashCode

public int hashCode()
Overrides:
hashCode in class FastaSequence

equals

public boolean equals(Object obj)
Overrides:
equals in class FastaSequence

toString

public String toString()
Description copied from class: FastaSequence
Same as oneLineFasta

Overrides:
toString in class FastaSequence