Skip to content

Latest commit

 

History

History
131 lines (98 loc) · 6.6 KB

Intro_Python_Oct_2019.md

File metadata and controls

131 lines (98 loc) · 6.6 KB

.Intro_Python

Welcome to the introduction to Python (Sep-Oct 2019)

On this webpage you can find the info and links needed for the course This is a Python 3.7 course

We encourage you to install Python and Jupyter on your own laptop before the course. \

Installing Jupyter locally
Jupyter notebooks is a user interface which makes writing and commenting on Python code more convenient.
It can be installed together with Python via the Anaconda platform:
https://www.anaconda.com/download/

Installation guide A manual "how to install Python and Jupyter via Anaconda" can be found here:
https://drive.google.com/open?id=10apq_6_SeEQuKFegjZRvUNLhkRdazG0a


Assignment files

Assignment notebook: https://drive.google.com/open?id=1--o2mgxvHOLPQqy8S9wCz_MGq7IrDAWp
Additional assignment files:
Chicken coding sequences: https://drive.google.com/open?id=1O79NZhrsmspsxd_sLvO9L05SsLWr-twe
DNA_tools.py: https://drive.google.com/open?id=16SsUlH5kno346XRey7MZkBsvyJoA9Ebw
Assignment_data.py: https://drive.google.com/open?id=1mnrvE8ys9cZcOUyn03s5UIZynAPjWkOx
available Friday at 12:00


Python information

Cheatsheet Python: https://drive.google.com/open?id=1N71Ez322zHfIrwD02q3_kHW6O3eteYEI
Cheatsheet Regex: https://drive.google.com/open?id=1keFxUIZf3lDt3d800UcktDuSv0m48wip
Cheatsheet Matplotlib: https://drive.google.com/open?id=1JoQ8zFa1Zo844xH9VORKVTT7zPHrjEW5

Python documentation: https://docs.python.org/3.7/
Google: https://www.google.com/
Stackoverflow: https://stackoverflow.com/

Schedule

Day Date Time Place Topic
1 Mo 23/09 9:30 - 15:00 Str. 2.112 Jupyter, Variables, Loops
2 Tu 24/09 9:30 - 15:00 Str. 2.112 Lists, Dictionaries
3 We 25/09 9:30 - 15:00 Str. 2.112 Functions, Modules
4 Th 26/09 9:30 - 15:00 Str. 2.112 Plotting, Regex
5 Fr 27/09 9:00 - 17:00 - Self-study
----- ---------- --------------- ------------ ---------------------------
6 Mo 30/09 9:30 - 15:00 Str. 2.112 File Handling
7 Tu 01/10 9:00 - 17:00 - Self-study
8 We 02/10 9:30 - 15:00 Str. 2.112 Recap, Questions
9 Th 03/10 9:00 - 17:00 - Self-study
10 Fr 04/10 11:30 - 16:00 Str. 2.112 Final Assignment

Lunch breaks are between 12:30 and 13:00.

Practicals and presentations

Day 1: Jupyter, Variables, Loops
Intro: https://drive.google.com/open?id=1U4NeS2uW_URVbQZxa6s3Z46ZbE5pSu9s
PDF: https://drive.google.com/open?id=1Y7uNVu5-etVaooLEFYmx6mBuuwWlbHKA
WCPD notebook: https://drive.google.com/open?id=1mBikQS4tEMwvIRhHutwOCKh-KZhB6jIP
dna_counts.py: https://drive.google.com/open?id=19kpnnuVqu8diegO5OjeRHWI-SIh2t0TF
dna_sequences.txt: https://drive.google.com/open?id=1IG_yGrlSaVch2WjToCtSIXRosLtWsh_E
Jupyter notebook: https://drive.google.com/open?id=1ml4xyP3pgLgeMXDtUzFOrDbGIYk8klAl
Answers: https://drive.google.com/open?id=1qPs8nydCehkQGnSXnkuJ5G1qSKyN_oSj

Day 2: Lists, Dictionaries
PDF: https://drive.google.com/open?id=1itz4QyZaSvxN6tBxodA3ptcTTv7sVL6p
Jupyter notebook A: https://drive.google.com/open?id=1mEhdB9rqDRFIn1Lduv6etotvJXobIvIi
Jupyter notebook B: https://drive.google.com/open?id=10umRcyG4cmG5wz2QXqK2_NbtTQibntR2
Answers A : https://drive.google.com/open?id=1vOCxb8_ZbTS0vPtl0lG3yepRqx6RAnmL
Answers B : https://drive.google.com/open?id=1AZL79LVxraMqkuJZjrWKn0K_DxjTqqVu

