sequenceserver 2.2.0 → 3.0

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

Potentially problematic release.


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

Files changed (40) hide show
  1. checksums.yaml +4 -4
  2. data/COPYRIGHT.txt +1 -1
  3. data/bin/sequenceserver +4 -2
  4. data/lib/sequenceserver/blast/error.rb +53 -0
  5. data/lib/sequenceserver/blast/job.rb +2 -43
  6. data/lib/sequenceserver/job.rb +21 -11
  7. data/lib/sequenceserver/makeblastdb-modified-with-cache.rb +345 -0
  8. data/lib/sequenceserver/makeblastdb.rb +26 -12
  9. data/lib/sequenceserver/routes.rb +29 -3
  10. data/lib/sequenceserver/server.rb +1 -1
  11. data/lib/sequenceserver/version.rb +1 -1
  12. data/lib/sequenceserver.rb +3 -0
  13. data/public/404.html +27 -0
  14. data/public/config.js +0 -6
  15. data/public/css/grapher.css +1 -1
  16. data/public/css/sequenceserver.css +22 -11
  17. data/public/css/sequenceserver.min.css +2 -2
  18. data/public/js/circos.js +7 -3
  19. data/public/js/dnd.js +3 -3
  20. data/public/js/fastq_to_fasta.js +35 -0
  21. data/public/js/form.js +30 -11
  22. data/public/js/grapher.js +123 -113
  23. data/public/js/hit.js +8 -2
  24. data/public/js/hits_overview.js +4 -1
  25. data/public/js/jquery_world.js +0 -1
  26. data/public/js/kablammo.js +4 -0
  27. data/public/js/length_distribution.js +5 -1
  28. data/public/js/null_plugins/download_links.js +7 -0
  29. data/public/js/null_plugins/hit_buttons.js +11 -0
  30. data/public/js/null_plugins/report_plugins.js +18 -0
  31. data/public/js/query.js +26 -6
  32. data/public/js/report.js +33 -17
  33. data/public/js/search.js +0 -8
  34. data/public/js/sidebar.js +11 -1
  35. data/public/js/tests/mock_data/sequences.js +18 -1
  36. data/public/js/tests/search_query.spec.js +12 -3
  37. data/public/sequenceserver-report.min.js +76 -42
  38. data/public/sequenceserver-search.min.js +34 -33
  39. data/views/layout.erb +9 -12
  40. metadata +32 -23
data/views/layout.erb CHANGED
@@ -6,12 +6,8 @@
6
6
  <meta name="viewport" content="width=device-width, initial-scale=1">
7
7
 
8
8
  <title>SequenceServer: Custom BLAST Server</title>
9
- <meta name="author" content="Anurag Priyam">
10
- <meta name="author" content="Ben J. Woodcroft">
11
- <meta name="author" content="Vivek Rai">
12
- <meta name="author" content="Cedric Wurm">
13
- <meta name="author" content="Yannick Wurm">
14
- <meta name="description" content="Custom BLAST server provided by SequenceServer (https://www.sequenceserver.com)"/>
9
+ <meta name="author" content="Pragmatic Genomics Ltd">
10
+ <meta name="description" content="Custom BLAST server provided by SequenceServer (https://sequenceserver.com)"/>
15
11
 
16
12
  <!-- CSS -->
17
13
  <% if settings.production? || settings.test? %>
@@ -38,7 +34,7 @@
38
34
  <li>
39
35
  <a
40
36
  target="_blank"
41
- href="https://www.sequenceserver.com/#support">
37
+ href="https://sequenceserver.com/support">
42
38
  <i class="fa fa-comment-o"></i>
43
39
  &nbsp;Help &amp; Support
44
40
  </a>
@@ -90,16 +86,17 @@
90
86
  "SequenceServer: Local BLAST with bespoke html interface.",
91
87
  "Set up custom BLAST interface with SequenceServer.",
