Introduction
Python is an object-oriented language, but doesn't force you to program using OOP style. Nonetheless, python includes many base objects or modules that you can easily deploy in your own programs. This week, you'll learn
- How to use the "re" module to find instances of patterns in strings
- How to work with objects returned by re methods
You'll also continue learning general python programming skills. This week, you'll learn about
- Named arguments in function definitions
- Using optparse to parse command line options and arguments
- How to use Bio.SeqIO parser to read and work with sequences from fasta files
Read and/or watch
- Dive into python Chapter 7. Regular Expressions http://www.diveintopython.net/regular_expressions/index.html
Assignments
- Answer questions: Regular Expressions printout with answers due before class Friday Oct 19
- Programming assignment - findMotif.py due 5 pm Thursday Nov 1 (turn in using subversion)