skip to navigation skip to content
- Select training provider - (Bioinformatics)
Thu 6 Sep - Fri 7 Sep 2018
09:30 - 17:30

Venue: Bioinformatics Training Room, Craik-Marshall Building

Provided by: Bioinformatics


Bookings cannot be made on this event (Event is completed).

Other dates:


[ Show past events ]

Register interest
Register your interest - if you would be interested in additional dates being scheduled.

Booking / availability

An Introduction to Solving Biological Problems with Python

Thu 6 Sep - Fri 7 Sep 2018


This course provides a practical introduction to the writing of Python programs for the complete novice. Participants are lead through the core aspects of Python illustrated by a series of example programs. Upon completion of the course, attentive participants will be able to write simple Python programs and customize more complex code to fit their needs.

Course materials are available here.

Please note that the content of this course has recently been updated. This course now mostly focuses on core concepts including Python syntax, data structures and reading/writing files. Functions and modules are now the focus of a new 1-day course, Working with Python: functions and modules.

Please note that if you are not eligible for a University of Cambridge Raven account you will need to book by linking here.

Target audience
  • Graduate students, Postdocs and Staff members from the University of Cambridge, Affiliated Institutions and other external Institutions or individuals
  • Please be aware that these courses are only free for University of Cambridge students. All other participants will be charged a registration fee in some form. Registration fees and further details regarding the charging policy are available here.
  • Further details regarding eligibility criteria are available here
  • The course is suitable for complete beginners and assumes no prior programming experience (beyond the ability to use a text editor).
  • A very basic knowledge of UNIX would be an advantage, but nothing will be assumed and extremely little will be required.

Number of sessions: 2

# Date Time Venue Trainers
1 Thu 6 Sep 2018   09:30 - 17:30 09:30 - 17:30 Bioinformatics Training Room, Craik-Marshall Building map Sam Lewis,  Fabio Puddu
2 Fri 7 Sep 2018   09:30 - 17:30 09:30 - 17:30 Bioinformatics Training Room, Craik-Marshall Building map Sam Lewis,  Fabio Puddu
Topics covered

Bioinformatics, Biology, Data handling


After this course you should be able to:

  • Edit and run Python code
  • Write file-processing python programs that produce output to the terminal and/or external files
  • Create stand-alone python programs to process biological data
  • Know how to develop your skills in Python after the course

During this course you will learn to:

  • Recall how to print, create variables and save Python code in files
  • List the most common data types in Python
  • Explain how to use different type of collections
  • Use and compare these concepts in different code examples
  • Propose and create solutions using these concepts in different exercise
  • Recall what we've learned so far on variables, common data types and collections
  • Propose and create solutions using these concepts in an exercise
  • Use conditions to execute specific code block
  • Employ loops to repeat code block
  • Practice reading and writing files with Python
  • Solve more complex exercises

Presentations, demonstrations and practicals


Day 1 Topics
9:30 - 10:00 Introduction
10:00 - 10:30 Print and Variables
10:30 - 10:45 Tea/Coffee Break
10:45 - 12:15 Simple data types, Arithmetic and Saving code in files
12:15 - 13:30 Lunch (not provided)
13:30 - 14:30  Collections: Lists and String
14:30 - 14:45 Tea/Coffee Break
14:45 - 15:45 Collections: Sets and Dictionaries
15:45 - 16:00 Tea/Coffee Break
16:00 - 17:00 Wrap Up
Day 2
9:30 - 9:45 Introduction
9:45 - 10:45  Conditional execution
10:45 - 11:00  Tea/Coffee Break
11:00 - 12:30  Loops 
12:30 -13:30  Lunch (not provided)
13:30 - 15:00  Files
15:00 - 15:15  Tea/Coffee Break 
15:15 - 16:15  Delimited Files 
16:15 - 16:30  Tea/Coffee Break 
16:30 - 17:00  Wrap Up 
Registration Fees
  • Free for University of Cambridge students
  • £ 50/day for all University of Cambridge staff, including postdocs, and participants from Affiliated Institutions. Please note that these charges are recovered by us at the Institutional level
  • It remains the participant's responsibility to acquire prior approval from the relevant group leader, line manager or budget holder to attend the course. It is requested that people booking only do so with the agreement of the relevant party as costs will be charged back to your Lab Head or Group Supervisor.
  • £ 50/day for all other academic participants from external Institutions and charitable organizations. These charges must be paid at registration
  • £ 100/day for all Industry participants. These charges must be paid at registration
  • Further details regarding the charging policy are available here



A number of times per year

Related courses
Basic Skills and Programming

Booking / availability