Skip to content

Latest commit

 

History

History
136 lines (98 loc) · 6.55 KB

Intro_Python_Feb_2020.md

File metadata and controls

136 lines (98 loc) · 6.55 KB

.Intro_Python

Welcome to the introduction to Python (Feb 2020)

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=1QeHPc2NFBQeJWztZfMgC-5IalP899vSf


Assignment files

Assignment notebook: https://drive.google.com/open?id=1_xqHqugKUqMc2MvlUQ4vAMIg5JOGRjKy
Additional assignment files: https://drive.google.com/open?id=1kn0xMRcNYBNWcS1XkMlHzVM5dRvyPfJ-
https://drive.google.com/open?id=1rj05-fJFktqLN7z-CVzByY6iUfGh0WLb
https://drive.google.com/open?id=100Vq5qUVFnE2Qe2higpdwF2dZ2-8blBH

available Friday Feb 21st at 12:00


Python information

Cheatsheet Python: https://drive.google.com/open?id=1N71Ez322zHfIrwD02q3_kHW6O3eteYEI
Cheatsheet Regex: https://drive.google.com/open?id=1rAj0L93NvnUkC2DvaqMeTSS3Cs82wnEr
Cheatsheet Matplotlib: https://drive.google.com/open?id=1mrHarxxyZjIxZ5XRGJ-DfvjL1JstMup5

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 10/02 9:30 - 15:00 Str. 2.112 Jupyter, Variables, Loops
2 Tu 11/02 9:30 - 15:00 Str. 2.112 Lists, Dictionaries
3 We 12/02 9:30 - 15:00 Str. 2.112 Functions, Modules
4 Th 13/02 9:30 - 15:00 Str. 2.112 Plotting, Regex
5 Fr 14/02 9:00 - 17:00 - Self-study
----- ---------- --------------- ------------ ---------------------------
6 Mo 17/02 9:30 - 15:00 Str. 2.112 File Handling
7 Tu 18/02 9:00 - 17:00 - Self-study
8 We 19/02 9:30 - 15:00 Str. 2.112 Recap, Questions
9 Th 20/02 9:00 - 17:00 - Self-study
10 Fr 21/02 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=1pDJpYubrUoK2WQ_q6q-NyZ95RO8usZDD
PDF: https://drive.google.com/open?id=1s5AWyMdFg-ruMG8S13ZZeNQGup44AxrS
WCPD notebook: https://drive.google.com/open?id=1lZfX77KJ0x_4_6VB1NmYziDHPsPToQaJ
dna_counts.py: https://drive.google.com/open?id=1awVutU891-HYExX2r-H2X4TN8gDzfQYs
dna_sequences.txt: https://drive.google.com/open?id=18MEuszYUvGx7uLmP2k1xkebiMdcPRVS7
Jupyter notebook: https://drive.google.com/open?id=16aQ0TrMa0vOzyTtckBjPaCsXOTghxVvm
Answers: https://drive.google.com/open?id=1EFtX8C6M-17oCC7EPn0r2NRMovVAvgyz

Day 2: Lists, Dictionaries
PDF: https://drive.google.com/open?id=122HdQ-ddMNfs9xCref75SJ6HIBYkVd1g
Jupyter notebook A: https://drive.google.com/open?id=14q9khC3CFlb3MD1nA0hfpOcQaG-n7XEd
Jupyter notebook B: https://drive.google.com/file/d/1JFQselnbKhruYdtQUccnDHxby_2Wio4s/view?usp=sharing
Answers A : https://drive.google.com/open?id=1cjalV6vPzIu-diVtWjqaB0CyS0Yq8C0g
Answers B : https://drive.google.com/open?id=1q83_zH6CW0c95btlLb3c1U2gJFT3DJfd

Day 3: Functions, Modules
PDF: https://drive.google.com/open?id=1U9oNO-UM55RG1Ji5tSY-DKN2quU25PQL
Jupyter notebook: https://drive.google.com/open?id=1keQLn10TgAwmpsVmQ-whyao6rUSW5YSQ
DNA tools: https://drive.google.com/open?id=1Q5LyB9VBnATQikwZTMPUHL4vFowbbCJd
Answers: https://drive.google.com/open?id=16ZCm8bzgM_JMFCNM1aA1CeCYlM3CLyrd \

Day 4: Plotting, Regular expression
PDF Plotting: https://drive.google.com/open?id=1odzVZglD_BpDlPPlxk3ws7vDktX-QmNO
PDF Regex: https://drive.google.com/open?id=1JfI7cj4iXeVN6W59XktNol22s8UZ4veG
Needed .bed File: https://drive.google.com/open?id=1lImkaG3bjkhUE2SmBq4gcG1gpVwX1yYq
Needed XY File: https://drive.google.com/open?id=1EsKcUaiwlZtma5RQq9AWqRkn98sY7x4Z
Jupyter notebook Plotting: https://drive.google.com/open?id=1w746xrwIVbzVigw6AWA8QTMbipsmpaUT
Jupyter notebook Regex: https://drive.google.com/open?id=1twwsYp320p9_bl-MuKtb5ouWXflClO4C
Answers Plotting: https://drive.google.com/open?id=1W7fSs_ZS7pf70nU5T6EzlfB_GlosEiEH
Answers Regex: https://drive.google.com/open?id=1Kp3NubViytpw9b3rMosZyshgsAPWeXr3 \

Here are some extra notebooks with examples from last edition, you can run them and try to understand what they do: Extra1: https://drive.google.com/open?id=1fyP0-K5a_ifaOr0UNR_XTQIrOcVkgoI2
Extra2: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 \

Day 6: File handling
PDF: https://drive.google.com/open?id=1YdPhgLor-dKFw8xLjVAHEVfdgboNS8xp
Jupyter notebook File handling: https://drive.google.com/open?id=1Q1bB6mg2q3xkOQRcovBLCVRMEdHVCDIa
Answers File handling: https://drive.google.com/open?id=1iVAClWpbcyTBrTItvKFSg4sjqxho1C-b \

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=10WAXYC_qahTZYM2csX-hC895gdDepFjh
Mouse coding genes X Y: https://drive.google.com/open?id=1ymB9P3up3114hgpSSGfR_HD_FhUXGYEI
Answers: ... \

Day 7: Extra Notebook "the hidden message:
Genome File: https://drive.google.com/open?id=1Y4MI7spnBiWWaoLKVLcPRxiRvOD64haG
Answers the hidden message: \

Notebook: \

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