|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectde.jstacs.algorithms.alignment.Alignment
public class Alignment
Class for gapped alignments using the Gotohs algorithm.
| Nested Class Summary | |
|---|---|
static class |
Alignment.AlignmentType
|
| Constructor Summary | |
|---|---|
Alignment(Alignment.AlignmentType type,
Costs costs)
Creates a new Alignment instance that aligns the sequences
s1 and s2 using the costs defined in
costs. |
|
Alignment(Alignment.AlignmentType type,
Costs costs,
int offDiagonal)
Creates a new Alignment instance that aligns the sequences
s1 and s2 using the costs defined in
costs and a banded version of the alignment algorithm. |
|
| Method Summary | |
|---|---|
PairwiseStringAlignment |
getAlignment(Sequence s1,
int startS1,
int endS1,
Sequence s2,
int startS2,
int endS2)
Computes and returns the alignment of s1 and s2
(Alignment(AlignmentType, Costs)). |
PairwiseStringAlignment |
getAlignment(Sequence s1,
Sequence s2)
Computes and returns the alignment of s1 and s2
(Alignment(AlignmentType, Costs)). |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public Alignment(Alignment.AlignmentType type,
Costs costs)
Alignment instance that aligns the sequences
s1 and s2 using the costs defined in
costs.
type - the type of the alignmentcosts - the costs
public Alignment(Alignment.AlignmentType type,
Costs costs,
int offDiagonal)
Alignment instance that aligns the sequences
s1 and s2 using the costs defined in
costs and a banded version of the alignment algorithm.
type - the type of the alignmentcosts - the costsoffDiagonal - the number of secondary diagonals at both sides of the diagonal| Method Detail |
|---|
public PairwiseStringAlignment getAlignment(Sequence s1,
Sequence s2)
s1 and s2
(Alignment(AlignmentType, Costs)).
s1 - the first sequences2 - the second sequence
public PairwiseStringAlignment getAlignment(Sequence s1,
int startS1,
int endS1,
Sequence s2,
int startS2,
int endS2)
s1 and s2
(Alignment(AlignmentType, Costs)).
s1 - the first sequencestartS1 - the start position in the first sequenceendS1 - the end position in the first sequences2 - the second sequencestartS2 - the start position in the second sequenceendS2 - the end position in the second sequence
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||