
Assignment 2
Due Monday, March 20
Current Topics in Computer Science:
Computational Genomics
CSCI 7000-005, Spring 2006
You are encouraged to work together or use any other resources, but you must tell me
who you worked with and what resources you used (even if you didn’t work with
anyone), and you must write up the solutions yourself, in your own words/style.
1. Read chapters 4.4-4.9, 5.5, 9, 11, 12 (material already covered), 8.10-8.15, 10.
2. Read supplementary readings about DNA microarrays on the course website.
3. page 211, Problem 6.2
4. The default for BLAST when finding similar DNA strings to a query string requires
an exact seed of length 11. When searching for a query string of length 64 for
strings that are 70% conserved (a standardly used comparison), the sensitivity of
BLAST is 30% (i.e., it will only report 30% of these conserved sequences). In
class (and in chapter 12) we discussed a randomized algorithm that considers
projections of a number of (k,l)-templates. So, BLAST uses a (11,11)-template,
or, more generally, for l > 11, the BLAST template is (1 2 3 …11). In fact, even if
this algorithm is not run many times, we can expect an improvement. Many other
(11,l)-templates will do better than the BLAST default. For example, the best
such template achieves a sensitivity of 45% on the same queries described
above for which BLAST’s sensitivity is 30%. Explain why this is.
5. In DNA sequencing, the goal is to determine the complete nucleotide sequence
of a long string of DNA. Current common laboratory methods can only
accurately sequence a small number of nucleotides, ~300-1000, from one end of
a longer string. It is possible to replicate substrings of a DNA string starting at
almost any point as long as you know a small number of nucleotides (~9) to the
left of that point (this replication is done using a technology called polymerase
chain reaction (PCR), which has had a tremendous impact on experimental
molecular biology). These 9 nucleotides define a primer that allows copying of
the string starting from that point. We want to be as sure as possible that the
copied substrings start at the desired point, so we don’t want this 9-mer to
appear anywhere else in the previously sequenced portion of the DNA string, nor
should it be part of any known frequently repeated substrings in the genome. In
the following problems, you may assume you can build a suffix tree in linear time.
a. Given a set R of DNA strings (known repeats), give an algorithm to find a
shortest string S that is a substring in none of the strings of R. The
algorithm should run in time proportional to the sum of the lengths of the
strings in R.
b. Given a string S of the known sequence so far and a set R of DNA
strings, give an algorithm to find the furthest right substring of length 9 in S
that does not appear twice in S and is not a substring of any string in R.
What is the run-time of your algorithm?