bioroebe 0.10.80 → 0.11.25

Sign up to get free protection for your applications and to get access to all the features.

Potentially problematic release.


This version of bioroebe might be problematic. Click here for more details.

Files changed (134) hide show
  1. checksums.yaml +4 -4
  2. data/README.md +3117 -2645
  3. data/bioroebe.gemspec +3 -3
  4. data/doc/README.gen +3116 -2644
  5. data/doc/todo/bioroebe_todo.md +418 -387
  6. data/lib/bioroebe/aminoacids/aminoacid_substitution.rb +1 -9
  7. data/lib/bioroebe/aminoacids/codon_percentage.rb +1 -9
  8. data/lib/bioroebe/aminoacids/deduce_aminoacid_sequence.rb +1 -9
  9. data/lib/bioroebe/aminoacids/display_aminoacid_table.rb +1 -0
  10. data/lib/bioroebe/aminoacids/show_hydrophobicity.rb +1 -6
  11. data/lib/bioroebe/base/colours_for_base/colours_for_base.rb +18 -8
  12. data/lib/bioroebe/base/commandline_application/commandline_arguments.rb +13 -11
  13. data/lib/bioroebe/base/commandline_application/misc.rb +18 -8
  14. data/lib/bioroebe/base/misc.rb +16 -0
  15. data/lib/bioroebe/base/prototype/misc.rb +1 -1
  16. data/lib/bioroebe/codons/show_codon_tables.rb +6 -2
  17. data/lib/bioroebe/codons/show_codon_usage.rb +2 -1
  18. data/lib/bioroebe/constants/aminoacids_and_proteins.rb +1 -0
  19. data/lib/bioroebe/constants/database_constants.rb +1 -1
  20. data/lib/bioroebe/constants/files_and_directories.rb +24 -4
  21. data/lib/bioroebe/constants/misc.rb +20 -0
  22. data/lib/bioroebe/count/count_amount_of_nucleotides.rb +3 -0
  23. data/lib/bioroebe/crystal/README.md +2 -0
  24. data/lib/bioroebe/crystal/to_rna.cr +19 -0
  25. data/lib/bioroebe/data/README.md +11 -8
  26. data/lib/bioroebe/data/electron_microscopy/pos_example.pos +396 -0
  27. data/lib/bioroebe/data/electron_microscopy/test_particles.star +36 -0
  28. data/lib/bioroebe/{shell/tk.rb → electron_microscopy/electron_microscopy_module.rb} +15 -10
  29. data/lib/bioroebe/electron_microscopy/simple_star_file_generator.rb +4 -9
  30. data/lib/bioroebe/fasta_and_fastq/show_fasta_headers.rb +27 -12
  31. data/lib/bioroebe/genome/README.md +4 -0
  32. data/lib/bioroebe/genome/genome.rb +67 -0
  33. data/lib/bioroebe/gui/gtk +1 -0
  34. data/lib/bioroebe/gui/gtk3/controller/controller.rb +45 -27
  35. data/lib/bioroebe/gui/gtk3/dna_to_aminoacid_widget/dna_to_aminoacid_widget.rb +76 -50
  36. data/lib/bioroebe/gui/gtk3/hamming_distance/hamming_distance.rb +42 -28
  37. data/lib/bioroebe/gui/gtk3/nucleotide_analyser/nucleotide_analyser.rb +119 -71
  38. data/lib/bioroebe/gui/gtk3/protein_to_DNA/protein_to_DNA.rb +18 -18
  39. data/lib/bioroebe/gui/gtk3/random_sequence/random_sequence.rb +19 -11
  40. data/lib/bioroebe/gui/shared_code/protein_to_DNA/protein_to_DNA_module.rb +14 -14
  41. data/lib/bioroebe/misc/ruler.rb +1 -0
  42. data/lib/bioroebe/parsers/genbank_parser.rb +353 -24
  43. data/lib/bioroebe/parsers/gff.rb +1 -9
  44. data/lib/bioroebe/pdb/parse_pdb_file.rb +1 -9
  45. data/lib/bioroebe/project/project.rb +1 -1
  46. data/lib/bioroebe/python/README.md +1 -0
  47. data/lib/bioroebe/python/__pycache__/mymodule.cpython-39.pyc +0 -0
  48. data/lib/bioroebe/python/gui/gtk3/all_in_one.css +4 -0
  49. data/lib/bioroebe/python/gui/gtk3/all_in_one.py +59 -0
  50. data/lib/bioroebe/python/gui/gtk3/widget1.py +20 -0
  51. data/lib/bioroebe/python/gui/tkinter/all_in_one.py +91 -0
  52. data/lib/bioroebe/python/mymodule.py +8 -0
  53. data/lib/bioroebe/python/protein_to_dna.py +33 -0
  54. data/lib/bioroebe/python/shell/shell.py +19 -0
  55. data/lib/bioroebe/python/to_rna.py +14 -0
  56. data/lib/bioroebe/python/toplevel_methods/open_in_browser.py +20 -0
  57. data/lib/bioroebe/python/toplevel_methods/palindromes.py +42 -0
  58. data/lib/bioroebe/python/toplevel_methods/rds.py +13 -0
  59. data/lib/bioroebe/python/toplevel_methods/three_delimiter.py +34 -0
  60. data/lib/bioroebe/python/toplevel_methods/time_and_date.py +43 -0
  61. data/lib/bioroebe/python/toplevel_methods/to_camelcase.py +11 -0
  62. data/lib/bioroebe/requires/require_the_bioroebe_project.rb +3 -1
  63. data/lib/bioroebe/sequence/nucleotide_module/nucleotide_module.rb +28 -25
  64. data/lib/bioroebe/sequence/protein.rb +105 -3
  65. data/lib/bioroebe/sequence/sequence.rb +61 -2
  66. data/lib/bioroebe/shell/menu.rb +3752 -3667
  67. data/lib/bioroebe/shell/misc.rb +51 -4311
  68. data/lib/bioroebe/shell/readline/readline.rb +1 -1
  69. data/lib/bioroebe/shell/shell.rb +11199 -28
  70. data/lib/bioroebe/siRNA/siRNA.rb +81 -1
  71. data/lib/bioroebe/string_matching/find_longest_substring.rb +3 -2
  72. data/lib/bioroebe/taxonomy/class_methods.rb +3 -8
  73. data/lib/bioroebe/taxonomy/constants.rb +4 -3
  74. data/lib/bioroebe/taxonomy/edit.rb +2 -1
  75. data/lib/bioroebe/taxonomy/help/help.rb +10 -10
  76. data/lib/bioroebe/taxonomy/info/check_available.rb +15 -9
  77. data/lib/bioroebe/taxonomy/info/info.rb +17 -2
  78. data/lib/bioroebe/taxonomy/info/is_dna.rb +46 -36
  79. data/lib/bioroebe/taxonomy/interactive.rb +139 -95
  80. data/lib/bioroebe/taxonomy/menu.rb +27 -18
  81. data/lib/bioroebe/taxonomy/parse_fasta.rb +3 -1
  82. data/lib/bioroebe/taxonomy/shared.rb +1 -0
  83. data/lib/bioroebe/taxonomy/taxonomy.rb +1 -0
  84. data/lib/bioroebe/toplevel_methods/aminoacids_and_proteins.rb +31 -24
  85. data/lib/bioroebe/toplevel_methods/databases.rb +1 -1
  86. data/lib/bioroebe/toplevel_methods/fasta_and_fastq.rb +101 -63
  87. data/lib/bioroebe/toplevel_methods/misc.rb +17 -16
  88. data/lib/bioroebe/toplevel_methods/nucleotides.rb +22 -5
  89. data/lib/bioroebe/toplevel_methods/open_in_browser.rb +2 -0
  90. data/lib/bioroebe/toplevel_methods/palindromes.rb +1 -2
  91. data/lib/bioroebe/toplevel_methods/taxonomy.rb +2 -2
  92. data/lib/bioroebe/toplevel_methods/to_camelcase.rb +5 -0
  93. data/lib/bioroebe/utility_scripts/align_open_reading_frames.rb +1 -9
  94. data/lib/bioroebe/utility_scripts/check_for_mismatches/check_for_mismatches.rb +1 -9
  95. data/lib/bioroebe/utility_scripts/compacter.rb +1 -9
  96. data/lib/bioroebe/utility_scripts/compseq/compseq.rb +1 -9
  97. data/lib/bioroebe/utility_scripts/create_batch_entrez_file.rb +1 -9
  98. data/lib/bioroebe/utility_scripts/dot_alignment.rb +1 -9
  99. data/lib/bioroebe/utility_scripts/move_file_to_its_correct_location.rb +1 -4
  100. data/lib/bioroebe/utility_scripts/showorf/constants.rb +0 -5
  101. data/lib/bioroebe/utility_scripts/showorf/reset.rb +1 -4
  102. data/lib/bioroebe/version/version.rb +2 -2
  103. data/lib/bioroebe/www/embeddable_interface.rb +101 -52
  104. data/lib/bioroebe/www/sinatra/sinatra.rb +186 -70
  105. data/lib/bioroebe/yaml/aminoacids/amino_acids_long_name_to_one_letter.yml +2 -2
  106. data/lib/bioroebe/yaml/configuration/browser.yml +1 -1
  107. data/lib/bioroebe/yaml/genomes/README.md +3 -4
  108. data/lib/bioroebe/yaml/restriction_enzymes/restriction_enzymes.yml +3 -3
  109. metadata +33 -35
  110. data/doc/setup.rb +0 -1655
  111. data/lib/bioroebe/genbank/genbank_parser.rb +0 -291
  112. data/lib/bioroebe/shell/add.rb +0 -108
  113. data/lib/bioroebe/shell/assign.rb +0 -360
  114. data/lib/bioroebe/shell/chop_and_cut.rb +0 -281
  115. data/lib/bioroebe/shell/constants.rb +0 -166
  116. data/lib/bioroebe/shell/download.rb +0 -335
  117. data/lib/bioroebe/shell/enable_and_disable.rb +0 -158
  118. data/lib/bioroebe/shell/enzymes.rb +0 -310
  119. data/lib/bioroebe/shell/fasta.rb +0 -345
  120. data/lib/bioroebe/shell/gtk.rb +0 -76
  121. data/lib/bioroebe/shell/history.rb +0 -132
  122. data/lib/bioroebe/shell/initialize.rb +0 -217
  123. data/lib/bioroebe/shell/loop.rb +0 -74
  124. data/lib/bioroebe/shell/prompt.rb +0 -107
  125. data/lib/bioroebe/shell/random.rb +0 -289
  126. data/lib/bioroebe/shell/reset.rb +0 -335
  127. data/lib/bioroebe/shell/scan_and_parse.rb +0 -135
  128. data/lib/bioroebe/shell/search.rb +0 -337
  129. data/lib/bioroebe/shell/sequences.rb +0 -200
  130. data/lib/bioroebe/shell/show_report_and_display.rb +0 -2901
  131. data/lib/bioroebe/shell/startup.rb +0 -127
  132. data/lib/bioroebe/shell/taxonomy.rb +0 -14
  133. data/lib/bioroebe/shell/user_input.rb +0 -88
  134. data/lib/bioroebe/shell/xorg.rb +0 -45
