rsnt_translations
56,430
edits
(Created page with "A = "ACGT" * 1000") |
(Created page with "# parasail matrix = parasail.matrix_create("ACGT", 1, 0) parasail_score = parasail.sw(A, A, 1, 1, matrix).score") |
||
Line 62: | Line 62: | ||
A = "ACGT" * 1000 | A = "ACGT" * 1000 | ||
# parasail | # parasail | ||
matrix = parasail.matrix_create("ACGT", 1, 0) | matrix = parasail.matrix_create("ACGT", 1, 0) | ||
parasail_score = parasail.sw(A, A, 1, 1, matrix).score | parasail_score = parasail.sw(A, A, 1, 1, matrix).score | ||
# biopython | # biopython | ||
bio_score = PairwiseAligner().align(A, A)[0].score | bio_score = PairwiseAligner().align(A, A)[0].score | ||
print('parasail:', parasail_score) | print('parasail:', parasail_score) | ||
print('biopython:', bio_score) | print('biopython:', bio_score) | ||
}} | }} | ||
<div lang="en" dir="ltr" class="mw-content-ltr"> | <div lang="en" dir="ltr" class="mw-content-ltr"> |