92
88
  "Easy BLASTing with SequenceServer.",
93
- "Run BLAST locally with Sequenceserver.",
94
89
  "BLAST against a custom, local database with SequenceServer.",
95
- "Run BLAST locally on Mac OSX with SequenceServer.",
96
- "Run BLAST locally on Ubuntu with SequenceServer.",
97
- "Run BLAST locally on Linux with SequenceServer."
90
+ "Cloud BLAST custom genome.",
91
+ "NCBI BLAST alternative.",
92
+ "BLAST private transcriptome assembly in the Cloud.",
93
+ "Cloud server for comparative genomics, oligos, crisp, primers and more."
98
94
  ][rand(19)]
99
95
  %>
100
96
  </em></a>
101
97
  </p>
102
- <%= File.read(File.join(settings.root, '../website-extras/footer.html')) if File.exist?(File.join(settings.root, '../website-extras/footer.html')) %>
98
+ <% footer_path = File.join(settings.root, '../website-extras/footer.html.erb') %>
99
+ <%= erb :'../../website-extras/footer.html', locals: { path_prefix: root_path_prefix } if File.exist?(footer_path) %>
103
100
  </div> <!-- /container -->
104
101
  </div>
105
102
 
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: sequenceserver
3
3
  version: !ruby/object:Gem::Version
4
- version: 2.2.0
4
+ version: '3.0'
5
5
  platform: ruby
6
6
  authors:
7
7
  - Queen Mary University of London
@@ -9,7 +9,7 @@ authors:
9
9
  autorequire:
10
10
  bindir: bin
11
11
  cert_chain: []
12
- date: 2023-10-05 00:00:00.000000000 Z
12
+ date: 2024-02-13 00:00:00.000000000 Z
13
13
  dependencies:
14
14
  - !ruby/object:Gem::Dependency
15
15
  name: json_pure
@@ -51,6 +51,20 @@ dependencies:
51
51
  - - ">="
52
52
  - !ruby/object:Gem::Version
53
53
  version: 2.1.1
54
+ - !ruby/object:Gem::Dependency
55
+ name: rackup
56
+ requirement: !ruby/object:Gem::Requirement
57
+ requirements:
58
+ - - ">="
59
+ - !ruby/object:Gem::Version
60
+ version: '0'
61
+ type: :runtime
62
+ prerelease: false
63
+ version_requirements: !ruby/object:Gem::Requirement
64
+ requirements:
65
+ - - ">="
66
+ - !ruby/object:Gem::Version
67
+ version: '0'
54
68
  - !ruby/object:Gem::Dependency
55
69
  name: rest-client
56
70
  requirement: !ruby/object:Gem::Requirement
@@ -97,20 +111,14 @@ dependencies:
97
111
  requirements:
98
112
  - - "~>"
99
113
  - !ruby/object:Gem::Version
100
- version: '2.0'
101
- - - ">="
102
- - !ruby/object:Gem::Version
103
- version: 2.0.0
114
+ version: '4.0'
104
115
  type: :runtime
105
116
  prerelease: false
106
117
  version_requirements: !ruby/object:Gem::Requirement
107
118
  requirements:
108
119
  - - "~>"
109
120
  - !ruby/object:Gem::Version
110
- version: '2.0'
111
- - - ">="
112
- - !ruby/object:Gem::Version
113
- version: 2.0.0
121
+ version: '4.0'
114
122
  - !ruby/object:Gem::Dependency
115
123
  name: slop
116
124
  requirement: !ruby/object:Gem::Requirement
@@ -211,20 +219,14 @@ dependencies:
211
219
  requirements:
212
220
  - - "~>"
213
221
  - !ruby/object:Gem::Version
214
- version: '1.0'
215
- - - ">="
216
- - !ruby/object:Gem::Version
217
- version: 1.0.0
222
+ version: '2.1'
218
223
  type: :development
219
224
  prerelease: false
220
225
  version_requirements: !ruby/object:Gem::Requirement
