Newer
Older
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
{
"nbformat": 4,
"nbformat_minor": 0,
"metadata": {
"colab": {
"name": "Python_course_2022_exercises_REP_1.ipynb",
"provenance": [],
"collapsed_sections": [],
"authorship_tag": "ABX9TyOK+n6xTEMdtlhr0XP+1HC1"
},
"kernelspec": {
"name": "python3",
"display_name": "Python 3"
},
"language_info": {
"name": "python"
}
},
"cells": [
{
"cell_type": "markdown",
"source": [
"# Python course 2022 - Repetition 1"
],
"metadata": {
"id": "rVOAyVk29PEK",
"pycharm": {
"name": "#%% md\n"
}
}
},
{
"cell_type": "markdown",
"source": [
"These exercises are meant for repeating most of what you have learned in the course this far. For most of the tasks, you already have partial solutions from the other exercises. We encourage you to make use of those to review them again and maybe spot room for improvement here and there."
],
"metadata": {
"id": "AKw7LvX5_PDx",
"pycharm": {
"name": "#%% md\n"
}
}
},
{
"cell_type": "markdown",
"source": [
"1.1) Print the current time."
],
"metadata": {
"id": "9vyeiZ6d9cuS",
"pycharm": {
"name": "#%% md\n"
}
}
},
{
"cell_type": "code",
"source": [],
"metadata": {
"id": "i5YYaJQd9r5R",
"pycharm": {
"name": "#%%\n"
}
},
"execution_count": null,
"outputs": []
},
{
"cell_type": "markdown",
"source": [
"1.2) Count the number of genes (not exons) in the AtCol0_Exons.fasta file. How many genes are single-exons genes?"
],
"metadata": {
"id": "V7JwvoYf9sD7",
"pycharm": {
"name": "#%% md\n"
}
}
},
{
"cell_type": "code",
"source": [],
"metadata": {
"id": "6Ws6J3hI-GeJ",
"pycharm": {
"name": "#%%\n"
}
},
"execution_count": null,
"outputs": []
},
{
"cell_type": "markdown",
"source": [
"1.3) How many of the genes are located on the forward strand? How many are located on the reverse strand?"
],
"metadata": {
"id": "AdZ6SEqJ-Gjx",
"pycharm": {
"name": "#%% md\n"
}
}
},
{
"cell_type": "code",
"source": [],
"metadata": {
"id": "7mBK-0Xl-RyB",
"pycharm": {
"name": "#%%\n"
}
},
"execution_count": null,
"outputs": []
},
{
"cell_type": "markdown",
"source": [
"1.4) Count the number of genes per chromosome and plot the results."
],
"metadata": {
"id": "fatnU9Qy-R2q",
"pycharm": {
"name": "#%% md\n"
}
}
},
{
"cell_type": "code",
"source": [],
"metadata": {
"id": "lH2LJKhV-c85",
"pycharm": {
"name": "#%%\n"
}
},
"execution_count": null,
"outputs": []
},
{
"cell_type": "markdown",
"source": [
"1.5) Count the number of genes located on the chondrom and plastom."
],
"metadata": {
"id": "VNpMY2li-dAh",
"pycharm": {
"name": "#%% md\n"
}
}
},
{
"cell_type": "code",
"source": [],
"metadata": {
"id": "ub04PoVD-zY5",
"pycharm": {
"name": "#%%\n"
}
},
"execution_count": null,
"outputs": []
},
{
"cell_type": "markdown",
"source": [
"1.6) Which of the genes may potentially include the amino acid motive \"WIP\"?"
],
"metadata": {
"id": "fZVveOUq-zk6",
"pycharm": {
"name": "#%% md\n"
}
}
},
{
"cell_type": "code",
"source": [],
"metadata": {
"id": "wyInx7BA_OWC",
"pycharm": {
"name": "#%%\n"
}
},
"execution_count": null,
"outputs": []
}
]
}