
COMP 590-90 / 790-90 Problem Set #2
due September 25 2008 2PM
1. Problem 4.4
2. Problem 4.11
3. problem 5.2
4. Problem 5.4
5. Problem 5.7
6. We want to obtain the DNA sequence of a human chromosome. Because whole
chromosomes are too large to work with in the lab, we randomly shear many
copies of the chromosome into small pieces, creating a total of n possibly
overlapping fragments: f1, f2, ... fn. The chromosome is of length N. Careful
mapping of each fragment back to the genome reveals that fragment fi runs from
position bi to position ei of the chromosome. To sequence the chromosome, you
need to find a tiling path of fragments. A tiling path is a set of fragments such that
at least one fragment covers each base of the chromosome sequence. (sequencing
all of the fragments on this path therefore gives the entire chromosome’s
sequence). To save on sequencing costs, we want a minimal tiling path. In other
words, one containing the smallest number of fragments.
a. Outline a greedy algorithm to find the number of fragments in a minimal
tiling path. The complexity of your algorithm may depend on n (the
number of fragments), but must be independent of N (the length of the
chromosome).
b. Is your greedy algorithm a correct algorithm? Why? (hint: prove it is
correct, or give a counter-example)
c. What is the complexity of your greedy algorithm? (in Big-Oh notation)
7. Program Assignment: Implement your greedy algorithm in Problem 6.
The following two problems are for COMP 790-90 students. COMP 590-90 students may
choose to do them for bonus credits.
8. Let bk be the number of permutations on n elements with exactly k breakpoints.
Does bk always increase as k increases? Explain your answer.
9. Problem 5.16