@@ -0,0 +1,396 @@
1
+ # XMIPP_STAR_1 *
2
+ #
3
+ data_mic_1_36kx_4
4
+ loop_
5
+ _xcoor
6
+ _ycoor
7
+ _cost
8
+ 2950 48 2.000000
9
+ 2965 69 2.000000
10
+ 2991 65 2.000000
11
+ 2927 346 2.000000
12
+ 2961 368 2.000000
13
+ 3043 421 2.000000
14
+ 3092 311 2.000000
15
+ 3067 306 2.000000
16
+ 3075 271 2.000000
17
+ 3064 256 2.000000
18
+ 3115 357 2.000000
19
+ 2854 466 2.000000
20
+ 2886 510 2.000000
21
+ 2902 474 2.000000
22
+ 3036 563 2.000000
23
+ 3030 579 2.000000
24
+ 2890 755 2.000000
25
+ 2926 755 2.000000
26
+ 2972 730 2.000000
27
+ 2466 394 2.000000
28
+ 2444 421 2.000000
29
+ 2468 438 2.000000
30
+ 2486 400 2.000000
31
+ 2352 440 2.000000
32
+ 2359 266 2.000000
33
+ 2368 293 2.000000
34
+ 2407 286 2.000000
35
+ 2347 168 2.000000
36
+ 2361 136 2.000000
37
+ 2368 110 2.000000
38
+ 2358 90 2.000000
39
+ 2326 86 2.000000
40
+ 2161 166 2.000000
41
+ 2155 139 2.000000
42
+ 2129 152 2.000000
43
+ 2126 184 2.000000
44
+ 2028 141 2.000000
45
+ 2036 112 2.000000
46
+ 2000 104 2.000000
47
+ 2018 74 2.000000
48
+ 1970 66 2.000000
49
+ 1960 45 2.000000
50
+ 1940 57 2.000000
51
+ 2005 26 2.000000
52
+ 1686 190 2.000000
53
+ 1667 216 2.000000
54
+ 1628 210 2.000000
55
+ 1688 238 2.000000
56
+ 1707 215 2.000000
57
+ 1678 262 2.000000
58
+ 1836 368 2.000000
59
+ 1861 404 2.000000
60
+ 2092 256 2.000000
61
+ 2223 308 2.000000
62
+ 2219 338 2.000000
63
+ 2244 326 2.000000
64
+ 2270 324 2.000000
65
+ 2181 438 2.000000
66
+ 2271 452 2.000000
67
+ 2281 676 2.000000
68
+ 2253 748 2.000000
69
+ 2100 684 2.000000
70
+ 2068 700 2.000000
71
+ 2083 731 2.000000
72
+ 2102 805 2.000000
73
+ 2354 856 2.000000
74
+ 2384 860 2.000000
75
+ 2508 822 2.000000
76
+ 2545 839 2.000000
77
+ 2531 869 2.000000
78
+ 2551 886 2.000000
79
+ 2585 892 2.000000
80
+ 2580 916 2.000000
81
+ 2597 872 2.000000
82
+ 2624 859 2.000000
83
+ 2573 1103 2.000000
84
+ 2529 1125 2.000000
85
+ 2562 1132 2.000000
86
+ 3109 913 2.000000
87
+ 3138 894 2.000000
88
+ 3159 910 2.000000
89
+ 3162 877 2.000000
90
+ 3167 853 2.000000
91
+ 1744 946 2.000000
92
+ 1755 618 2.000000
93
+ 2048 1063 2.000000
94
+ 1499 131 2.000000
95
+ 1497 101 2.000000
96
+ 1530 75 2.000000
97
+ 1244 117 2.000000
98
+ 1227 54 2.000000
99
+ 1097 464 2.000000
100
+ 915 547 2.000000
101
+ 757 519 2.000000
102
+ 755 540 2.000000
103
+ 782 528 2.000000
104
+ 810 747 2.000000
105
+ 790 769 2.000000
106
+ 829 759 2.000000
107
+ 1355 767 2.000000
108
+ 1480 590 2.000000
109
+ 1505 585 2.000000
110
+ 1631 838 2.000000
111
+ 1587 854 2.000000
112
+ 1479 911 2.000000
113
+ 1460 925 2.000000
114
+ 1074 1064 2.000000
115
+ 1097 1120 2.000000
116
+ 1055 1151 2.000000
117
+ 1017 1159 2.000000
118
+ 1027 1185 2.000000
119
+ 2192 884 2.000000
120
+ 1606 530 2.000000
121
+ 1688 510 2.000000
122
+ 668 728 2.000000
123
+ 664 749 2.000000
124
+ 732 1000 2.000000
125
+ 764 1023 2.000000
126
+ 788 972 2.000000
127
+ 817 964 2.000000
128
+ 839 980 2.000000
129
+ 940 947 2.000000
130
+ 950 924 2.000000
131
+ 441 184 2.000000
132
+ 429 232 2.000000
133
+ 689 288 2.000000
134
+ 697 317 2.000000
135
+ 722 298 2.000000
136
+ 740 328 2.000000
137
+ 256 406 2.000000
138
+ 280 420 2.000000
139
+ 316 433 2.000000
140
+ 240 496 2.000000
141
+ 406 527 2.000000
142
+ 440 563 2.000000
143
+ 200 690 2.000000
144
+ 201 710 2.000000
145
+ 228 715 2.000000
146
+ 227 692 2.000000
147
+ 259 714 2.000000
148
+ 93 745 2.000000
149
+ 86 784 2.000000
150
+ 544 712 2.000000
151
+ 550 735 2.000000
152
+ 540 628 2.000000
153
+ 571 600 2.000000
154
+ 926 632 2.000000
155
+ 937 662 2.000000
156
+ 1374 208 2.000000
157
+ 1295 131 2.000000
158
+ 757 90 2.000000
159
+ 1337 903 2.000000
160
+ 1417 770 2.000000
161
+ 296 962 2.000000
162
+ 284 991 2.000000
163
+ 241 899 2.000000
164
+ 258 880 2.000000
165
+ 33 982 2.000000
166
+ 24 1007 2.000000
167
+ 100 1029 2.000000
168
+ 158 1149 2.000000
169
+ 190 1188 2.000000
170
+ 240 1205 2.000000
171
+ 309 1100 2.000000
172
+ 328 1144 2.000000
173
+ 1230 1118 2.000000
174
+ 1219 1158 2.000000
175
+ 1402 960 2.000000
176
+ 1300 812 2.000000
177
+ 1436 715 2.000000
178
+ 1289 721 2.000000
179
+ 1328 464 2.000000
180
+ 1441 401 2.000000
181
+ 481 234 2.000000
182
+ 474 257 2.000000
183
+ 561 351 2.000000
184
+ 600 350 2.000000
185
+ 594 370 2.000000
186
+ 444 431 2.000000
187
+ 88 629 2.000000
188
+ 91 845 2.000000
189
+ 109 875 2.000000
190
+ 126 840 2.000000
191
+ 145 847 2.000000
192
+ 185 1022 2.000000
193
+ 342 829 2.000000
194
+ 1112 782 2.000000
195
+ 1169 587 2.000000
196
+ 309 149 2.000000
197
+ 89 507 2.000000
198
+ 255 78 2.000000
199
+ 164 1306 2.000000
200
+ 190 1327 2.000000
201
+ 158 1341 2.000000
202
+ 218 1473 2.000000
203
+ 222 1497 2.000000
204
+ 244 1488 2.000000
205
+ 465 1411 2.000000
206
+ 485 1394 2.000000
207
+ 493 1419 2.000000
208
+ 223 1610 2.000000
209
+ 208 1633 2.000000
210
+ 234 1639 2.000000
211
+ 142 1753 2.000000
212
+ 323 1762 2.000000
213
+ 336 1793 2.000000
214
+ 395 1659 2.000000
215
+ 569 1681 2.000000
216
+ 603 1678 2.000000
217
+ 587 1710 2.000000
218
+ 906 1477 2.000000
219
+ 930 1511 2.000000
220
+ 995 1549 2.000000
221
+ 888 1351 2.000000
222
+ 958 1317 2.000000
223
+ 1202 1287 2.000000
224
+ 1228 1279 2.000000
225
+ 1251 1297 2.000000
226
+ 1229 1323 2.000000
227
+ 1483 1430 2.000000
228
+ 1448 1357 2.000000
229
+ 1456 1451 2.000000
230
+ 1457 1474 2.000000
231
+ 1475 1476 2.000000
232
+ 1256 1651 2.000000
233
+ 1291 1656 2.000000
234
+ 1268 1683 2.000000
235
+ 1295 1683 2.000000
236
+ 1251 1722 2.000000
237
+ 1252 1751 2.000000
238
+ 1319 1696 2.000000
239
+ 1342 1715 2.000000
240
+ 1054 1679 2.000000
241
+ 1080 1671 2.000000
242
+ 1084 1649 2.000000
243
+ 1103 1632 2.000000
244
+ 682 1833 2.000000
245
+ 739 1840 2.000000
246
+ 766 1878 2.000000
247
+ 802 1883 2.000000
248
+ 824 1835 2.000000
249
+ 889 1816 2.000000
250
+ 900 1785 2.000000
251
+ 377 1971 2.000000
252
+ 361 1946 2.000000
253
+ 43 2293 2.000000
254
+ 63 2270 2.000000
255
+ 86 2175 2.000000
256
+ 33 1996 2.000000
257
+ 239 2028 2.000000
258
+ 399 2046 2.000000
259
+ 427 2077 2.000000
260
+ 314 2308 2.000000
261
+ 334 2320 2.000000
262
+ 277 2408 2.000000
263
+ 384 2419 2.000000
264
+ 512 2402 2.000000
265
+ 602 2176 2.000000
266
+ 588 2145 2.000000
267
+ 833 2365 2.000000
268
+ 1193 2275 2.000000
269
+ 1260 2290 2.000000
270
+ 1286 2299 2.000000
271
+ 1557 2185 2.000000
272
+ 1585 2216 2.000000
273
+ 1343 1890 2.000000
274
+ 1312 1868 2.000000
275
+ 1201 1843 2.000000
276
+ 1085 1763 2.000000
277
+ 476 1650 2.000000
278
+ 1339 1532 2.000000
279
+ 2314 1268 2.000000
280
+ 1791 1654 2.000000
281
+ 1762 1686 2.000000
282
+ 1746 1720 2.000000
283
+ 1811 1684 2.000000
284
+ 1837 1626 2.000000
285
+ 1864 1645 2.000000
286
+ 1876 1622 2.000000
287
+ 2003 1635 2.000000
288
+ 1997 1685 2.000000
289
+ 1960 1747 2.000000
290
+ 2035 1665 2.000000
291
+ 2049 1632 2.000000
292
+ 2063 1577 2.000000
293
+ 2123 1557 2.000000
294
+ 2208 1615 2.000000
295
+ 2215 1674 2.000000
296
+ 2191 1723 2.000000
297
+ 2165 1726 2.000000
298
+ 1973 1839 2.000000
299
+ 1883 1965 2.000000
300
+ 1867 1985 2.000000
301
+ 1709 1829 2.000000
302
+ 1626 1863 2.000000
303
+ 1646 1879 2.000000
304
+ 1678 1883 2.000000
305
+ 1678 1668 2.000000
306
+ 2226 1937 2.000000
307
+ 2205 1968 2.000000
308
+ 2225 1989 2.000000
309
+ 2239 1969 2.000000
310
+ 2258 1992 2.000000
311
+ 2329 1773 2.000000
312
+ 2343 1751 2.000000
313
+ 2287 2160 2.000000
314
+ 2265 2202 2.000000
315
+ 2254 2235 2.000000
316
+ 2234 2221 2.000000
317
+ 2477 2201 2.000000
318
+ 2464 2264 2.000000
319
+ 2522 2257 2.000000
320
+ 2568 2262 2.000000
321
+ 2569 2293 2.000000
322
+ 2599 2292 2.000000
323
+ 2635 2302 2.000000
324
+ 2635 2332 2.000000
325
+ 2822 2207 2.000000
326
+ 2845 2194 2.000000
327
+ 2855 2227 2.000000
328
+ 2858 2260 2.000000
329
+ 2851 2064 2.000000
330
+ 2831 2014 2.000000
331
+ 2845 1990 2.000000
332
+ 2793 1982 2.000000
333
+ 2555 1809 2.000000
334
+ 2557 1869 2.000000
335
+ 2550 1887 2.000000
336
+ 2555 1758 2.000000
337
+ 2547 1612 2.000000
338
+ 2567 1593 2.000000
339
+ 2509 1653 2.000000
340
+ 2437 1640 2.000000
341
+ 2408 1642 2.000000
342
+ 2860 1644 2.000000
343
+ 2859 1616 2.000000
344
+ 2881 1474 2.000000
345
+ 2723 1326 2.000000
346
+ 2737 1292 2.000000
347
+ 1865 2127 2.000000
348
+ 1940 2140 2.000000
349
+ 1982 2148 2.000000
350
+ 1923 2286 2.000000
351
+ 1973 2315 2.000000
352
+ 1744 2424 2.000000
353
+ 1641 2298 2.000000
354
+ 2700 2347 2.000000
355
+ 2735 2295 2.000000
356
+ 2741 2405 2.000000
357
+ 2742 2437 2.000000
358
+ 2479 2091 2.000000
359
+ 2458 2107 2.000000
360
+ 3164 2271 2.000000
361
+ 3138 2278 2.000000
362
+ 3085 2290 2.000000
363
+ 3057 2315 2.000000
364
+ 3030 2298 2.000000
365
+ 2973 2318 2.000000
366
+ 2945 2378 2.000000
367
+ 3037 2409 2.000000
368
+ 2928 1896 2.000000
369
+ 2908 1888 2.000000
370
+ 2986 1901 2.000000
371
+ 3006 1875 2.000000
372
+ 3036 1890 2.000000
373
+ 2924 1770 2.000000
374
+ 2921 1736 2.000000
375
+ 2865 1732 2.000000
376
+ 3010 1654 2.000000
377
+ 3009 1630 2.000000
378
+ 3000 1769 2.000000
379
+ 3020 1530 2.000000
380
+ 3079 1510 2.000000
381
+ 3119 1528 2.000000
382
+ 2247 1782 2.000000
383
+ 2486 1305 2.000000
384
+ 2608 1274 2.000000
385
+ 3063 1436 2.000000
386
+ 2964 1424 2.000000
387
+ 1961 883 2.000000
388
+ 1966 862 2.000000
389
+ 2410 785 2.000000
390
+ 3082 1221 2.000000
391
+ 3170 1103 2.000000
392
+ 2037 1232 2.000000
393
+ 2349 1462 2.000000
394
+ 581 213 2.000000
395
+ 593 764 2.000000
396
+ 1393 237 2.000000
@@ -0,0 +1,36 @@
1
+
2
+ data_images
3
+
4
+ loop_
5
+ _rlnImageName #1
6
+ _rlnCoordinateX #2
7
+ _rlnCoordinateY #3
8
+ _rlnMicrographName #4
9
+ 000001@Particles/Micrographs/1_36kx_6_particles.mrcs 283.000000 285.000000 Micrographs/1_36kx_6.mrc
10
+ 000002@Particles/Micrographs/1_36kx_6_particles.mrcs 187.000000 232.000000 Micrographs/1_36kx_6.mrc
11
+ 000003@Particles/Micrographs/1_36kx_6_particles.mrcs 661.000000 377.000000 Micrographs/1_36kx_6.mrc
12
+ 000004@Particles/Micrographs/1_36kx_6_particles.mrcs 702.000000 386.000000 Micrographs/1_36kx_6.mrc
13
+ 000005@Particles/Micrographs/1_36kx_6_particles.mrcs 684.000000 407.000000 Micrographs/1_36kx_6.mrc
14
+ 000006@Particles/Micrographs/1_36kx_6_particles.mrcs 684.000000 591.000000 Micrographs/1_36kx_6.mrc
15
+ 000007@Particles/Micrographs/1_36kx_6_particles.mrcs 810.000000 297.000000 Micrographs/1_36kx_6.mrc
16
+ 000008@Particles/Micrographs/1_36kx_6_particles.mrcs 786.000000 244.000000 Micrographs/1_36kx_6.mrc
17
+ 000009@Particles/Micrographs/1_36kx_6_particles.mrcs 826.000000 247.000000 Micrographs/1_36kx_6.mrc
18
+ 000010@Particles/Micrographs/1_36kx_6_particles.mrcs 847.000000 240.000000 Micrographs/1_36kx_6.mrc
19
+ 000011@Particles/Micrographs/1_36kx_6_particles.mrcs 927.000000 376.000000 Micrographs/1_36kx_6.mrc
20
+ 000012@Particles/Micrographs/1_36kx_6_particles.mrcs 930.000000 380.000000 Micrographs/1_36kx_6.mrc
21
+ 000013@Particles/Micrographs/1_36kx_6_particles.mrcs 967.000000 412.000000 Micrographs/1_36kx_6.mrc
22
+ 000014@Particles/Micrographs/1_36kx_6_particles.mrcs 948.000000 417.000000 Micrographs/1_36kx_6.mrc
23
+ 000015@Particles/Micrographs/1_36kx_6_particles.mrcs 802.000000 552.000000 Micrographs/1_36kx_6.mrc
24
+ 000016@Particles/Micrographs/1_36kx_6_particles.mrcs 778.000000 547.000000 Micrographs/1_36kx_6.mrc
25
+ 000017@Particles/Micrographs/1_36kx_6_particles.mrcs 652.000000 549.000000 Micrographs/1_36kx_6.mrc
26
+ 000018@Particles/Micrographs/1_36kx_6_particles.mrcs 464.000000 533.000000 Micrographs/1_36kx_6.mrc
27
+ 000019@Particles/Micrographs/1_36kx_6_particles.mrcs 278.000000 653.000000 Micrographs/1_36kx_6.mrc
28
+ 000020@Particles/Micrographs/1_36kx_6_particles.mrcs 1052.000000 653.000000 Micrographs/1_36kx_6.mrc
29
+ 000021@Particles/Micrographs/1_36kx_6_particles.mrcs 1143.000000 671.000000 Micrographs/1_36kx_6.mrc
30
+ 000022@Particles/Micrographs/1_36kx_6_particles.mrcs 1095.000000 119.000000 Micrographs/1_36kx_6.mrc
31
+ 000023@Particles/Micrographs/1_36kx_6_particles.mrcs 1131.000000 102.000000 Micrographs/1_36kx_6.mrc
32
+ 000024@Particles/Micrographs/1_36kx_6_particles.mrcs 1148.000000 122.000000 Micrographs/1_36kx_6.mrc
33
+ 000025@Particles/Micrographs/1_36kx_6_particles.mrcs 434.000000 103.000000 Micrographs/1_36kx_6.mrc
34
+ 000026@Particles/Micrographs/1_36kx_6_particles.mrcs 324.000000 72.000000 Micrographs/1_36kx_6.mrc
35
+ 000027@Particles/Micrographs/1_36kx_6_particles.mrcs 82.000000 83.000000 Micrographs/1_36kx_6.mrc
36
+ 000028@Particles/Micrographs/1_36kx_6_particles.mrcs 196.000000 495.000000 Micrographs/1_36kx_6.mrc
@@ -2,22 +2,27 @@
2
2
  # Encoding: UTF-8