221
226
  requirements:
222
227
  - - "~>"
223
228
  - !ruby/object:Gem::Version
224
- version: '1.0'
225
- - - ">="
226
- - !ruby/object:Gem::Version
227
- version: 1.0.0
229
+ version: '2.1'
228
230
  - !ruby/object:Gem::Dependency
229
231
  name: rspec
230
232
  requirement: !ruby/object:Gem::Requirement
@@ -271,20 +273,20 @@ dependencies:
271
273
  requirements:
272
274
  - - "~>"
273
275
  - !ruby/object:Gem::Version
274
- version: 4.10.0
276
+ version: 4.15.0
275
277
  - - ">="
276
278
  - !ruby/object:Gem::Version
277
- version: 4.10.0
279
+ version: 4.15.0
278
280
  type: :development
279
281
  prerelease: false
280
282
  version_requirements: !ruby/object:Gem::Requirement
281
283
  requirements:
282
284
  - - "~>"
283
285
  - !ruby/object:Gem::Version
284
- version: 4.10.0
286
+ version: 4.15.0
285
287
  - - ">="
286
288
  - !ruby/object:Gem::Version
287
- version: 4.10.0
289
+ version: 4.15.0
288
290
  - !ruby/object:Gem::Dependency
289
291
  name: simplecov
290
292
  requirement: !ruby/object:Gem::Requirement
@@ -322,6 +324,7 @@ files:
322
324
  - lib/sequenceserver/api_errors.rb
323
325
  - lib/sequenceserver/blast.rb
324
326
  - lib/sequenceserver/blast/constants.rb
327
+ - lib/sequenceserver/blast/error.rb
325
328
  - lib/sequenceserver/blast/formatter.rb
326
329
  - lib/sequenceserver/blast/hit.rb
327
330
  - lib/sequenceserver/blast/hsp.rb
@@ -336,6 +339,7 @@ files:
336
339
  - lib/sequenceserver/job_remover.rb
337
340
  - lib/sequenceserver/links.rb
338
341
  - lib/sequenceserver/logger.rb
342
+ - lib/sequenceserver/makeblastdb-modified-with-cache.rb
339
343
  - lib/sequenceserver/makeblastdb.rb
340
344
  - lib/sequenceserver/pool.rb
341
345
  - lib/sequenceserver/refinements.rb
@@ -346,6 +350,7 @@ files:
346
350
  - lib/sequenceserver/sys.rb
347
351
  - lib/sequenceserver/version.rb
348
352
  - lib/sequenceserver/zip_file_generator.rb
353
+ - public/404.html
349
354
  - public/SequenceServer_logo.png
350
355
  - public/config.js
351
356
  - public/css/fonts.css
@@ -377,6 +382,7 @@ files:
377
382
  - public/js/download_fasta.js
378
383
  - public/js/error_modal.js
379
384
  - public/js/exporter.js
385
+ - public/js/fastq_to_fasta.js
380
386
  - public/js/form.js
381
387
  - public/js/grapher.js
382
388
  - public/js/hit.js
@@ -387,6 +393,9 @@ files:
387
393
  - public/js/kablammo/alignment_viewer.js
388
394
  - public/js/length_distribution.js
389
395
  - public/js/mailto.js
396
+ - public/js/null_plugins/download_links.js
397
+ - public/js/null_plugins/hit_buttons.js
398
+ - public/js/null_plugins/report_plugins.js
390
399
  - public/js/options.js
391
400
  - public/js/query.js
392
401
  - public/js/report.js
@@ -3521,7 +3530,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
3521
3530
  - !ruby/object:Gem::Version
3522
3531
  version: '0'
3523
3532
  requirements: []
3524
- rubygems_version: 3.4.13
3533
+ rubygems_version: 3.4.10
3525
3534
  signing_key:
3526
3535
  specification_version: 4
3527
3536
  summary: BLAST search made easy!