bioroebe 0.10.80 → 0.12.24

Sign up to get free protection for your applications and to get access to all the features.
Files changed (301) hide show
  1. checksums.yaml +4 -4
  2. data/README.md +3946 -2817
  3. data/bin/bioroebe +13 -2
  4. data/bin/bioroebe_hash +7 -0
  5. data/bin/codon_to_aminoacid +6 -4
  6. data/bin/compacter +7 -0
  7. data/bin/plain_palindrome +7 -0
  8. data/bioroebe.gemspec +3 -3
  9. data/doc/README.gen +3918 -2793
  10. data/doc/quality_control/commandline_applications.md +3 -3
  11. data/doc/statistics/statistics.md +7 -7
  12. data/doc/todo/bioroebe_GUI_todo.md +19 -14
  13. data/doc/todo/bioroebe_java_todo.md +22 -0
  14. data/doc/todo/bioroebe_todo.md +2075 -2620
  15. data/lib/bioroebe/C++/DNA.cpp +69 -0
  16. data/lib/bioroebe/C++/RNA.cpp +58 -0
  17. data/lib/bioroebe/C++/sequence.cpp +35 -0
  18. data/lib/bioroebe/abstract/README.md +1 -0
  19. data/lib/bioroebe/abstract/features.rb +29 -0
  20. data/lib/bioroebe/aminoacids/aminoacid_substitution.rb +1 -9
  21. data/lib/bioroebe/aminoacids/codon_percentage.rb +1 -9
  22. data/lib/bioroebe/aminoacids/deduce_aminoacid_sequence.rb +1 -9
  23. data/lib/bioroebe/aminoacids/display_aminoacid_table.rb +1 -0
  24. data/lib/bioroebe/aminoacids/show_hydrophobicity.rb +1 -6
  25. data/lib/bioroebe/base/base_module/base_module.rb +36 -0
  26. data/lib/bioroebe/base/colours_for_base/colours_for_base.rb +18 -8
  27. data/lib/bioroebe/base/commandline_application/commandline_application.rb +13 -9
  28. data/lib/bioroebe/base/commandline_application/commandline_arguments.rb +24 -19
  29. data/lib/bioroebe/base/commandline_application/misc.rb +66 -49
  30. data/lib/bioroebe/base/commandline_application/opn.rb +8 -8
  31. data/lib/bioroebe/base/commandline_application/reset.rb +5 -3
  32. data/lib/bioroebe/base/internal_hash_module/internal_hash_module.rb +42 -0
  33. data/lib/bioroebe/base/misc.rb +35 -0
  34. data/lib/bioroebe/base/prototype/misc.rb +15 -9
  35. data/lib/bioroebe/base/prototype/reset.rb +10 -0
  36. data/lib/bioroebe/cleave_and_digest/digestion.rb +10 -2
  37. data/lib/bioroebe/cleave_and_digest/trypsin.rb +104 -50
  38. data/lib/bioroebe/codon_tables/frequencies/parse_frequency_table.rb +2 -10
  39. data/lib/bioroebe/codons/codons.rb +1 -1
  40. data/lib/bioroebe/codons/convert_this_codon_to_that_aminoacid.rb +208 -59
  41. data/lib/bioroebe/codons/possible_codons_for_this_aminoacid.rb +1 -9
  42. data/lib/bioroebe/codons/show_codon_tables.rb +8 -3
  43. data/lib/bioroebe/codons/show_codon_usage.rb +15 -4
  44. data/lib/bioroebe/colours/rev.rb +4 -1
  45. data/lib/bioroebe/constants/aminoacids_and_proteins.rb +1 -0
  46. data/lib/bioroebe/constants/database_constants.rb +1 -1
  47. data/lib/bioroebe/constants/files_and_directories.rb +31 -4
  48. data/lib/bioroebe/constants/misc.rb +20 -0
  49. data/lib/bioroebe/constants/nucleotides.rb +7 -0
  50. data/lib/bioroebe/conversions/dna_to_aminoacid_sequence.rb +109 -39
  51. data/lib/bioroebe/count/count_amount_of_aminoacids.rb +3 -2
  52. data/lib/bioroebe/count/count_amount_of_nucleotides.rb +3 -0
  53. data/lib/bioroebe/cpp +1 -0
  54. data/lib/bioroebe/crystal/README.md +2 -0
  55. data/lib/bioroebe/crystal/to_rna.cr +19 -0
  56. data/lib/bioroebe/data/README.md +11 -8
  57. data/lib/bioroebe/data/electron_microscopy/pos_example.pos +396 -0
  58. data/lib/bioroebe/data/electron_microscopy/test_particles.star +36 -0
  59. data/lib/bioroebe/data/fasta/human/Homo_sapiens_hemoglobin_subunit_alpha_HBB_mRNA.fasta +9 -0
  60. data/lib/bioroebe/data/fasta/human/Homo_sapiens_hemoglobin_subunit_beta_HBB_mRNA.fasta +8 -0
  61. data/lib/bioroebe/data/fasta/human/README.md +2 -0
  62. data/lib/bioroebe/dotplots/advanced_dotplot.rb +1 -1
  63. data/lib/bioroebe/electron_microscopy/coordinate_analyzer.rb +15 -18
  64. data/lib/bioroebe/{fasta_and_fastq/parse_fasta/run.rb → electron_microscopy/electron_microscopy_module.rb} +16 -8
  65. data/lib/bioroebe/electron_microscopy/fix_pos_file.rb +1 -9
  66. data/lib/bioroebe/electron_microscopy/flipy.rb +83 -0
  67. data/lib/bioroebe/electron_microscopy/parse_coordinates.rb +2 -10
  68. data/lib/bioroebe/electron_microscopy/read_file_xmd.rb +1 -9
  69. data/lib/bioroebe/electron_microscopy/simple_star_file_generator.rb +4 -9
  70. data/lib/bioroebe/enzymes/has_this_restriction_enzyme.rb +10 -3
  71. data/lib/bioroebe/enzymes/restriction_enzyme.rb +23 -1
  72. data/lib/bioroebe/enzymes/restriction_enzymes/statistics.rb +65 -0
  73. data/lib/bioroebe/fasta_and_fastq/autocorrect_the_name_of_this_fasta_file.rb +1 -9
  74. data/lib/bioroebe/fasta_and_fastq/compact_fasta_file/compact_fasta_file.rb +7 -9
  75. data/lib/bioroebe/fasta_and_fastq/fasta_defline/fasta_defline.rb +1 -5
  76. data/lib/bioroebe/fasta_and_fastq/fasta_to_yaml/fasta_to_yaml.rb +81 -0
  77. data/lib/bioroebe/fasta_and_fastq/parse_fasta/parse_fasta.rb +1518 -7
  78. data/lib/bioroebe/fasta_and_fastq/return_fasta_subsection_of_this_file.rb +11 -2
  79. data/lib/bioroebe/fasta_and_fastq/show_fasta_headers.rb +27 -12
  80. data/lib/bioroebe/fasta_and_fastq/simplify_fasta_header/simplify_fasta_header.rb +1 -5
  81. data/lib/bioroebe/fasta_and_fastq/split_this_fasta_file_into_chromosomes/constants.rb +0 -5
  82. data/lib/bioroebe/genome/README.md +4 -0
  83. data/lib/bioroebe/genome/genome.rb +130 -0
  84. data/lib/bioroebe/genomes/genome_pattern.rb +3 -9
  85. data/lib/bioroebe/gui/gtk +1 -0
  86. data/lib/bioroebe/gui/gtk3/alignment/alignment.rb +106 -137
  87. data/lib/bioroebe/gui/gtk3/aminoacid_composition/aminoacid_composition.rb +27 -61
  88. data/lib/bioroebe/gui/gtk3/aminoacid_composition/customized_dialog.rb +1 -1
  89. data/lib/bioroebe/gui/gtk3/blosum_matrix_viewer/blosum_matrix_viewer.rb +1 -2
  90. data/lib/bioroebe/gui/gtk3/calculate_cell_numbers_of_bacteria/calculate_cell_numbers_of_bacteria.rb +1 -2
  91. data/lib/bioroebe/gui/gtk3/controller/controller.rb +46 -29
  92. data/lib/bioroebe/gui/gtk3/dna_to_aminoacid_widget/dna_to_aminoacid_widget.rb +77 -52
  93. data/lib/bioroebe/gui/gtk3/dna_to_reverse_complement_widget/dna_to_reverse_complement_widget.rb +1 -2
  94. data/lib/bioroebe/gui/gtk3/fasta_table_widget/fasta_table_widget.rb +100 -23
  95. data/lib/bioroebe/gui/gtk3/format_converter/format_converter.rb +1 -2
  96. data/lib/bioroebe/gui/gtk3/gene/gene.rb +1 -2
  97. data/lib/bioroebe/gui/gtk3/hamming_distance/hamming_distance.rb +43 -30
  98. data/lib/bioroebe/gui/gtk3/levensthein_distance/levensthein_distance.rb +1 -2
  99. data/lib/bioroebe/gui/gtk3/nucleotide_analyser/nucleotide_analyser.rb +120 -73
  100. data/lib/bioroebe/gui/gtk3/primer_design_widget/primer_design_widget.rb +1 -2
  101. data/lib/bioroebe/gui/gtk3/protein_to_DNA/protein_to_DNA.rb +19 -20
  102. data/lib/bioroebe/gui/gtk3/random_sequence/random_sequence.rb +20 -13
  103. data/lib/bioroebe/gui/gtk3/restriction_enzymes/restriction_enzymes.rb +1 -2
  104. data/lib/bioroebe/gui/gtk3/show_codon_table/misc.rb +97 -22
  105. data/lib/bioroebe/gui/gtk3/show_codon_table/show_codon_table.rb +3 -73
  106. data/lib/bioroebe/gui/gtk3/show_codon_usage/show_codon_usage.rb +1 -2
  107. data/lib/bioroebe/gui/gtk3/sizeseq/sizeseq.rb +1 -2
  108. data/lib/bioroebe/gui/gtk3/three_to_one/three_to_one.rb +1 -2
  109. data/lib/bioroebe/gui/gtk3/www_finder/www_finder.rb +1 -2
  110. data/lib/bioroebe/gui/javafx/bioroebe/Bioroebe.class +0 -0
  111. data/lib/bioroebe/gui/javafx/bioroebe/Bioroebe.java +104 -0
  112. data/lib/bioroebe/gui/javafx/bioroebe.jar +0 -0
  113. data/lib/bioroebe/gui/javafx/bioroebe.mf +1 -0
  114. data/lib/bioroebe/gui/javafx/module-info.class +0 -0
  115. data/lib/bioroebe/gui/javafx/module-info.java +5 -0
  116. data/lib/bioroebe/gui/jruby/alignment/alignment.rb +165 -0
  117. data/lib/bioroebe/gui/jruby/aminoacid_composition/aminoacid_composition.rb +166 -0
  118. data/lib/bioroebe/gui/libui/alignment/alignment.rb +3 -1
  119. data/lib/bioroebe/gui/libui/controller/controller.rb +116 -0
  120. data/lib/bioroebe/gui/libui/random_sequence/random_sequence.rb +18 -2
  121. data/lib/bioroebe/gui/libui/show_codon_table/show_codon_table.rb +2 -0
  122. data/lib/bioroebe/gui/libui/three_to_one/three_to_one.rb +8 -6
  123. data/lib/bioroebe/gui/shared_code/alignment/alignment_module.rb +102 -0
  124. data/lib/bioroebe/gui/shared_code/aminoacid_composition/aminoacid_composition_module.rb +94 -0
  125. data/lib/bioroebe/gui/shared_code/levensthein_distance/levensthein_distance_module.rb +18 -16
  126. data/lib/bioroebe/gui/shared_code/protein_to_DNA/protein_to_DNA_module.rb +14 -14
  127. data/lib/bioroebe/gui/swing/three_to_one/ThreeToOne$1.class +0 -0
  128. data/lib/bioroebe/gui/swing/three_to_one/ThreeToOne$CloseListener.class +0 -0
  129. data/lib/bioroebe/gui/swing/three_to_one/ThreeToOne.class +0 -0
  130. data/lib/bioroebe/gui/swing/three_to_one/ThreeToOne.java +141 -0
  131. data/lib/bioroebe/images/FORWARD_PRIMER.png +0 -0
  132. data/lib/bioroebe/images/REVERSE_PRIMER.png +0 -0
  133. data/lib/bioroebe/images/images.html +29845 -0
  134. data/lib/bioroebe/java/README.md +5 -0
  135. data/lib/bioroebe/java/bioroebe/AllInOne.java +1 -0
  136. data/lib/bioroebe/java/bioroebe/Base.class +0 -0
  137. data/lib/bioroebe/java/bioroebe/Base.java +39 -5
  138. data/lib/bioroebe/java/bioroebe/IsPalindrome.java +23 -5
  139. data/lib/bioroebe/java/bioroebe/SanitizeNucleotideSequence.java +0 -0
  140. data/lib/bioroebe/java/bioroebe/Sequence.java +28 -3
  141. data/lib/bioroebe/java/bioroebe/ToCamelcase.class +0 -0
  142. data/lib/bioroebe/java/bioroebe/ToCamelcase.java +16 -4
  143. data/lib/bioroebe/java/bioroebe/ToRNA.java +43 -0
  144. data/lib/bioroebe/java/bioroebe/ToplevelMethods.java +6 -0
  145. data/lib/bioroebe/java/bioroebe/{BisulfiteTreatment.class → src/BisulfiteTreatment.class} +0 -0
  146. data/lib/bioroebe/java/bioroebe/{Codons.class → src/Codons.class} +0 -0
  147. data/lib/bioroebe/java/bioroebe/src/Codons.java +35 -0
  148. data/lib/bioroebe/java/bioroebe/src/Commandline.class +0 -0
  149. data/lib/bioroebe/java/bioroebe/src/Commandline.java +101 -0
  150. data/lib/bioroebe/java/bioroebe/{Esystem.class → src/Esystem.class} +0 -0
  151. data/lib/bioroebe/java/bioroebe/{Esystem.java → src/Esystem.java} +6 -1
  152. data/lib/bioroebe/java/bioroebe/{GenerateRandomDnaSequence.class → src/GenerateRandomDnaSequence.class} +0 -0
  153. data/lib/bioroebe/java/bioroebe/{GenerateRandomDnaSequence.java → src/GenerateRandomDnaSequence.java} +8 -2
  154. data/lib/bioroebe/java/bioroebe/src/PartnerNucleotide.class +0 -0
  155. data/lib/bioroebe/java/bioroebe/src/PartnerNucleotide.java +56 -0
  156. data/lib/bioroebe/java/bioroebe/{RemoveFile.java → src/RemoveFile.java} +10 -4
  157. data/lib/bioroebe/java/bioroebe/{RemoveNumbers.class → src/RemoveNumbers.class} +0 -0
  158. data/lib/bioroebe/java/bioroebe/{RemoveNumbers.java → src/RemoveNumbers.java} +1 -0
  159. data/lib/bioroebe/java/bioroebe/src/toplevel_methods/BaseComposition.class +0 -0
  160. data/lib/bioroebe/java/bioroebe/src/toplevel_methods/BaseComposition.java +75 -0
  161. data/lib/bioroebe/misc/ruler.rb +11 -2
  162. data/lib/bioroebe/nucleotides/most_likely_nucleotide_sequence_for_this_aminoacid_sequence.rb +1 -9
  163. data/lib/bioroebe/nucleotides/sanitize_nucleotide_sequence.rb +59 -18
  164. data/lib/bioroebe/nucleotides/show_nucleotide_sequence.rb +7 -7
  165. data/lib/bioroebe/parsers/genbank_parser.rb +347 -26
  166. data/lib/bioroebe/parsers/gff.rb +1 -9
  167. data/lib/bioroebe/patterns/scan_for_repeat.rb +1 -5
  168. data/lib/bioroebe/pdb/fetch_fasta_sequence_from_pdb.rb +1 -9
  169. data/lib/bioroebe/pdb/parse_mmCIF_file.rb +1 -9
  170. data/lib/bioroebe/pdb/parse_pdb_file.rb +4 -10
  171. data/lib/bioroebe/project/project.rb +1 -1
  172. data/lib/bioroebe/python/README.md +1 -0
  173. data/lib/bioroebe/python/__pycache__/mymodule.cpython-39.pyc +0 -0
  174. data/lib/bioroebe/python/gui/gtk3/all_in_one.css +4 -0
  175. data/lib/bioroebe/python/gui/gtk3/all_in_one.py +59 -0
  176. data/lib/bioroebe/python/gui/gtk3/widget1.py +20 -0
  177. data/lib/bioroebe/python/gui/tkinter/all_in_one.py +91 -0
  178. data/lib/bioroebe/python/mymodule.py +8 -0
  179. data/lib/bioroebe/python/protein_to_dna.py +33 -0
  180. data/lib/bioroebe/python/shell/shell.py +19 -0
  181. data/lib/bioroebe/python/to_rna.py +14 -0
  182. data/lib/bioroebe/python/toplevel_methods/convert_dna_to_aminoacid_sequence.py +137 -0
  183. data/lib/bioroebe/python/toplevel_methods/esystem.py +12 -0
  184. data/lib/bioroebe/python/toplevel_methods/open_in_browser.py +20 -0
  185. data/lib/bioroebe/python/toplevel_methods/palindromes.py +52 -0
  186. data/lib/bioroebe/python/toplevel_methods/rds.py +13 -0
  187. data/lib/bioroebe/python/toplevel_methods/shuffleseq.py +23 -0
  188. data/lib/bioroebe/python/toplevel_methods/three_delimiter.py +37 -0
  189. data/lib/bioroebe/python/toplevel_methods/time_and_date.py +43 -0
  190. data/lib/bioroebe/python/toplevel_methods/to_camelcase.py +21 -0
  191. data/lib/bioroebe/requires/require_cleave_and_digest.rb +3 -1
  192. data/lib/bioroebe/requires/require_the_bioroebe_project.rb +3 -1
  193. data/lib/bioroebe/sequence/alignment.rb +14 -4
  194. data/lib/bioroebe/sequence/dna.rb +1 -0
  195. data/lib/bioroebe/sequence/nucleotide_module/nucleotide_module.rb +28 -25
  196. data/lib/bioroebe/sequence/protein.rb +105 -3
  197. data/lib/bioroebe/sequence/rna.rb +220 -0
  198. data/lib/bioroebe/sequence/sequence.rb +128 -40
  199. data/lib/bioroebe/shell/menu.rb +3815 -3696
  200. data/lib/bioroebe/shell/misc.rb +9019 -3133
  201. data/lib/bioroebe/shell/readline/readline.rb +1 -1
  202. data/lib/bioroebe/shell/shell.rb +1137 -28
  203. data/lib/bioroebe/siRNA/siRNA.rb +81 -1
  204. data/lib/bioroebe/string_matching/find_longest_substring.rb +3 -2
  205. data/lib/bioroebe/string_matching/hamming_distance.rb +1 -9
  206. data/lib/bioroebe/taxonomy/class_methods.rb +3 -8
  207. data/lib/bioroebe/taxonomy/constants.rb +4 -3
  208. data/lib/bioroebe/taxonomy/edit.rb +2 -1
  209. data/lib/bioroebe/taxonomy/help/help.rb +10 -10
  210. data/lib/bioroebe/taxonomy/help/helpline.rb +2 -2
  211. data/lib/bioroebe/taxonomy/info/check_available.rb +15 -9
  212. data/lib/bioroebe/taxonomy/info/info.rb +18 -11
  213. data/lib/bioroebe/taxonomy/info/is_dna.rb +46 -36
  214. data/lib/bioroebe/taxonomy/interactive.rb +140 -104
  215. data/lib/bioroebe/taxonomy/menu.rb +27 -18
  216. data/lib/bioroebe/taxonomy/parse_fasta.rb +3 -1
  217. data/lib/bioroebe/taxonomy/shared.rb +1 -0
  218. data/lib/bioroebe/taxonomy/taxonomy.rb +1 -0
  219. data/lib/bioroebe/toplevel_methods/aminoacids_and_proteins.rb +31 -24
  220. data/lib/bioroebe/toplevel_methods/colourize_related_methods.rb +164 -0
  221. data/lib/bioroebe/toplevel_methods/databases.rb +1 -1
  222. data/lib/bioroebe/toplevel_methods/digest.rb +18 -8
  223. data/lib/bioroebe/toplevel_methods/fasta_and_fastq.rb +107 -63
  224. data/lib/bioroebe/toplevel_methods/file_and_directory_related_actions.rb +14 -2
  225. data/lib/bioroebe/toplevel_methods/frequencies.rb +8 -1
  226. data/lib/bioroebe/toplevel_methods/misc.rb +175 -11
  227. data/lib/bioroebe/toplevel_methods/nucleotides.rb +118 -46
  228. data/lib/bioroebe/toplevel_methods/open_in_browser.rb +2 -0
  229. data/lib/bioroebe/toplevel_methods/palindromes.rb +75 -47
  230. data/lib/bioroebe/toplevel_methods/taxonomy.rb +3 -3
  231. data/lib/bioroebe/toplevel_methods/to_camelcase.rb +5 -0
  232. data/lib/bioroebe/utility_scripts/align_open_reading_frames.rb +1 -9
  233. data/lib/bioroebe/utility_scripts/check_for_mismatches/check_for_mismatches.rb +1 -9
  234. data/lib/bioroebe/utility_scripts/compacter/compacter.rb +251 -0
  235. data/lib/bioroebe/utility_scripts/compseq/compseq.rb +1 -9
  236. data/lib/bioroebe/utility_scripts/consensus_sequence.rb +6 -6
  237. data/lib/bioroebe/utility_scripts/create_batch_entrez_file.rb +1 -9
  238. data/lib/bioroebe/utility_scripts/dot_alignment.rb +1 -9
  239. data/lib/bioroebe/utility_scripts/move_file_to_its_correct_location.rb +1 -4
  240. data/lib/bioroebe/utility_scripts/parse_taxonomy.rb +2 -2
  241. data/lib/bioroebe/utility_scripts/permutations.rb +36 -9
  242. data/lib/bioroebe/utility_scripts/showorf/constants.rb +0 -5
  243. data/lib/bioroebe/utility_scripts/showorf/reset.rb +1 -4
  244. data/lib/bioroebe/version/version.rb +2 -2
  245. data/lib/bioroebe/www/embeddable_interface.rb +121 -58
  246. data/lib/bioroebe/www/sinatra/sinatra.rb +186 -71
  247. data/lib/bioroebe/yaml/aminoacids/amino_acids_long_name_to_one_letter.yml +2 -2
  248. data/lib/bioroebe/yaml/aminoacids/weight_of_common_proteins.yml +17 -17
  249. data/lib/bioroebe/yaml/configuration/browser.yml +1 -1
  250. data/lib/bioroebe/yaml/configuration/temp_dir.yml +1 -1
  251. data/lib/bioroebe/yaml/consensus_sequences/consensus_sequences.yml +1 -0
  252. data/lib/bioroebe/yaml/genomes/README.md +3 -4
  253. data/lib/bioroebe/yaml/nucleotides/nucleotides.yml +5 -0
  254. data/lib/bioroebe/yaml/restriction_enzymes/restriction_enzymes.yml +57 -57
  255. data/spec/README.md +6 -0
  256. data/spec/project_wide_specification/classes.md +5 -0
  257. metadata +107 -70
  258. data/doc/setup.rb +0 -1655
  259. data/lib/bioroebe/fasta_and_fastq/parse_fasta/constants.rb +0 -50
  260. data/lib/bioroebe/fasta_and_fastq/parse_fasta/initialize.rb +0 -86
  261. data/lib/bioroebe/fasta_and_fastq/parse_fasta/menu.rb +0 -117
  262. data/lib/bioroebe/fasta_and_fastq/parse_fasta/misc.rb +0 -981
  263. data/lib/bioroebe/fasta_and_fastq/parse_fasta/report.rb +0 -156
  264. data/lib/bioroebe/fasta_and_fastq/parse_fasta/reset.rb +0 -128
  265. data/lib/bioroebe/genbank/genbank_parser.rb +0 -291
  266. data/lib/bioroebe/java/bioroebe/AllInOne.class +0 -0
  267. data/lib/bioroebe/java/bioroebe/Cat.class +0 -0
  268. data/lib/bioroebe/java/bioroebe/Codons.java +0 -22
  269. data/lib/bioroebe/java/bioroebe/IsPalindrome.class +0 -0
  270. data/lib/bioroebe/java/bioroebe/PartnerNucleotide.class +0 -0
  271. data/lib/bioroebe/java/bioroebe/PartnerNucleotide.java +0 -19
  272. data/lib/bioroebe/java/bioroebe/SanitizeNucleotideSequence.class +0 -0
  273. data/lib/bioroebe/java/bioroebe/ToplevelMethods.class +0 -0
  274. data/lib/bioroebe/java/bioroebe.jar +0 -0
  275. data/lib/bioroebe/shell/add.rb +0 -108
  276. data/lib/bioroebe/shell/assign.rb +0 -360
  277. data/lib/bioroebe/shell/chop_and_cut.rb +0 -281
  278. data/lib/bioroebe/shell/constants.rb +0 -166
  279. data/lib/bioroebe/shell/download.rb +0 -335
  280. data/lib/bioroebe/shell/enable_and_disable.rb +0 -158
  281. data/lib/bioroebe/shell/enzymes.rb +0 -310
  282. data/lib/bioroebe/shell/fasta.rb +0 -345
  283. data/lib/bioroebe/shell/gtk.rb +0 -76
  284. data/lib/bioroebe/shell/history.rb +0 -132
  285. data/lib/bioroebe/shell/initialize.rb +0 -217
  286. data/lib/bioroebe/shell/loop.rb +0 -74
  287. data/lib/bioroebe/shell/prompt.rb +0 -107
  288. data/lib/bioroebe/shell/random.rb +0 -289
  289. data/lib/bioroebe/shell/reset.rb +0 -335
  290. data/lib/bioroebe/shell/scan_and_parse.rb +0 -135
  291. data/lib/bioroebe/shell/search.rb +0 -337
  292. data/lib/bioroebe/shell/sequences.rb +0 -200
  293. data/lib/bioroebe/shell/show_report_and_display.rb +0 -2901
  294. data/lib/bioroebe/shell/startup.rb +0 -127
  295. data/lib/bioroebe/shell/taxonomy.rb +0 -14
  296. data/lib/bioroebe/shell/tk.rb +0 -23
  297. data/lib/bioroebe/shell/user_input.rb +0 -88
  298. data/lib/bioroebe/shell/xorg.rb +0 -45
  299. data/lib/bioroebe/utility_scripts/compacter.rb +0 -131
  300. /data/lib/bioroebe/java/bioroebe/{BisulfiteTreatment.java → src/BisulfiteTreatment.java} +0 -0
  301. /data/lib/bioroebe/java/bioroebe/{RemoveFile.class → src/RemoveFile.class} +0 -0
@@ -14,7 +14,6 @@ module Bioroebe
14
14
  class Sinatra < ::Sinatra::Base
15
15
 
16
16
  require 'bioroebe/www/embeddable_interface.rb'
17
-
18
17
  set :port, ::Bioroebe::EmbeddableInterface::USE_THIS_PORT
19
18
 
20
19
  # ========================================================================= #
@@ -47,16 +46,25 @@ class Sinatra < ::Sinatra::Base
47
46
  Cyberweb.try_to_open_this_URL_via_the_browser(target, use_this_port) { :be_quiet }
48
47
  end
49
48
 
49
+ # ========================================================================= #
50
+ # === p
51
+ # ========================================================================= #
52
+ def p(
53
+ i, hash = {}
54
+ )
55
+ return HtmlTags.p(i, hash)
56
+ end
57
+
50
58
  # ========================================================================= #
51
59
  # === Convert into DNA (2 tag, second entry, reverse_complement tag)
52
60
  #
53
61
  # This method will convert RNA into DNA.
54
62
  #
55
- # http://localhost:4567/reverse_complement
63
+ # http://localhost:4568/reverse_complement
56
64
  #
57
65
  # Example:
58
66
  #
59
- # http://localhost:4567/reverse_complement/ATGCUUUUUUUUUU
67
+ # http://localhost:4568/reverse_complement/ATGCUUUUUUUUUU
60
68
  #
