This outline is also available in PDF.
Held: Thursday, 1 September 2011
We continue our exploration of the basics of bioinformatics by
doing a bit of programming.
- Due: Write up of Web exploration 1.
- About the papers.
- We have posted answers to your questions on the introductory survey.
- We will soon post answers to your more administrative questions.
- A note on Piazza.
- For the next class, read Chapter 2 of Exploring Bioinformatics and bring questions. (You don't need to do the chapter 2 Web exploration yet, and you certainly don't need to understand all of the code.)
- As you may have noted, we will use a different language in class than they use in the book. We will explore the differences in the lab and reflection.
- EC: CS Extra today at 4:30 - HCI for Peace.
- EC: Bio Grad School seminar Friday at noon.
- Chase will hold a mentor session ___ and will have office hours ___.
- Reflections on the web exploration.
- About algorithm design.
- A sample algorithm.
- More Python basics.
- Lab: Project 1.4.
- What did you learn from the Web exploration?
- Some things you might have noted:
- There's a lot of information on each page. Often, you have to spend some effort to find the key info you want.
- There's a lot of information in the databases, you just need to know how to find it.
- Talking things out is a good idea.
- You may need to rely on colleagues for help.
- Conversely, when you notice something particularly interesting, you should
- So, what did St. Clair and Visick teach you about algorithms and
- Suppose we have a small group of students and want to put them in order
by the distance of their home from Grinnell.
- Write instructions that a relatively clueless faculty member could follow.
- Biology students should write the instructions.
- CS students should ask questions to help the Biology students write
- And yes, I'll try to follow them.
What you've learned so far
- The model we're using
- Long-standing code goes at the top.
- Interactive experimentation in the bottom.
- We have named storage locations and can store and change the values
- Used to provide an indexed collection of values.
- Surrounded by quotation marks.
- Getting help
- Indentation is significant
Some new topics
- Adding elements to lists/sequences
for var in sequence:
for var in range(lb,ub+1):
- Labs based on the book are in the Exploring Bioinformatics with Python section of the Web site, which you can reach by clicking on
ExBioPy at the top of any page.
- I'll try to set up our labs link to link to them (directly or indirectly).
- For today's lab, you'll look at two things in ExBioPy.
- You may have to continue the lab on your own.
- You do not need to turn anything in, but you should finish it.
- What went well in the lab?
- What went poorly?
- What do you see as the strengths and weaknesses of the Rebelsky/Python
appoach vs. the St.Clair+Visick/Perl approach?