3
3
  # frozen_string_literal: true
4
4
  # =========================================================================== #
5
- # require 'bioroebe/shell/tk.rb'
5
+ # require 'bioroebe/electron_microscopy/electron_microscopy_module.rb'
6
+ # include Bioroebe::ElectronMicroscopy
6
7
  # =========================================================================== #
7
- require 'bioroebe/base/commandline_application/commandline_application.rb'
8
-
9
8
  module Bioroebe
10
9
 
11
- class Shell < ::Bioroebe::CommandlineApplication
10
+ module ElectronMicroscopy
12
11
 
13
12
  # ========================================================================= #
14
- # === start_three_to_one
13
+ # === DEFAULT_XMIPP_HEADER
15
14
  #
16
- # Mostly an ad-hoc way to load up a specific ruby-tk widget.
15
+ # The header for xmipp.
17
16
  # ========================================================================= #
18
- def tk_start_three_to_one
19
- require 'bioroebe/gui/tk/three_to_one/three_to_one.rb'
20
- Bioroebe::GUI::Tk::ThreeToOne.new(ARGV)
21
- end
17
+ DEFAULT_XMIPP_HEADER = '# XMIPP_STAR_1 *
18
+ #
19
+ data_noname
20
+ loop_
21
+ _image
22
+ _micrograph
23
+ _xcoor
24
+ _ycoor
25
+
26
+ '
22
27
 
