Python introduction lecture

Please find a PDF with notes to the lecture here.

All input files are provided here.

You will run your commands with IPython.
Install it on your instance with this command:
sudo apt-get install ipython

Exercises
First, login into your instance using x2go and open a terminal.
Next, download data and example scripts for both exercises:

cd ~/wpsg_2016/activities/; mkdir dadiExercise; cd dadiExercise
wget gutengroup.mcb.arizona.edu/temp/wspg2016.tgz

tar -xzf wspg2016.tgz

Start with the one that seems most interesting to you.
Work together!

1) Data processing exercise
Parse a frequency spectrum (crudely) from 1000 Genomes Data.

2) Simulation exercise
Simulate the Wright-Fisher model