COMP 364: Computer Tools for Life Sciences
Python libraries; How to read and use an API Christopher J.F. Cameron and Carlos G. Oliver
1 / 20
COMP 364: Computer Tools for Life Sciences Python libraries; How to - - PowerPoint PPT Presentation
COMP 364: Computer Tools for Life Sciences Python libraries; How to read and use an API Christopher J.F. Cameron and Carlos G. Oliver 1 / 20 Problem solving Todays lecture will be slightly different than most were going to define a
1 / 20
◮ application programming interface (API) 2 / 20
◮ DNA ∈ {A, C, G, T}
◮ RNA ∈ {A, C, G, U}
◮ genes contain the instructions to build proteins
◮ cystic fibrosis, Huntington’s disease, etc. 3 / 20
4 / 20
◮ what would be an appropriate data structure? 5 / 20
1
2
3
4
5
6
7
8
9
10
11
12
13
14
6 / 20
7 / 20
8 / 20
1
2 3
4
5
6
7
8
9 / 20
10 / 20
1
2 3
4
5
6
7
8
9
10
11 / 20
◮ perhaps a list of tuples? ◮ or can someone think of a better implementation? 12 / 20
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
13 / 20
14 / 20
15 / 20
16 / 20
17 / 20
1
2 3
4
5
6
7
8
9
◮ a centroid is the centre of a cluster
18 / 20
1
2 3
4
5
6
7
8
9
19 / 20
20 / 20