23
28
  end; end
@@ -22,10 +22,8 @@ module ElectronMicroscopy
22
22
 
23
23
  class SimpleStarFileGenerator < ::Bioroebe::CommandlineApplication # === Bioroebe::ElectronMicroscopy::SimpleStarFileGenerator
24
24
 
25
- # ========================================================================= #
26
- # === NAMESPACE
27
- # ========================================================================= #
28
- NAMESPACE = inspect
25
+ require 'bioroebe/electron_microscopy/electron_microscopy_module.rb'
26
+ include Bioroebe::ElectronMicroscopy
29
27
 
30
28
  # ========================================================================= #
31
29
  # === SAVE_HERE
@@ -62,14 +60,11 @@ _rlnMicrographName #1'+N
62
60
  end
63
61
 
64
62
  # ========================================================================= #
65
- # === reset
63
+ # === reset (reset tag)
66
64
  # ========================================================================= #
67
65
  def reset
68
66
  super()
69
- # ======================================================================= #
70
- # === @namespace
71
- # ======================================================================= #
72
- @namespace = NAMESPACE
67
+ infer_the_namespace
73
68
  # ======================================================================= #
74
69
  # === @save_here
75
70
  # ======================================================================= #
@@ -86,17 +86,6 @@ class ShowFastaHeaders < Bioroebe::CommandlineApplication # === Biroebe::ShowFas
86
86
  @input
