|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
public interface Sequence
An abstract class, providing an interface for accessing a sequence.
Field Summary | |
---|---|
static int |
MASK
The mask for converting a string to integer |
static int |
RNA_BASES
The number of rna bases (ATGC). |
static int |
WORDSIZE
The size of a word. |
Method Summary | |
---|---|
int[] |
createWordIndexArr()
Fetches every overlapping word from the sequence string, changes each word to integer format and saves in an array. |
int |
getGoodWordCount()
Returns the number of words without invalid base(s). |
java.lang.String |
getName()
Returns the name of the sequence record. |
Sequence |
getReversedSeq()
Returns a Sequence object whose sequence string is the reverse complement of the current sequence string. |
java.lang.String |
getSeqString()
Returns the sequence string of the sequence record. |
java.lang.String |
getTitle()
Returns the title of the sequence record. |
boolean |
isReverse()
Returns true if the sequence string is a minus strand. |
Field Detail |
---|
static final int RNA_BASES
static final int WORDSIZE
static final int MASK
Method Detail |
---|
java.lang.String getName()
java.lang.String getTitle()
java.lang.String getSeqString()
Sequence getReversedSeq()
int[] createWordIndexArr()
int getGoodWordCount()
boolean isReverse()
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |