Introduction to Python and Biopython

This tutorial would guide you to get started with coding in Python. We’ll start with basic programming concepts related to working with text data. This would be followed by an introduction to the Biopython library that is useful for working with biological data. This tutorial is structured by topics that we’ll be covering; the navigation bar on the left has the list of topics. Below is an outline for all the sections.

Variables and Operators: Introduction to the concept and properties of variables and different operators used in programming.

Strings: Introduction to the String class in Python and different functions available for working with strings.

Loops and Conditionals: Introduction to the concept, syntax, and uses of loops and conditional statements in Python.

Introduction to Biopython: Introduction to the sequence object for working with alignments and running BLAST search.

Throughout the tutorial, the python code is shown as a code block with grey background, e.g.

print("Hello World!")

Note

When you hover the mouse pointer over a code cell, there will be an option to copy the contents of that cell.