87
87
  end
88
88
 
89
- # ========================================================================= #
90
- # === report_this_header_from_that_file
91
- # ========================================================================= #
92
- def report_this_header_from_that_file(header, file)
93
- if @be_verbose
94
- erev "The file at #{sfile(file)}#{rev} has the following FASTA header:"
95
- e
96
- end
97
- e " #{simp(header)}"
98
- end
99
-
100
89
  # ========================================================================= #
101
90
  # === input_without_extension
102
91
  # ========================================================================= #
@@ -116,13 +105,39 @@ class ShowFastaHeaders < Bioroebe::CommandlineApplication # === Biroebe::ShowFas
116
105
  }
117
106
  end
118
107
 
108
+ # ========================================================================= #
109
+ # === report_this_header_from_that_file
110
+ # ========================================================================= #
111
+ def report_this_header_from_that_file(header, file)
112
+ if @be_verbose
113
+ erev "The file at #{sfile(file)}#{rev} has the following FASTA header:"
114
+ e
115
+ end
116
+ e " #{simp(header)}"
117
+ if header.include? '|'
118
+ splitted = header.split('|')
119
+ if splitted.size > 2
120
+ assumed_name_of_the_organism = splitted[2].strip
121
+ if assumed_name_of_the_organism.include? 'OS='
122
+ assumed_name_of_the_organism = assumed_name_of_the_organism.scan(/ OS=(.+)/).flatten
123
+ assumed_name_of_the_organism = assumed_name_of_the_organism.first
124
+ if assumed_name_of_the_organism.include? ' ('
125
+ assumed_name_of_the_organism = assumed_name_of_the_organism.split(' (').first
126
+ end
127
+ end
128
+ erev 'The organism may be: '+
129
+ steelblue(assumed_name_of_the_organism)+rev
130
+ end
131
+ end
132
+ end
133
+
119
134
  # ========================================================================= #
