Events News Research CBS CBS Publications Bioinformatics
Staff Contact About Internal CBS CBS Other

BioSys course in Perl

Intermediate level
Dates: 4 complete days, April 17/18 + 24/25 2007, 9.00 - 16.30
Location: DTU, building 208, at CBS, room 027, which is a combined meeting room and library.
Language: Danish or English depending on participants
Teacher: Peter Wad Sackett, CBS - DTU, pws@cbs.dtu.dk
Textbooks:
Notes from the teacher and Learning Perl, 4rd ed. by Randal Schwartz & Tom Christiansen (O'Reilly)
There is an online book on perl at http://learn.perl.org/library/beginning_perl, which can be used as an alternative source of wisdom.
If you are really keen on Perl, then the best book on the subject is the famous Camel Book Programming Perl, 3rd ed. by Larry Wall, Tom Christiansen & Jon Orwant (O'Reilly).
Course content:
Looping structure and control statements, regular expressions, tables (arrays and hashes) and more advanced data structures are covered. The most common bioinformatics database formats and how to parse (read) them, are covered. Exercises in these subjects have a bioinformatics aspect. It is important that participants set time off in between lectures to do the exercises, as programming is to a large extent "learning by doing".
Target group:
Intermediate level programmers - i.e. people who know some Perl OR who already master some other programming language. The course will not be suitable for people who are beginners in all programming languages.
Platform:
The course exercises will be run on a Unix system, and some familiarity with unix and a commmand line interface will be beneficial to the participants. Pure perl also runs under windows. However, if the future aim is to use BioPerl then Unix/linux is the only real option.

Necessary software:
Your machine must have a SSH (Secure SHell) client and and X-server installed. Linux has that as default. Mac is believed to have it as default. Windows has to install the the software, see this page for details.

PowerPoint for the course: perl.ppt

Day 1
Perl control structures, I/O and string manipulation. Exercises
Day 2
Arrays and regular expressions. Exercises
Day 3
Hashes and subroutines. Exercises
Day 4
References, advanced datastructures, using objects and modules. Exercises
A few possibly helpful pointers