Day 3: Functions, Modules
PDF: https://drive.google.com/open?id=1-qZJW7NA1d5TJTAE2pFt_lIoeUhCbuNL
Jupyter notebook: https://drive.google.com/open?id=1siiwIkxhASGjoJOVGiNRGrUv3Vb91zcf
DNA tools: https://drive.google.com/open?id=1EQBVWSef4kMMb9IeZot7JCC8GBjjNjni
Answers: https://drive.google.com/open?id=1EbNrwlGUWMV64XAm8TaOT7_D_-GxFr_P
Extra Examples: https://drive.google.com/open?id=1fyP0-K5a_ifaOr0UNR_XTQIrOcVkgoI2 \

Day 4: Plotting, Regular expression
PDF Plotting: https://drive.google.com/open?id=1oIPHNgiTVwZzZ8onW1C_MKd-FAp0BekO
PDF Regex: https://drive.google.com/open?id=1yEpxHUaLYW_ksqOm8ycv0qSFxcea34d1
Needed .bed File: https://drive.google.com/open?id=1wwDIxZP1SUH-8P2T13taIv7SIVX3U19r
Needed XY File: https://drive.google.com/open?id=1_Bf-B_4PJN8xGGNDxuT0NSelMPNfDK2F
Jupyter notebook Plotting: https://drive.google.com/open?id=1pY_HMGtmmI_vq5lsdYcUrpJNiwyNdQQu
Jupyter notebook Regex: https://drive.google.com/open?id=1T80oy9caJ1hOn3oMHEAlN87CRkjxOVF6
Answers Plotting: https://drive.google.com/open?id=1YYuF1IjlpveZPo-6uFZIBzgCFDkRfRfh
Answers Regex: https://drive.google.com/open?id=1WaFB5TCU1zvuYcziUZsf-gyFpbBwSagd \

Day 6: File handling
PDF: https://drive.google.com/open?id=14fnEbOCViSqeTNzHNI6IJahtzHnqGCuV
Jupyter notebook File handling: https://drive.google.com/open?id=1LLbKDnDmaghBOEaFsQveOYG22JBJStBA
Answers File handling: https://drive.google.com/open?id=1Lpts53dM5XjPgNPqBNmI0ngnoSvH21AQ \

Extra

Extra self study combined topics: https://drive.google.com/open?id=10idqg2ACnZQEFtxOln3TsgPNX23hxRE8
Bolivian squirrel monkey genes: https://drive.google.com/open?id=1CetJML7-EDFbBqqYHP8uCf4dJtqTm5Q7
Dolphin genes: https://drive.google.com/open?id=11LLe5TKQQeMxQO5QlpNfuhy7mdo0RECp
Answers: https://drive.google.com/open?id=1-Wmw7utm23l8ZVYmEE23Wc3rOBwmcRIv \

!! Nothing can be claimed based on this, just for practice !!

Extra, final test of last edition: https://drive.google.com/open?id=1hB1m_vD2_Np9uqQEwo0yILw_UepL6WCK
Mouse coding genes X Y: https://drive.google.com/open?id=1-7w_szqcrdK48qNYTVT_mB4QIow1a34d
Answers: ... \

Day 7: Extra Notebook "the hidden message: https://drive.google.com/open?id=1B-mmtzj-Pp-NtBit6eAU5YC1NtuXpzMf
Genome File: https://drive.google.com/open?id=18qkcEzc8NjzLNeA--FM1UVleg7UdkGWN
Answers the hidden message: https://drive.google.com/open?id=1DLJXXz2g-AavjjZtviLkFgUR5-DYnIzi \

Notebook: https://drive.google.com/open?id=1UgQAMXSR2Etcj1Q5IvlRwbBBtd1UDXQW
Snail File (you need this for the last parts of the notebook:
https://drive.google.com/open?id=1Gvz3Gl6hVPnrvc75-3wTnShl6xRnntxo

Extra information and references:
https://en.wikibooks.org/wiki/Python_Programming (some references can be Python 2.7!)
https://www.practicepython.org/ Extra practice
https://www.listendata.com/ Python, R and more

END