Difference between revisions of "CSC334 Lab3"

From dftwiki3
Jump to: navigation, search
Line 1: Line 1:
 
=DNA Sequence Alignment with Processing--A First Approach=
 
=DNA Sequence Alignment with Processing--A First Approach=
  
[[Image:DNA_Align.png]]
+
[[Image:DNA_Align1.png]]
  
 
In this lab you will use a DNA alignment program written in Processing to explore the concept of aligning DNA sequences.   
 
In this lab you will use a DNA alignment program written in Processing to explore the concept of aligning DNA sequences.   

Revision as of 19:53, 23 July 2008

DNA Sequence Alignment with Processing--A First Approach

DNA Align1.png

In this lab you will use a DNA alignment program written in Processing to explore the concept of aligning DNA sequences.

You may want to install Processing on your machine if it is not installed yet, and run through the very good tutorial listed in the resource section at the end to understand the basics of Processing. In this lab, however, we won't use any sophisticated 2- or 3-D graphics. Just moving text.

Methodology

  • Open the Processing edit window.
  • Copy and paste the following program into the edit window: DNA_Align.pde .
  • Save your program as DNA_Align.pde
  • Run the program.
  • Type + or - to make the sequences move left and right.
  • Notice that the number of exact matches is printed in the Processing console.

Resources and Links

  • A good tutorial on Processing can be found here File:ProcessingTutorial.pdf
  • The main page for syntax help on Processing is processing.org/reference. A quick way to find information on a given topic in Processing, say on rectangles, is to enter something like this in the Google search bar: site:processing.org rectangle.