Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

What is the algorithm behind pairwise2 align in BioPython?

The package BioPython allows to compute pairwise local or global alignement, through different functions (align.globalxx, align.localxx, ...).

However, I have not found anywhere the algorithm on which this alignement is based. The code (source, doc) states: "Pairwise sequence alignment using a dynamic programming algorithm", and that is all.

  • Is there a paper on which this implementation is based?
  • Is it using a "standard algorithm" and if yes, what is its name?

Edit: This is a question more for citing than for understanding purposes.

like image 713
clef Avatar asked Nov 25 '25 07:11

clef


1 Answers

The docstring of a private function in the code indicates that "This is an implementation of the Needleman-Wunsch dynamic programming algorithm as modified by Gotoh, implementing affine gap penalties." (l. 761 of this code).

like image 150
clef Avatar answered Nov 26 '25 23:11

clef



Donate For Us

If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!