I am trying to compile a code for running Needleman Wunsch algorithm using PHP. I could come up to matrix construction and filling. I don't understand how to write the logic for back tracking so that we can get all (not only one) of the possible optimal alignments from the two sequences.

Does anybody know the logic and may provide me any (pseudo)code if you have from any language?

More Ravi Kanth Reddy Sathi's questions See All
Similar questions and discussions