Introductory Python: Python for Bioinformaticians

These workshops are designed to help researchers involved in bioinformatics to learn programming, using Python. They are based around implementing some simple bioinformatics algorithms.

These workshops borrow heavily from Software Carpentry. You can find a the comprehensive set of Software Carpentry lessons that we have adapted some content from here.

Contents

Setup

What kind of setup you need to do depends on how you are doing these exercises. If you're at an event, rather than working through these workshops by yourself, check with your demonstrators whether to follow these setup instructions.
  1. Setup

Introductory workshops

These workshops are designed for people with absolutely no programming experience.
  1. Introductory Python - lists, loops, and conditionals: Hamming Distance
  2. More Python - dictionaries, sets, and slicing: K-mer Counting

Pythonic python

These workshops are designed for people who've done the introductory workshops, or who are learning Python but already have a bit of programming experience.
  1. Python fundamentals quick overview - data structures, loops, conditionals and functions
  2. Improving Hamming distance - docstrings, better iterators, testing, and error-handling
  3. Improving k-mer counting - file I/O and handy libraries