Genome 540 Homework Assignment 2

Due Sunday Jan. 21

  1. Write a program to find a highest-weight path in a weighted directed acyclic graph. This program should
  2. Write a program that
  3. For a graphic depiction of a WDAG:
  4. For a genome sequence: Your final output should include
  5. For the homework assignment, you should run your programs on the graph depicted here, constraining the path to start at the node 'x' and end at the node 'i'; AND on the genome sequence of Sulfolobus solfataricus. To test whether your program is working correctly, run it first on the test example graph, constraining the path to start at 'vii' and end at 'i'; and on the test genome sequence Pyrococcus furiosus to see whether you get the right answer (below). In the depicted graphs, the shape of the triangle indicates the direction in which the edge is pointing.
  6. You must turn in your results and your computer program, using the template (file format) described below. Use this file as a template -- you can use the DTD definition to validate the format of your results file. Please put everything into ONE plain text file - do not send an archive of files or a tar file, or a word processing document file. Compress it (using either Unix compress, or gzip -- if you don't have access to either of these programs let us know), and send it as an attachment to both Phil (phg (at) u.washington.edu) and Greg (gfinney (at) u.washington.edu).