Class ClassifierSequence

java.lang.Object
edu.msu.cme.rdp.readseq.readers.Sequence
edu.msu.cme.rdp.classifier.utils.ClassifierSequence
All Implemented Interfaces:
Serializable

public class ClassifierSequence extends edu.msu.cme.rdp.readseq.readers.Sequence
A Sequence containing the sequence information.
See Also:
  • Constructor Details

  • Method Details

    • setSeqString

      protected void setSeqString(String s)
      Sets the sequence string.
    • getWordIndexArr

      public int[] getWordIndexArr()
    • isReverse

      public boolean isReverse()
      Returns true if the sequence string is a minus strand.
    • getReversedSeq

      public ClassifierSequence getReversedSeq() throws IOException
      Returns a Sequence object whose sequence string is the reverse complement of the current rRNA sequence string.
      Throws:
      IOException
    • getGoodWordCount

      public int getGoodWordCount()
      Returns the number of words with valid bases.