sequenceserver 3.1.2 → 3.2.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (78) hide show
  1. checksums.yaml +4 -4
  2. data/lib/sequenceserver/api_errors.rb +18 -0
  3. data/lib/sequenceserver/blast/hit.rb +1 -2
  4. data/lib/sequenceserver/blast/job.rb +15 -5
  5. data/lib/sequenceserver/blast/report.rb +5 -1
  6. data/lib/sequenceserver/blast/tasks.rb +1 -1
  7. data/lib/sequenceserver/database.rb +5 -1
  8. data/lib/sequenceserver/job.rb +26 -10
  9. data/lib/sequenceserver/makeblastdb.rb +2 -1
  10. data/lib/sequenceserver/routes.rb +38 -13
  11. data/lib/sequenceserver/version.rb +1 -1
  12. data/lib/sequenceserver/zip_file_generator.rb +1 -1
  13. data/lib/sequenceserver.rb +1 -1
  14. data/public/404.html +8 -16
  15. data/public/css/app.css +794 -111
  16. data/public/css/app.min.css +1 -1
  17. data/public/css/sequenceserver.min.css +1 -8
  18. data/public/js/alignment_exporter.js +16 -28
  19. data/public/js/circos.js +103 -96
  20. data/public/{packages/circosJS@1.7.0.js → js/circosjs.js} +156 -778
  21. data/public/js/cloud_share_modal.js +95 -98
  22. data/public/js/collapse_preferences.js +13 -15
  23. data/public/js/databases.js +4 -3
  24. data/public/js/databases_tree.js +51 -30
  25. data/public/js/error_modal.js +35 -22
  26. data/public/js/exporter.js +2 -0
  27. data/public/js/form.js +55 -17
  28. data/public/js/grapher.js +94 -92
  29. data/public/js/hit.js +24 -22
  30. data/public/js/hits.js +283 -0
  31. data/public/js/hits_overview.js +8 -27
  32. data/public/js/hsp.js +140 -144
  33. data/public/js/jquery_world.js +25 -16
  34. data/public/js/kablammo.js +14 -10
  35. data/public/js/length_distribution.js +23 -37
  36. data/public/js/mailto.js +1 -3
  37. data/public/js/null_plugins/report_plugins.js +4 -5
  38. data/public/js/options.js +19 -25
  39. data/public/js/query.js +36 -35
  40. data/public/js/report/alignment_results.js +18 -0
  41. data/public/js/report/graphical_overview.js +38 -0
  42. data/public/js/report/report_header.js +28 -0
  43. data/public/js/report/run_summary.js +43 -0
  44. data/public/js/report.js +124 -348
  45. data/public/js/report_root.js +10 -8
  46. data/public/js/search.js +31 -11
  47. data/public/js/search_button.js +85 -78
  48. data/public/js/sequence.js +169 -180
  49. data/public/js/sequence_modal.js +58 -65
  50. data/public/js/share_url.js +5 -5
  51. data/public/js/sidebar.js +152 -89
  52. data/public/js/svgExporter.js +8 -3
  53. data/public/js/tests/alignment_exporter.spec.js +38 -0
  54. data/public/js/tests/cloud_share_modal.spec.js +75 -0
  55. data/public/js/tests/form.spec.js +1 -1
  56. data/public/js/tests/report.spec.js +37 -15
  57. data/public/js/tests/visualisation_helpers.spec.js +28 -0
  58. data/public/js/visualisation_helpers.js +24 -27
  59. data/public/packages/jquery-ui@1.13.3.js +19070 -0
  60. data/public/sequenceserver-report.min.js +3 -2481
  61. data/public/sequenceserver-report.min.js.LICENSE.txt +213 -0
  62. data/public/sequenceserver-report.min.js.map +1 -0
  63. data/public/sequenceserver-search.min.js +3 -2382
  64. data/public/sequenceserver-search.min.js.LICENSE.txt +262 -0
  65. data/public/sequenceserver-search.min.js.map +1 -0
  66. data/views/error.erb +1 -1
  67. data/views/layout.erb +122 -133
  68. data/views/report.erb +3 -2
  69. data/views/search.erb +10 -14
  70. metadata +21 -28
  71. data/public/config.js +0 -147
  72. data/public/css/fonts.css +0 -31
  73. data/public/css/grapher.css +0 -670
  74. data/public/css/sequenceserver.css +0 -527
  75. data/public/packages/jquery-ui@1.11.4.js +0 -16624
  76. data/public/vendor/github/mbostock/d3@3.5.6/d3.js +0 -9506
  77. data/public/vendor/github/mbostock/d3@3.5.6.js +0 -1
  78. data/views/search_layout.erb +0 -153
