softparsmap
Interface SequenceData

All Known Implementing Classes:
AbstractSequenceData

public interface SequenceData

This interface is responsible of providing the package with all relevant sequence data.


Method Summary
 int getGiNumber()
          Returns the GI number.
 int getIdNumber()
          Returns the identity number for this sequence.
 int getSequenceLength()
          Returns the length of the sequence.
 java.lang.String getSpeciesName()
          Returns the species name that harbor this sequence.
 boolean isCompleteSequence()
          Returns true if the sequence is complete, otherwise false.
 

Method Detail

getIdNumber

public int getIdNumber()
Returns the identity number for this sequence.

Returns:
the identity number for this sequence

isCompleteSequence

public boolean isCompleteSequence()
Returns true if the sequence is complete, otherwise false.

Returns:
true if sequence is complete

getSequenceLength

public int getSequenceLength()
Returns the length of the sequence.

Returns:
the length of the sequence.

getSpeciesName

public java.lang.String getSpeciesName()
Returns the species name that harbor this sequence.

Returns:
the species name that harbor this sequence

getGiNumber

public int getGiNumber()
Returns the GI number. For more information see NCBI . If the NCBI Taxonomy database is not used, let this method return -1.

Returns:
the GI number