Parasail/fr: Difference between revisions

168 bytes removed ,  4 months ago
Created page with "# parasail matrix = parasail.matrix_create("ACGT", 1, 0) parasail_score = parasail.sw(A, A, 1, 1, matrix).score"
(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


<div lang="en" dir="ltr" class="mw-content-ltr">
# 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
</div>


<div lang="en" dir="ltr" class="mw-content-ltr">
# biopython
# biopython
bio_score = PairwiseAligner().align(A, A)[0].score
bio_score = PairwiseAligner().align(A, A)[0].score
</div>


<div lang="en" dir="ltr" class="mw-content-ltr">
print('parasail:', parasail_score)
print('parasail:', parasail_score)
print('biopython:', bio_score)
print('biopython:', bio_score)
}}
}}
</div>


<div lang="en" dir="ltr" class="mw-content-ltr">
<div lang="en" dir="ltr" class="mw-content-ltr">
rsnt_translations
56,430

edits