質問編集履歴
1
マークダウン
test
CHANGED
File without changes
|
test
CHANGED
@@ -1,6 +1,4 @@
|
|
1
|
-
|
1
|
+
```python```
|
2
|
-
|
3
|
-
----------------------------------------
|
4
2
|
|
5
3
|
>YP_009518834.1 putative uncharacterized protein YjiT [Escherichia coli str. K-12 substr. MG1655]
|
6
4
|
|
@@ -30,9 +28,9 @@
|
|
30
28
|
|
31
29
|
DGVWRCIAHYGVSPR
|
32
30
|
|
31
|
+
```
|
33
32
|
|
34
33
|
|
35
|
-
---------------------------------------------
|
36
34
|
|
37
35
|
「>」でタンパク質名を判定し、print後、「>」で始まらない文字列に関して
|
38
36
|
|
@@ -40,7 +38,9 @@
|
|
40
38
|
|
41
39
|
|
42
40
|
|
41
|
+
|
42
|
+
|
43
|
-
|
43
|
+
```python
|
44
44
|
|
45
45
|
with open("short.sequ.txt") as f:
|
46
46
|
|
@@ -60,7 +60,9 @@
|
|
60
60
|
|
61
61
|
print(count)
|
62
62
|
|
63
|
-
|
63
|
+
```
|
64
|
+
|
65
|
+
|
64
66
|
|
65
67
|
>YP_009518834.1 putative uncharacterized protein YjiT [Escherichia coli str. K-12 substr. MG1655]
|
66
68
|
|
@@ -122,7 +124,7 @@
|
|
122
124
|
|
123
125
|
0
|
124
126
|
|
125
|
-
|
127
|
+
|
126
128
|
|
127
129
|
else文でjoin.splitがうまく作用していないのですが、
|
128
130
|
|