|
JAligner | ||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object jaligner.Alignment
Holds the output of a pairwise sequences alignment.
Field Summary | |
static char |
GAP
Gap character |
Constructor Summary | |
Alignment()
Constructor for Alignment |
Method Summary | |
float |
calculateScore()
Calculate the score of the alignment, not using the score field (the function only uses sequence1, sequence2, matrix and gap penalties). |
boolean |
checkScore()
Check if the calculated score matches the field score. |
float |
getExtend()
|
int |
getGaps()
|
int |
getIdentity()
|
char[] |
getMarkupLine()
|
Matrix |
getMatrix()
|
java.lang.String |
getName1()
|
java.lang.String |
getName2()
|
float |
getOpen()
|
Sequence |
getOriginalSequence1()
Returns original Sequence #1 |
Sequence |
getOriginalSequence2()
Returns original Sequence #2 |
float |
getScore()
|
char[] |
getSequence1()
|
char[] |
getSequence2()
|
int |
getSimilarity()
|
int |
getStart1()
|
int |
getStart2()
|
java.lang.String |
getSummary()
Returns a summary for alignment |
void |
setExtend(float extend)
|
void |
setGaps(int gaps)
|
void |
setIdentity(int identity)
|
void |
setMarkupLine(char[] markupLine)
|
void |
setMatrix(Matrix matrix)
|
void |
setName1(java.lang.String name1)
|
void |
setName2(java.lang.String name2)
|
void |
setOpen(float open)
|
void |
setOriginalSequence1(Sequence originalSequence1)
|
void |
setOriginalSequence2(Sequence originalSequence2)
|
void |
setScore(float score)
|
void |
setSequence1(char[] sequence1)
|
void |
setSequence2(char[] sequence2)
|
void |
setSimilarity(int similarity)
|
void |
setStart1(int start1)
|
void |
setStart2(int start2)
|
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Field Detail |
public static final char GAP
Constructor Detail |
public Alignment()
Method Detail |
public float getExtend()
public void setExtend(float extend)
extend
- The extend to set.public Matrix getMatrix()
public void setMatrix(Matrix matrix)
matrix
- The matrix to set.public java.lang.String getName1()
public void setName1(java.lang.String name1)
name1
- The name1 to set.public java.lang.String getName2()
public void setName2(java.lang.String name2)
name2
- The name2 to set.public float getOpen()
public void setOpen(float open)
open
- The open to set.public float getScore()
public void setScore(float score)
score
- The score to set.public char[] getSequence1()
public void setSequence1(char[] sequence1)
sequence1
- The sequence1 to set.public char[] getSequence2()
public void setSequence2(char[] sequence2)
sequence2
- The sequence2 to set.public int getStart1()
public void setStart1(int start1)
start1
- The start1 to set.public int getStart2()
public void setStart2(int start2)
start2
- The start2 to set.public int getGaps()
public void setGaps(int gaps)
gaps
- The gaps to set.public int getIdentity()
public void setIdentity(int identity)
identity
- The identity to set.public char[] getMarkupLine()
public void setMarkupLine(char[] markupLine)
markupLine
- The markupLine to set.public int getSimilarity()
public void setSimilarity(int similarity)
similarity
- The similarity to set.public java.lang.String getSummary()
String
alignment summarypublic float calculateScore()
public boolean checkScore()
public Sequence getOriginalSequence1()
Sequence
#1
Sequence
#1public void setOriginalSequence1(Sequence originalSequence1)
originalSequence1
- public Sequence getOriginalSequence2()
Sequence
#2
Sequence
#2public void setOriginalSequence2(Sequence originalSequence2)
originalSequence2
-
|
JAligner | ||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
Ahmed Moustafa (ahmed@users.sf.net) | |
The source code of JAligner is licensed under The GNU General Public License (GPL) |