@@ -0,0 +1,213 @@
1
+ /*!
2
+ * jQuery Browser Plugin v0.0.6
3
+ * https://github.com/gabceb/jquery-browser-plugin
4
+ *
5
+ * Original jquery-browser code Copyright 2005, 2013 jQuery Foundation, Inc. and other contributors
6
+ * http://jquery.org/license
7
+ *
8
+ * Modifications Copyright 2013 Gabriel Cebrian
9
+ * https://github.com/gabceb
10
+ *
11
+ * Released under the MIT license
12
+ *
13
+ * Date: 2013-07-29T17:23:27-07:00
14
+ */
15
+
16
+ /*!
17
+ * jQuery JavaScript Library v3.7.1
18
+ * https://jquery.com/
19
+ *
20
+ * Copyright OpenJS Foundation and other contributors
21
+ * Released under the MIT license
22
+ * https://jquery.org/license
23
+ *
24
+ * Date: 2023-08-28T13:37Z
25
+ */
26
+
27
+ /*!
28
+ * jQuery UI :data 1.13.3
29
+ * https://jqueryui.com
30
+ *
31
+ * Copyright OpenJS Foundation and other contributors
32
+ * Released under the MIT license.
33
+ * https://jquery.org/license
34
+ */
35
+
36
+ /*!
37
+ * jQuery UI Autocomplete 1.13.3
38
+ * https://jqueryui.com
39
+ *
40
+ * Copyright OpenJS Foundation and other contributors
41
+ * Released under the MIT license.
42
+ * https://jquery.org/license
43
+ */
44
+
45
+ /*!
46
+ * jQuery UI Button 1.13.3
47
+ * https://jqueryui.com
48
+ *
49
+ * Copyright OpenJS Foundation and other contributors
50
+ * Released under the MIT license.
51
+ * https://jquery.org/license
52
+ */
53
+
54
+ /*!
55
+ * jQuery UI Checkboxradio 1.13.3
56
+ * https://jqueryui.com
57
+ *
58
+ * Copyright OpenJS Foundation and other contributors
59
+ * Released under the MIT license.
60
+ * https://jquery.org/license
61
+ */
62
+
63
+ /*!
64
+ * jQuery UI Controlgroup 1.13.3
65
+ * https://jqueryui.com
66
+ *
67
+ * Copyright OpenJS Foundation and other contributors
68
+ * Released under the MIT license.
69
+ * https://jquery.org/license
70
+ */
71
+
72
+ /*!
73
+ * jQuery UI Datepicker 1.13.3
74
+ * https://jqueryui.com
75
+ *
76
+ * Copyright OpenJS Foundation and other contributors
77
+ * Released under the MIT license.
78
+ * https://jquery.org/license
79
+ */
80
+
81
+ /*!
82
+ * jQuery UI Dialog 1.13.3
83
+ * https://jqueryui.com
84
+ *
85
+ * Copyright OpenJS Foundation and other contributors
86
+ * Released under the MIT license.
87
+ * https://jquery.org/license
88
+ */
89
+
90
+ /*!
91
+ * jQuery UI Draggable 1.13.3
92
+ * https://jqueryui.com
93
+ *
94
+ * Copyright OpenJS Foundation and other contributors
95
+ * Released under the MIT license.
96
+ * https://jquery.org/license
97
+ */
98
+
99
+ /*!
100
+ * jQuery UI Droppable 1.13.3
101
+ * https://jqueryui.com
102
+ *
103
+ * Copyright OpenJS Foundation and other contributors
104
+ * Released under the MIT license.
105
+ * https://jquery.org/license
106
+ */
107
+
108
+ /*!
109
+ * jQuery UI Effects 1.13.3
110
+ * https://jqueryui.com
111
+ *
112
+ * Copyright OpenJS Foundation and other contributors
113
+ * Released under the MIT license.
114
+ * https://jquery.org/license
115
+ */
116
+
117
+ /*!
118
+ * jQuery UI Focusable 1.13.3
119
+ * https://jqueryui.com
120
+ *
121
+ * Copyright OpenJS Foundation and other contributors
122
+ * Released under the MIT license.
123
+ * https://jquery.org/license
124
+ */
125
+
126
+ /*!
127
+ * jQuery UI Position 1.13.3
128
+ * https://jqueryui.com
129
+ *
130
+ * Copyright OpenJS Foundation and other contributors
131
+ * Released under the MIT license.
132
+ * https://jquery.org/license
133
+ *
134
+ * https://api.jqueryui.com/position/
135
+ */
136
+
137
+ /*!
138
+ * jQuery UI Resizable 1.13.3
139
+ * https://jqueryui.com
140
+ *
141
+ * Copyright OpenJS Foundation and other contributors
142
+ * Released under the MIT license.
143
+ * https://jquery.org/license
144
+ */
145
+
146
+ /*!
147
+ * jQuery UI Spinner 1.13.3
148
+ * https://jqueryui.com
149
+ *
150
+ * Copyright OpenJS Foundation and other contributors
151
+ * Released under the MIT license.
152
+ * https://jquery.org/license
153
+ */
154
+
155
+ /*!
156
+ * jQuery UI Support for jQuery core 1.8.x and newer 1.13.3
157
+ * https://jqueryui.com
158
+ *
159
+ * Copyright OpenJS Foundation and other contributors
160
+ * Released under the MIT license.
161
+ * https://jquery.org/license
162
+ *
163
+ */
164
+
165
+ /*!
166
+ * jQuery UI Tabs 1.13.3
167
+ * https://jqueryui.com
168
+ *
169
+ * Copyright OpenJS Foundation and other contributors
170
+ * Released under the MIT license.
171
+ * https://jquery.org/license
172
+ */
173
+
174
+ /*!
175
+ * jQuery UI Tooltip 1.13.3
176
+ * https://jqueryui.com
177
+ *
178
+ * Copyright OpenJS Foundation and other contributors
179
+ * Released under the MIT license.
180
+ * https://jquery.org/license
181
+ */
182
+
183
+ /*!
184
+ * jQuery UI Widget 1.13.3
185
+ * https://jqueryui.com
186
+ *
187
+ * Copyright OpenJS Foundation and other contributors
188
+ * Released under the MIT license.
189
+ * https://jquery.org/license
190
+ */
191
+
192
+ /*! jQuery UI - v1.13.3 - 2024-04-26
193
+ * https://jqueryui.com
194
+ * Includes: widget.js, position.js, data.js, disable-selection.js, effect.js, effects/effect-blind.js, effects/effect-bounce.js, effects/effect-clip.js, effects/effect-drop.js, effects/effect-explode.js, effects/effect-fade.js, effects/effect-fold.js, effects/effect-highlight.js, effects/effect-puff.js, effects/effect-pulsate.js, effects/effect-scale.js, effects/effect-shake.js, effects/effect-size.js, effects/effect-slide.js, effects/effect-transfer.js, focusable.js, form-reset-mixin.js, jquery-patch.js, keycode.js, labels.js, scroll-parent.js, tabbable.js, unique-id.js, widgets/accordion.js, widgets/autocomplete.js, widgets/button.js, widgets/checkboxradio.js, widgets/controlgroup.js, widgets/datepicker.js, widgets/dialog.js, widgets/draggable.js, widgets/droppable.js, widgets/menu.js, widgets/mouse.js, widgets/progressbar.js, widgets/resizable.js, widgets/selectable.js, widgets/selectmenu.js, widgets/slider.js, widgets/sortable.js, widgets/spinner.js, widgets/tabs.js, widgets/tooltip.js
195
+ * Copyright OpenJS Foundation and other contributors; Licensed MIT */
196
+
197
+ /*! regenerator-runtime -- Copyright (c) 2014-present, Facebook, Inc. -- license (MIT): https://github.com/babel/babel/blob/main/packages/babel-helpers/LICENSE */
198
+
199
+ /**
200
+ * Checks if an event is supported in the current execution environment.
201
+ *
202
+ * NOTE: This will not work correctly for non-generic events such as `change`,
203
+ * `reset`, `load`, `error`, and `select`.
204
+ *
205
+ * Borrows from Modernizr.
206
+ *
207
+ * @param {string} eventNameSuffix Event name, e.g. "click".
208
+ * @return {boolean} True if the event is supported.
209
+ * @internal
210
+ * @license Modernizr 3.0.0pre (Custom Build) | MIT
211
+ */
212
+
213
+ /** @preserve http://github.com/easeway/js-class */