pairwise_alignment_local_affine_protein - seqan/bench GitHub Wiki
Local alignment, affine gap model on Protein (Pairwise Alignment)
- Category: Pairwise Alignment
- Validator: Pairwise Alignment Validator
Description
Given 2000 reads of length 100, compute the local alignment using the affine gap model of all pairs.
BLOSUM62 matrix, gap_extend: -3, gap_open: -1.
Input
- 2000 reads of length 100 (i.e.,
data/genome.pairwise_alignment.reads.length.100.fa
)
Output
For each pair of sequences, output the score of the alignment.
The output must be written into a file.
Example
For simplicity we assume 4 reads of length 10.
Reads:
> 1
TTTTATGGTA
> 2
CACTTATGTA
> 3
TTAACTGTTT
> 4
CAGTGGCTCA
Resulting alignments:
Sequence 0 and 1:
TTATGGTA
|||| |||
TTAT-GTA
Sequence 0 and 2:
TTTA-TGGT
|| | | ||
TTAACT-GT
Sequence 0 and 3:
A-TGG-T-A
| ||| | |
AGTGGCTCA
Sequence 1 and 2:
ACT-TATGT
||| | | |
ACTGT-T-T
Sequence 1 and 3:
CACTTAT-G-T-A
|| | | | |
CA---GTGGCTCA
Sequence 2 and 3:
CTGT---T
| || |
CAGTGGCT
Output:
0, 1: 33
0, 2: 28
0, 3: 27
1, 2: 30
1, 3: 27
2, 3: 22