printlogo
http://www.ethz.ch/index_EN
CBRG - Computational Biochemistry Research Group
 
print
  

Dynamic Programming: String Alignment

The exercises of this week are about string alignments.

Task 1

Work through the biorecipe about Dynamic Programming. When you are finished, you should understand the algorithm for global alignments, as well as the corresponding Darwin code. As long as anything remains unclear, better ask one of the assistants.

Task 2

Modify the code of the bio-recipe to make the alignments local instead of global. The difference between local and global alignments is described in Section 8.3.6 (pp. 140/141) of the script.

Some tips on working with Darwin: Darwin is an interactive language, you can simply execute commands by typing them into the command prompt. When writing a longer program (like here), however, it is a good idea to write the program in an editor and then piping the file directly into Darwin:

darwin < myCode.txt

or copy/pasting the code to Darwin. This makes it easier to correct any mistakes/bugs in the program, without having to retype the whole code. Also, this helps to keep an overview of the whole program.

 

Wichtiger Hinweis:
Diese Website wird in älteren Versionen von Netscape ohne graphische Elemente dargestellt. Die Funktionalität der Website ist aber trotzdem gewährleistet. Wenn Sie diese Website regelmässig benutzen, empfehlen wir Ihnen, auf Ihrem Computer einen aktuellen Browser zu installieren. Weitere Informationen finden Sie auf
folgender Seite.

Important Note:
The content in this site is accessible to any browser or Internet device, however, some graphics will display correctly only in the newer versions of Netscape. To get the most out of our site we suggest you upgrade to a newer browser.
More information

© 2012 ETH Zurich | Imprint | Disclaimer | 13 October 2011
top