61
69
  # ========================================================================= #
62
70
  get('/reverse_complement/*') {
@@ -68,19 +76,28 @@ class Sinatra < ::Sinatra::Base
68
76
  the_params = params['user_input']
69
77
  end
70
78
  the_params = the_params.strip.upcase if the_params
71
- the_result = ::Bioroebe.reverse_complement(the_params)
79
+ if the_params.is_a? Array
80
+ the_params = the_params.flatten.first
81
+ end
82
+ the_reverse_complement = ::Bioroebe.reverse_complement(the_params)
83
+ if the_reverse_complement.is_a? Array
84
+ the_reverse_complement = the_reverse_complement.first.to_s
85
+ end
86
+ the_result = ''.dup
72
87
  if the_params.empty?
73
- the_result = return_intro_for_reverse_complement_conversion+
74
- p(
75
- '<b> Please input a DNA sequence which will be '\
76
- 'reverse-complemented into DNA.</b>'
77
- )+
78
- return_paragraph_of_hyperlinks
88
+ the_result << return_intro_for_reverse_complement_conversion+
89
+ p(
90
+ '<b> Please input a DNA sequence which will be '\
91
+ 'reverse-complemented into DNA.</b>'
92
+ )+
93
+ return_paragraph_of_hyperlinks
79
94
  else
80
- the_result = embeddable_interface?.return_intro_for_reverse_complement_conversion+
81
- p('The reverse complement of <b>'+the_params+'</b> is:')+
82
- p(
83
- '<b>'+the_result+'</b>',
95
+ _ = embeddable_interface?.return_intro_for_reverse_complement_conversion
96
+ the_result << _+p(
97
+ "The reverse complement of <b>5'-#{the_params.to_s}</b> is:"
98
+ )
99
+ the_result << p(
100
+ "<b>5'-#{the_reverse_complement}</b>",
84
101
  css_style: 'margin:1em; font-size: larger; color: blueviolet'
85
102
  )
86
103
  end
@@ -90,13 +107,14 @@ class Sinatra < ::Sinatra::Base
90
107
  }
91
108
 
92
109
  # ========================================================================= #
93
- # http://localhost:4567/to_dna_source
110
+ # http://localhost:4568/to_dna_source
94
111
  # ========================================================================= #
95
112
  get([
96
113
  '/to_dna_source',
97
114
  '/to_aa_source'
98
115
  ]){
99
- sanitized_URL_part = request.path_info.to_s.sub('_source','').delete('/').to_sym
116
+ sanitized_URL_part = request.path_info.to_s.sub('_source','').
117
+ delete('/').to_sym
100
118
  file, line_number = ::Bioroebe.method(sanitized_URL_part).source_location
101
119
  if File.exist? file
102
120
  readlines = File.readlines(file)
@@ -121,7 +139,7 @@ class Sinatra < ::Sinatra::Base
121
139
  # =========================================================================== #
122
140
  # Example:
123
141
  #
124
- # http://localhost:4567/shuffleseq
142
+ # http://localhost:4568/shuffleseq
125
143
  #
126
144
  # =========================================================================== #
127
145
  get('/shuffleseq'){
@@ -131,14 +149,14 @@ class Sinatra < ::Sinatra::Base
131
149
  # ========================================================================= #
132
150
  # === /shuffleseq
133
151
  #
134
- # http://localhost:4567/shuffleseq
152
+ # http://localhost:4568/shuffleseq
135
153
  # ========================================================================= #
136
154
  ['/shuffleseq'].each {|target|
137
155
  get(target) {
138
156
  Cyberweb::HtmlTemplate[
139
157
  title: 'Shuffleseq - Shuffle a sequence',
140
158
  body: '<pre>'+
141
- ::Bioroebe.shuffleseq(method(:method_reverse_complement))+
159
+ ::Bioroebe.shuffleseq(method(:reverse_complement))+
142
160
  '</pre>'+
143
161
  footer
144
162
  ].to_s
@@ -224,24 +242,13 @@ class Sinatra < ::Sinatra::Base
224
242
  end
225
243
 
226
244
  # ========================================================================= #
227
- # === /random_aminoacids
228
- #
229
- # http://localhost:4567/random_aminoacids
230
- # ========================================================================= #
231
- ['/random_aminoacids'].each {|target|
232
- get(target) {
233
- embeddable_interface?.method_random_aminoacids
234
- }
235
- }
236
-
237
- # ========================================================================= #
238
- # http://localhost:4567/reverse_complement_source
245
+ # http://localhost:4568/reverse_complement_source
239
246
  # ========================================================================= #
240
247
  ['/reverse_complement_source'].each {|target|
241
248
  get(target) {
242
249
  body = HtmlTags.p('The source is:')+
243
250
  '<pre>'+
244
- ::Bioroebe.return_source_code_of_this_method(method(:method_reverse_complement))+
251
+ ::Bioroebe.return_source_code_of_this_method(method(:reverse_complement))+
245
252
  '</pre>'+
246
253
  footer
247
254
  Cyberweb::HtmlTemplate[
@@ -254,18 +261,18 @@ class Sinatra < ::Sinatra::Base
254
261
  # =========================================================================== #
255
262
  # Example:
256
263
  #
257
- # http://localhost:4567/reverse_complement
264
+ # http://localhost:4568/reverse_complement
258
265
  #
259
266
  # =========================================================================== #
260
267
  get('/reverse_complement'){
261
- method_reverse_complement
268
+ embeddable_interface?.method_reverse_complement
262
269
  }
263
270
 
264
271
  # =========================================================================== #
265
272
  # Example:
266
273
  #
267
- # http://localhost:4567/n_stop_codons_in_this_sequence
268
- # http://localhost:4567/n_stop
274
+ # http://localhost:4568/n_stop_codons_in_this_sequence
275
+ # http://localhost:4568/n_stop
269
276
  #
270
277
  # =========================================================================== #
271
278
  %w(
@@ -291,7 +298,7 @@ class Sinatra < ::Sinatra::Base
291
298
  # ========================================================================= #
292
299
  # === /palindromes
293
300
  #
294
- # http://localhost:4567/palindromes
301
+ # http://localhost:4568/palindromes
295
302
  # ========================================================================= #
296
303
  Bioroebe::EmbeddableInterface::ARRAY_FOR_PALINDROMES.each {|target|
297
304
  get(target) {
@@ -314,7 +321,7 @@ class Sinatra < ::Sinatra::Base
314
321
  # ========================================================================= #
315
322
  # === view
316
323
  #
317
- # http://localhost:4567/view
324
+ # http://localhost:4568/view
318
325
  # ========================================================================= #
319
326
  get('/view') { # view tag
320
327
  embeddable_interface?.return_view_string
@@ -332,13 +339,13 @@ class Sinatra < ::Sinatra::Base
332
339
  ].to_s
333
340
  }
334
341
  # ========================================================================= #
335
- # http://localhost:4567/random_aminoacids_source
342
+ # http://localhost:4568/random_aminoacids_source
336
343
  # ========================================================================= #
337
344
  ['/random_aminoacids_source'].each {|target|
338
345
  get(target) {
339
346
  body = HtmlTags.p('The source is:')+
340
347
  '<pre>'+
341
- ::Bioroebe.return_source_code_of_this_method(method(:method_random_aminoacids))+
348
+ ::Bioroebe.return_source_code_of_this_method(method(:random_aminoacids))+
342
349
  '</pre>'+
343
350
  footer
344
351
  Cyberweb::HtmlTemplate[
@@ -349,7 +356,7 @@ class Sinatra < ::Sinatra::Base
349
356
  }
350
357
 
351
358
  # ========================================================================= #
352
- # http://localhost:4567/random_aminoacids/33
359
+ # http://localhost:4568/random_aminoacids/33
353
360
  # ========================================================================= #
354
361
  ['/random_aminoacids/*'].each {|target|
355
362
  get(target) {
@@ -392,11 +399,11 @@ class Sinatra < ::Sinatra::Base
392
399
  #
393
400
  # This method will try to discover palindromes.
394
401
  #
395
- # http://localhost:4567/palindromes
402
+ # http://localhost:4568/palindromes
396
403
  #
397
404
  # Example:
398
405
  #
399
- # http://localhost:4567/palindromes/30
406
+ # http://localhost:4568/palindromes/30
400
407
  #
401
408
  # ========================================================================= #
402
409
  Bioroebe::EmbeddableInterface::ARRAY_FOR_PALINDROMES.each {|target|
@@ -443,11 +450,11 @@ class Sinatra < ::Sinatra::Base
443
450
  # This method will determine how many stop codons are in the given
444
451
  # sequence.
445
452
  #
446
- # http://localhost:4567/n_stop_codons_in_this_sequence
453
+ # http://localhost:4568/n_stop_codons_in_this_sequence
447
454
  #
448
455
  # Example:
449
456
  #
450
- # http://localhost:4567/n_stop_codons_in_this_sequence/ATGCUUUUUUUUUTAG
457
+ # http://localhost:4568/n_stop_codons_in_this_sequence/ATGCUUUUUUUUUTAG
451
458
  #
452
459
  # ========================================================================= #
453
460
  %w(
@@ -490,7 +497,7 @@ class Sinatra < ::Sinatra::Base
490
497
  }
491
498
 
492
499
  # ========================================================================= #
493
- # http://localhost:4567/is_palindrome
500
+ # http://localhost:4568/is_palindrome
494
501
  # ========================================================================= #
495
502
  get('/is_palindrome') {
496
503
  return_header_for_palindromes('Is palindrome')+
@@ -507,7 +514,7 @@ class Sinatra < ::Sinatra::Base
507
514
  #
508
515
  # Example:
509
516
  #
510
- # http://localhost:4567/is_palindromes/ATTA
517
+ # http://localhost:4568/is_palindromes/ATTA
511
518
  #
512
519
  # ========================================================================= #
513
520
  get('/is_palindrome/*') {
@@ -543,7 +550,7 @@ class Sinatra < ::Sinatra::Base
543
550
  # ========================================================================= #
544
551
  # === /mirror_source
545
552
  #
546
- # http://localhost:4567/mirror_source
553
+ # http://localhost:4568/mirror_source
547
554
  # ========================================================================= #
548
555
  get('/mirror_source'){
549
556
  file, line_number = ::Bioroebe.method(:mirror_repeat).source_location
@@ -564,9 +571,9 @@ class Sinatra < ::Sinatra::Base
564
571
  }
565
572
 
566
573
  # ========================================================================= #
567
- # http://localhost:4567/chunked_display
568
- # http://localhost:4567/chunked
569
- # http://localhost:4567/upcase
574
+ # http://localhost:4568/chunked_display
575
+ # http://localhost:4568/chunked
576
+ # http://localhost:4568/upcase
570
577
  # ========================================================================= #
571
578
  Bioroebe::EmbeddableInterface::ARRAY_FOR_CHUNKED_DISPLAY.each {|target|
572
579
  get(target) {
@@ -580,11 +587,11 @@ class Sinatra < ::Sinatra::Base
580
587
  #
581
588
  # Visit:
582
589
  #
583
- # http://localhost:4567/compseq
590
+ # http://localhost:4568/compseq
584
591
  #
585
592
  # Example:
586
593
  #
587
- # http://localhost:4567/compseq/ATGCUUUUUUUUUU
594
+ # http://localhost:4568/compseq/ATGCUUUUUUUUUU
588
595
  #
589
596
  # ========================================================================= #
590
597
  get('/compseq/*') {
@@ -619,8 +626,8 @@ class Sinatra < ::Sinatra::Base
619
626
  }
620
627
 
621
628
  # ========================================================================= #
622
- # http://localhost:4567/to_aa
623
- # http://localhost:4567/to_aminoacids
629
+ # http://localhost:4568/to_aa
630
+ # http://localhost:4568/to_aminoacids
624
631
  # ========================================================================= #
625
632
  Bioroebe::EmbeddableInterface::ARRAY_FOR_TO_AMINOACIDS_CONVERSION.each {|target|
626
633
  get(target) {
@@ -639,7 +646,7 @@ class Sinatra < ::Sinatra::Base
639
646
  #
640
647
  # Example:
641
648
  #
642
- # http://localhost:4567/mirror
649
+ # http://localhost:4568/mirror
643
650
  # =========================================================================== #
644
651
  get('/mirror'){
645
652
  body = embeddable_interface?.return_intro_for_mirror_repeat_conversion+
@@ -663,8 +670,8 @@ class Sinatra < ::Sinatra::Base
663
670
  #
664
671
  # Usage Examples:
665
672
  #
666
- # http://localhost:4567/to_dna
667
- # http://localhost:4567/to_dna/AGUCGAUCGUAUGCAGUCAGUCA
673
+ # http://localhost:4568/to_dna
674
+ # http://localhost:4568/to_dna/AGUCGAUCGUAUGCAGUCAGUCA
668
675
  #
669
676
  # =========================================================================== #
670
677
  get('/to_dna'){
@@ -676,11 +683,11 @@ class Sinatra < ::Sinatra::Base
676
683
  #
677
684
  # This method will convert RNA into DNA.
678
685
  #
679
- # http://localhost:4567/to_dna
686
+ # http://localhost:4568/to_dna
680
687
  #
681
688
  # Example:
682
689
  #
683
- # http://localhost:4567/to_dna/ATGCUUUUUUUUUU
690
+ # http://localhost:4568/to_dna/ATGCUUUUUUUUUU
684
691
  #
685
692
  # ========================================================================= #
686
693
  get('/to_dna/*') {
@@ -722,11 +729,11 @@ class Sinatra < ::Sinatra::Base
722
729
  #
723
730
  # This method will convert RNA into DNA.
724
731
  #
725
- # http://localhost:4567/chunked
732
+ # http://localhost:4568/chunked
726
733
  #
727
734
  # Example:
728
735
  #
729
- # http://localhost:4567/chunked/ATGCUUUUUUUUUU
736
+ # http://localhost:4568/chunked/ATGCUUUUUUUUUU
730
737
  #
731
738
  # ========================================================================= #
732
739
  Bioroebe::EmbeddableInterface::ARRAY_FOR_CHUNKED_DISPLAY.each {|target|
@@ -765,7 +772,7 @@ class Sinatra < ::Sinatra::Base
765
772
  #
766
773
  # Example:
767
774
  #
768
- # http://localhost:4567/compseq
775
+ # http://localhost:4568/compseq
769
776
  #
770
777
  # =========================================================================== #
771
778
  get('/compseq'){
@@ -820,8 +827,8 @@ class Sinatra < ::Sinatra::Base
820
827
  #
821
828
  # Examples:
822
829
  #
823
- # http://localhost:4567/to_aa/ATGGGGCCCGCGCCA
824
- # http://localhost:4567/to_aa/GGAGTGAGGGGAGCAGTTGGGCCAAGATGGCGGCCGCCGAGGGACCGGTG
830
+ # http://localhost:4568/to_aa/ATGGGGCCCGCGCCA
831
+ # http://localhost:4568/to_aa/GGAGTGAGGGGAGCAGTTGGGCCAAGATGGCGGCCGCCGAGGGACCGGTG
825
832
  #
826
833
  # ========================================================================= #
827
834
  Bioroebe::EmbeddableInterface::ARRAY_FOR_TO_AMINOACIDS_CONVERSION.map {|entry| "#{entry}/*" }.each {|target|
@@ -872,7 +879,7 @@ class Sinatra < ::Sinatra::Base
872
879
  #
873
880
  # Example:
874
881
  #
875
- # http://localhost:4567/blosum
882
+ # http://localhost:4568/blosum
876
883
  #
877
884
  # =========================================================================== #
878
885
  get('/blosum'){
@@ -898,11 +905,11 @@ class Sinatra < ::Sinatra::Base
898
905
  #
899
906
  # This method will convert RNA into DNA.
900
907
  #
901
- # http://localhost:4567/mirror
908
+ # http://localhost:4568/mirror
902
909
  #
903
910
  # Example:
904
911
  #
905
- # http://localhost:4567/mirror/ATGCUUUUUUUUUU
912
+ # http://localhost:4568/mirror/ATGCUUUUUUUUUU
906
913
  #
907
914
  # ========================================================================= #
908
915
  get('/mirror/*') {
@@ -942,7 +949,7 @@ class Sinatra < ::Sinatra::Base
942
949
  # ========================================================================= #
943
950
  # === /blosum_source
944
951
  #
945
- # http://localhost:4567/blosum_source
952
+ # http://localhost:4568/blosum_source
946
953
  # ========================================================================= #
947
954
  get('/blosum_source'){
948
955
  file, line_number = ::Bioroebe.method(:blosum).source_location
@@ -967,11 +974,11 @@ class Sinatra < ::Sinatra::Base
967
974
  #
968
975
  # This method will show the blosum matrices.
969
976
  #
970
- # http://localhost:4567/blosum
977
+ # http://localhost:4568/blosum
971
978
  #
972
979
  # Example:
973
980
  #
974
- # http://localhost:4567/blosum/42
981
+ # http://localhost:4568/blosum/42
975
982
  #
976
983
  # ========================================================================= #
977
984
  get('/blosum/*') {
@@ -997,6 +1004,114 @@ class Sinatra < ::Sinatra::Base
997
1004
  the_result
998
1005
  }
999
1006
 
1007
+ # ========================================================================= #
1008
+ # === /random_aminoacids
1009
+ #
1010
+ # http://localhost:4568/random_aminoacids
1011
+ # ========================================================================= #
1012
+ ['/random_aminoacids'].each {|target|
1013
+ get(target) {
1014
+ embeddable_interface?.method_random_aminoacids
1015
+ }
1016
+ }
1017
+
1018
+ # ========================================================================= #
1019
+ # === /codon_frequency_of_this_string
1020
+ #
1021
+ # http://localhost:4568/codon_frequency_of_this_string
1022
+ # ========================================================================= #
1023
+ ['/codon_frequency_of_this_string'].each {|target|
1024
+ get(target) {
1025
+ embeddable_interface?.method_codon_frequency_of_this_string
1026
+ }
1027
+ }
1028
+
1029
+ # ========================================================================= #
1030
+ # === Codon Frequencies
1031
+ #
1032
+ # Example:
1033
+ #
1034
+ # http://localhost:4568/codon_frequency_of_this_string/ATGCUUUUUUUUUU
1035
+ #
1036
+ # ========================================================================= #
1037
+ get('/codon_frequency_of_this_string/*') {
1038
+ the_params = params[:splat]
1039
+ if the_params.is_a? Array
1040
+ the_params = the_params.join(' ')
1041
+ end
1042
+ if params.has_key? 'user_input'
1043
+ the_params = params['user_input']
1044
+ end
1045
+ the_params = the_params.strip.upcase if the_params
1046
+ if the_params.is_a? Array
1047
+ the_params = the_params.flatten.first
1048
+ end
1049
+ the_result = ''.dup
1050
+ if the_params.empty?
1051
+ the_result << return_intro_for_reverse_complement_conversion+
1052
+ p(
1053
+ '<b> Please input a DNA sequence.'
1054
+ )+
1055
+ return_paragraph_of_hyperlinks
1056
+ else
1057
+ _ = embeddable_interface?.return_intro_for_reverse_complement_conversion
1058
+ the_result << p(
1059
+ Bioroebe.codon_frequency_of_this_string(the_params)
1060
+ )
1061
+ end
1062
+ the_result << embeddable_interface?.return_form_for_codon_frequency_of_this_string
1063
+ the_result << embeddable_interface?.hyperlinks_paragraph
1064
+ the_result
1065
+ }
1066
+ # ========================================================================= #
1067
+ # === /codon_frequency_of_this_string
1068
+ #
1069
+ # http://localhost:4568/codon_frequency_of_this_string
1070
+ # ========================================================================= #
1071
+ ['/codon_frequency_of_this_string'].each {|target|
1072
+ get(target) {
1073
+ embeddable_interface?.method_codon_frequency_of_this_string
1074
+ }
1075
+ }
1076
+
1077
+ # ========================================================================= #
1078
+ # === Codon Frequencies
1079
+ #
1080
+ # Example:
1081
+ #
1082
+ # http://localhost:4568/frequency_per_thousand/ATGCUUUUUUUUUU
1083
+ #
1084
+ # ========================================================================= #
1085
+ get('/frequency_per_thousand/*') {
1086
+ the_params = params[:splat]
1087
+ if the_params.is_a? Array
1088
+ the_params = the_params.join(' ')
1089
+ end
1090
+ if params.has_key? 'user_input'
1091
+ the_params = params['user_input']
1092
+ end
1093
+ the_params = the_params.strip.upcase if the_params
1094
+ if the_params.is_a? Array
1095
+ the_params = the_params.flatten.first
1096
+ end
1097
+ the_result = ''.dup
1098
+ if the_params.empty?
1099
+ the_result << return_intro_for_reverse_complement_conversion+
1100
+ p(
1101
+ '<b>Please input a DNA sequence.</b>'
1102
+ )+
1103
+ return_paragraph_of_hyperlinks
1104
+ else
1105
+ _ = embeddable_interface?.return_intro_for_reverse_complement_conversion
1106
+ the_result << HtmlTags.pre(
1107
+ Bioroebe.frequency_per_thousand(the_params)
1108
+ )
1109
+ end
1110
+ the_result << embeddable_interface?.return_form_for_codon_frequency_of_this_string
1111
+ the_result << embeddable_interface?.hyperlinks_paragraph
1112
+ the_result
1113
+ }
1114
+
1000
1115
  end
1001
1116
 
1002
1117
  # =========================================================================== #
@@ -1,5 +1,5 @@
1
1
  # =========================================================================== #
2
- # x = YAML.load_file(Bioroebe.file_amino_acids_long_name_to_one_letter)
2
+ # === amino_acids_long_name_to_one_letter.yml
3
3
  #
4
4
  # In code this will be:
5
5
  #
@@ -7,7 +7,7 @@
7
7
  #
8
8
  # Note that the file here stores both the english and the german names.
9
9
  # =========================================================================== #
10
- # 'amino_acids_long_name_to_one_letter.yml'
10
+ # x = YAML.load_file(Bioroebe.file_amino_acids_long_name_to_one_letter)
11
11
  # =========================================================================== #
12
12
 
13
13
  # =========================================================================== #
@@ -14,20 +14,20 @@
14
14
 
15
15
  n kDa
16
16
  ----------------------------------------------------------------------------------------
17
- ATP: 0.507 # Yup, ATP has a molecular weight of about 507 Dalton. Formula is: C₁₀H₁6N5O₁3P3
18
- tRNAs: 25 # This applies to mature tRNAs with an average of 76 nucleotides.
19
- GFP: 26.9 # The good, old "Green Fluorescent Protein".
20
- scFv: 27 # The "scFv fragment".
21
- recA-Protein: 38 # The recA Protein in Prokaryotes.
22
- Protein A: 42 # Protein A from "Staphylococcus aureus".
23
- RUBISCO monomer: 55 # Yes, the RUBISCO monomer has a weight of 55 kDa.
24
- Fab fragment: 55 # Part of a typical antibody, e. g. IgG antibody.
25
- Luciferase: 62 # Originally from the firefly.
26
- IgG: 150 # IgG antibodies have a weight of approximately 150 kDa.
27
- IgA: 160 # IgA antibodies have a weight of approximately 160 kDa.
28
- IgD: 175 # IgD antibodies have a weight of approximately 175 kDa.
29
- IgE: 190 # IgE antibodies have a weight of approximately 190 kDa.
30
- IgA-dimers: 400 # IgA dimers have a MW of 400.000 Da.
31
- Apolipoprotein: +500 # The Apolipoprotein is fairly large.
32
- ATP synthase: 500-600 # Has a weight between ~500-600 kDa; probably species-dependent.
33
- IgM-pentamers: 950 # IgM pentamers have a MW of 950.000 Da. Other sources claim 900.000 Da.
17
+ ATP: 0.507 # Yup, ATP has a molecular weight of about 507 Dalton. Formula is: C₁₀H₁6N5O₁3P3
18
+ tRNAs: 25 # This applies to mature tRNAs with an average of 76 nucleotides.
19
+ GFP: 26.9 # The good, old "Green Fluorescent Protein".
20
+ scFv: 27 # The "scFv fragment".
21
+ recA-Protein: 38 # The recA Protein in Prokaryotes.
22
+ Protein A: 42 # Protein A from "Staphylococcus aureus".
23
+ RUBISCO monomer: 55 # Yes, the RUBISCO monomer has a weight of 55 kDa.
24
+ Fab fragment: 55 # Part of a typical antibody, e. g. IgG antibody.
25
+ Luciferase: 62 # Originally from the firefly.
26
+ IgG: 150 # IgG antibodies have a weight of approximately 150 kDa.
27
+ IgA: 160 # IgA antibodies have a weight of approximately 160 kDa.
28
+ IgD: 175 # IgD antibodies have a weight of approximately 175 kDa.
29
+ IgE: 190 # IgE antibodies have a weight of approximately 190 kDa.
30
+ IgA-dimers: 400 # IgA dimers have a MW of 400.000 Da.
31
+ Apolipoprotein: +500 # The Apolipoprotein is fairly large.
32
+ ATP synthase: 500-600 # Has a weight between ~500-600 kDa; probably species-dependent.
33
+ IgM-pentamers: 950 # IgM pentamers have a MW of 950.000 Da. Other sources claim 900.000 Da.
@@ -1 +1 @@
1
- firefox # palemoon
1
+ firefox # chromium # palemoon
@@ -1 +1 @@
1
- /home/Temp/bioroebe
1
+ /home/x/Temp/bioroebe
@@ -0,0 +1 @@
1
+ AP1: TGA(GC)TCA # This is the AP1 binding site in DNA.
@@ -1,7 +1,6 @@
1
- This directory is primarily intended to provide some links to
2
- external resources - in particular genome information, the
3
- latest revisions to a genome, where it can be downloaded,
4
- and so forth.
1
+ This directory is primarily intended to provide some links to external
2
+ resources - in particular genome information, the latest revisions to
3
+ a genome, where it can be downloaded, and so forth.
5
4
 
6
5
  As such we will focus on model organisms primarily.
7
6
 
@@ -32,3 +32,8 @@ Desoxyguanosin: C10H13N5O4 # See https://de.wikipedia.org/wiki/Desoxyguanosin
32
32
  # =========================================================================== #
33
33
  Thymin: C5H6N2O2 # See https://de.wikipedia.org/wiki/Thymin
34
34
  Desoxythymidin: C10H14N2O5 # See https://de.wikipedia.org/wiki/Desoxythymidin
35
+
36
+ # =========================================================================== #
37
+ # === Uracil tag
38
+ # =========================================================================== #
39
+ Uracil: C4H4N2O2 # See https://de.wikipedia.org/wiki/Uracil