120
135
  # === run (run tag)
121
136
  # ========================================================================= #
122
137
  def run
123
138
  files = Dir[input?]
124
139
  if files.empty?
125
- opnn; e 'No files could be found for '+input?+'.'
140
+ opnn; e "No files could be found for #{input?}."
126
141
  else
127
142
  report_these_files(files)
128
143
  end
@@ -0,0 +1,4 @@
1
+ This directory was created on the 12.07.2022.
2
+
3
+ The idea is that we can make use of class Bioroebe::Genome
4
+ to represent a genome.
@@ -0,0 +1,67 @@
1
+ #!/usr/bin/ruby -w
2
+ # Encoding: UTF-8
3
+ # frozen_string_literal: true
4
+ # =========================================================================== #
5
+ # === Bioroebe::Genome
6
+ #
7
+ # This class should be able to represent a genome.
8
+ #
9
+ # Usage example:
10
+ #
11
+ # Bioroebe::Genome.new(ARGV)
12
+ #
13
+ # =========================================================================== #
14
+ # require 'bioroebe/genome/genome.rb'
15
+ # =========================================================================== #
16
+ module Bioroebe
17
+
18
+ class Genome # < Base # === Bioroebe::Genome
19
+
20
+ # ========================================================================= #
21
+ # === NAMESPACE
22
+ # ========================================================================= #
23
+ NAMESPACE = inspect
24
+
25
+ # ========================================================================= #
26
+ # === initialize
27
+ # ========================================================================= #
28
+ def initialize(
29
+ commandline_arguments = nil,
30
+ run_already = true
31
+ )
32
+ reset
33
+ set_commandline_arguments(
34
+ commandline_arguments
35
+ )
36
+ run if run_already
37
+ end
38
+
39
+ # ========================================================================= #
40
+ # === reset (reset tag)
41
+ # ========================================================================= #
42
+ def reset
43
+ super()
44
+ # ======================================================================= #
45
+ # === @namespace
46
+ # ======================================================================= #
47
+ @namespace = NAMESPACE
48
+ end
49
+
50
+ # ========================================================================= #
51
+ # === run (run tag)
52
+ # ========================================================================= #
53
+ def run
54
+ end
55
+
56
+ # ========================================================================= #
57
+ # === Bioroebe::Genome[]
58
+ # ========================================================================= #
59
+ def self.[](i = '')
60
+ new(i)
61
+ end
62
+
63
+ end; end
64
+
65
+ if __FILE__ == $PROGRAM_NAME
66
+ Bioroebe::Genome.new(ARGV)
67
+ end # genome
@@ -0,0 +1 @@
1
+ gtk3