Next year separate strings + lists and dictionaries in separate weeks so we have time to go through the methods for each before the exercises in each topic.

TODO:

Week 3 check strings hand-in make strings exercise with HIV () - pairwise differences

Week 4

talk about values and references - mailund something on that. make lists exercise with HIV - maybe don't need any make dictionaries exercise with HIV - nucleotide and codon usage

Week 5

Week 6

Week 7

Week Double lecture Single Lecture Excercise
1 Introduction, Expressions, If statements Installation, IDLE, Expressions, If statements
2 Control flow, Functions Functons, Types, Modules, and problems Control flow and Simple functions
3 Strings, Methods, Lists, Dictionaries Hand-in and problems Pairwise differences and counting bases
4 Strings, Methods, Lists, Dictionaries Hand-in and problems Virus open reading frames
5 Files Hand-in and problems Reformating virus data file
6 Regular expressions Hand-in and problems Find virus sequence motifs
7 Running scripts, Biopython, Guest lecture Hand-in and problems Finding virus genes
8 Wrap up, Exam, Bachelor projects, Evaluation

Course outline

Here is an outline of the course as it is planed as we start out, but it may change a bit along the way when this makes sense.

Week Double lecture Single Lecture Excercise Hand in
1 Intro, Expressions, If, Indentation, Installation, IDLE, Expressions, If statements None
2 Control flow, True and False, Functions, Modules Types and problems Control flow and Simple functions Pytagoras functions
3 Strings, Functions, Methods Hand in and problems String manipulation, GC content ??
4 Lists, Dictionaries Hand in and problems Comparing sequences ??|
5 Files Hand in and problems Reformating data file ??
6 Regular expressions Hand in and problems ORFs ??
7 Running scripts, Biopython, Guest lecture Hand in and problems More ORFs ??
8 Wrap up, Bachelor projects, Evaluation

In the first of the double lectures I will intruduce new material, and in the second we will try and tackle this togeather. In the single lecture I will go through last weeks hand in, and other issues that turns out to require more of our attention. The complexity of the exercises you will do with your TAs will reflect the programming techniques you have been introduced to.

Case for Excercises

Download HIV-1 HIV-2 and different subtypes of those.

Strings: Find the 5' and 3' LTRs

Lists, Dictionaries: pairwise diffs to other HIV types, nucleotide content

Files: Reformatting data

ORFs1 and ORFs2: Find open reading frames, calculate codon bias,

Week 1

Lecture 3

Introduktion:

Why learn to program:

Kurset:

Praktiske ting:

The Lego analogy:

Talking to a computer:

Quick excercise:

x = 7

if x == 1:
    output x

if x > 1:
    x = x - 1

... and keep doing that until we output x

Examples of variable manipulation:

Examples of variable manipulation:

When a program is executed a operations are evaluated line by line. That lines to evaluate can be controled by yes/no questions.

French: Horse = Chevalier and the rest is like that... With programming this is almost true.

Week 2

Lecture 1

Hvordan gik oevelserne?

Control flow:

Functions:

def gangMedSyv(x):
    x = x * 7
    return x
oldvalue = 2
newvalue = gangMedSyv(oldvalue)

scopes

Lecture 2

Lecture 3

Week 3

Lecture 1

Lecture 2

Lecture 3

Week 4

Lecture 1

Lecture 2

Lecture 3

Week 5

Lecture 1

Lecture 2

Lecture 3

Week 6

Lecture 1

Lecture 2

Lecture 3

Week 7

Lecture 1

Lecture 2

Lecture 3

Week 8

Lecture 1

Lecture 2

Index

Contact info

Office address:
Bioinformatics Research Centre (BiRC)
Aarhus University
C.F. Møllers Allé 8
DK-8000 Aarhus C
Denmark
Office phone:
+45 871 55558
Mobile phone:
3013 8342
Email:
kaspermunch@birc.au.dk