
Explore genetics with python through chapter-based practical classes, quizzes, and hands-on exercises. Solutions videos reinforce learning for biology researchers, IT professionals, and learners interested in both fields.
Explore how DNA, RNA, and proteins flow from gene to function, contrasting prokaryotic and eukaryotic genomes, transcription and splicing, and the roles of nucleotides and amino acids.
Explore the transcription process where DNA is transcribed into RNA by RNA polymerase, in prokaryotes in the cytoplasm and in eukaryotes in the nucleus, including introns, exons, and splicing.
Explore the translation process, where messenger rna is read by ribosomes, aided by transfer rna, to assemble amino acids into polypeptides according to the genetic code.
Introduce the Python programming language, its origins, and its use in data science, scientific computing, artificial intelligence, web development, and its clear syntax and large community.
Explore the Google Colab environment, create and save notebooks, run code in code and text cells, upload files, and learn to connect and execute basic commands.
Learn to estimate recombination frequency from counts of recombinant and non-recombinant genotypes using a Python program, and translate the result into gene distances expressed as a percent.
In the previous 'solution' lecture, until minute 0:40, I show the formula of recombination frequency to be like this:
rec1 + rec2 + nonrec1 + nonrec2 / rec1 + rec2
After 0:40, the formula is inverted to rec1 + rec2 /rec1 + rec2 + nonrec1 + nonrec2, which is the correct formula
Locate the start and termination codons in an RNA sequence and extract the open reading frame using Python, demonstrating the positions and the sequence between them.
Convert a lowercase dna string to uppercase, extract characters five through ten, and transcribe dna to rna by replacing t with u.
Explore relational and logical operators in Python for genetics, learning how to compare numbers with >, <, ==, !=, >=, <=, and combine results with and or.
Explore complex and nested conditions in Python by evaluating whether a number is greater than five and whether it is even, using if statements, else branches, and print outcomes.
Practice with relational operators and conditional statements through two exercises: a biomolecule classifier for DNA, RNA, or neither, and a polypeptide check for methionine and more than 10 amino acids.
Learn how to use for loops in Python to iterate over numbers, strings, and lists, understand range end is exclusive, and prepare for nested for loops.
Explore the while loop in Python, including counting numbers and iterating strings by index. Learn how to use true loops, conditions, and break for input validation.
Learn to compute the Hamming distance between two equal-length DNA strings using a while loop in Python, and calculate their similarity percentage.
Write code that translates an RNA sequence into a polypeptide chain using a codon dictionary and a loop that processes codons until a stop codon terminates.
Build a python tool to locate ORFs in a pre messenger RNA sequence by scanning for start codons, collecting sequences until stop codons, and listing ORFs.
Explore optional parameters, variable scope, and nested functions in Python, and learn how docstrings and the help function document code and customize behavior.
Write a Python function to estimate recombination frequency from recombinant and non recombinant genotypes, with parameters for each count and an optional decimal places argument.
Learn how to work with the Python math module by importing it, using functions such as log, sqrt, pi, e, sin, tan, factorial, floor, and ceil, and understanding radians.
Use the time module to time algorithm execution by measuring before and after to compute the interval, and delay execution for a given number of seconds with subsecond precision.
Many students and professionals of biosciences are not familiar with programming. However, the increasing amount of biological data generated every year, along with advances in biotechnology and the increasing role of informatics in life sciences makes the programming knowledge essential for biologists, biotechnologists, and so on! In this introductory course, you will learn how to model simple genetics problems using the programming language Python. First, you will learn how to implement the commands or data structures in Python. And Finally, we will model some problems in the field of genetics using the knowledge acquired so far.
Since this is an introductory course, we will not use third-party libraries, such as Biopython, matplotlib, pandas, etc., but only the built-in commands, modules, and data structures.
In the first section of the course, we have a very brief introduction to refresh some concepts of genetics, such as genes, alleles, frequency, etc... In the second part of the course, you'll learn the basic commands, data structures, and functions of Python. In these chapters, you must apply the knowledge acquired so far in the chapter to solve some problems related to genetics in Python! There are more than 20 exercises and challenges to be solved throughout the course!
Therefore, if you want to:
Learn to think algorithmically
Model problems of genetics in a programming language
Learn how to use the most popular programming languages to model problems of biology
...this course is for you!