Unformatted text preview:

1BLAST11-18-20052Opening Discussion■Do you have any questions about the quiz?■What did we talk about last class?3Memoization■An alternative to DP that can be almost as fast is memoization. In this approach we write the recursive solution, but pass in an extra argument that stores solutions we have already found.■When the function runs it checks the stored values before doing a recursive call so it won't solve subproblems that it has solved previously.■For some problems this method is a lot easier to think about. Memoization can also be used for problems that don't have optimal substructure so DP can't be applied.4References in Perl■Since living without references is such a pain, lets talk really quickly about how to use references in Perl.■A reference is a scalar value that can refer to a scalar, a list, or a hash. You get a reference to a variable by prefixing it with \.■Inside of a function you treat the reference like a scalar, but when you what to pull out what it refers to you put an extra special symbol in front. You use $$ to dereference a scalar reference, @$ to dereference a list and %$ for a hash.5BLAST■The Basic Local Alignment Search Tool is the most widely used tool for doing sequence searches.■You can either use the web interface directly or you can download BLAST and run it locally. Today we are going to look at the web interface. The advantages of the web interface include ease of use and the fact that the databases are always up to date.■The downside of the web interface is that you can't run a large number of searches easily.6Reminders■Assignment #9 is due on


View Full Document

TRINITY CSCI 2323 - Lecture Notes

Documents in this Course
Load more
Download Lecture Notes
Our administrator received your request to download this document. We will send you the file to your email shortly.
Loading Unlocking...
Login

Join to view Lecture Notes and access 3M+ class-specific study document.

or
We will never post anything without your permission.
Don't have an account?
Sign Up

Join to view Lecture Notes 2 2 and access 3M+ class-specific study document.

or

By creating an account you agree to our Privacy Policy and Terms Of Use

Already a member?