This is a test version of Biostars. For the public version, visit https://www.biostars.org.
Runtime Needleman-Wunsch & Gotoh

I have a question regarding the runtime & memory space with

  1. Needleman-Wunsch: A sequence with 1000 characters needs 1 second & 32 MB - how long & how much a 2000 character sequence?
  2. Gotoh: same instructions

I know that runtime of Needleman-Wunsch is O=(n^2), but do i need to square the ratio?

gotoh needleman-wunsch runtime

depends on the implementation of Needleman-Wunsch algorithm (language, platform,...)

Don't bother... it's a homework assignment.

1 answer

Well here is a nice writeup:

Improvements in time and memory efficiency for global alignments

http://www.bioinformaticsonline.org/ch/ch03/supp-3.html

(even if this is a homework getting the answer from the page above support the learning process ;-) )

Log in to answer this question.