sequenceserver 2.0.0.rc2 → 2.0.0.rc7

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 (125) hide show
  1. checksums.yaml +4 -4
  2. data/.dockerignore +1 -0
  3. data/Dockerfile +14 -12
  4. data/bin/sequenceserver +10 -27
  5. data/lib/sequenceserver.rb +42 -21
  6. data/lib/sequenceserver/blast/job.rb +11 -1
  7. data/lib/sequenceserver/database.rb +0 -126
  8. data/lib/sequenceserver/makeblastdb.rb +243 -0
  9. data/lib/sequenceserver/routes.rb +5 -0
  10. data/lib/sequenceserver/sequence.rb +1 -1
  11. data/lib/sequenceserver/version.rb +1 -1
  12. data/public/css/sequenceserver.css +2 -1
  13. data/public/css/sequenceserver.min.css +1 -1
  14. data/public/js/error_modal.js +27 -29
  15. data/public/js/hit.js +14 -5
  16. data/public/js/query.js +31 -15
  17. data/public/js/report.js +13 -5
  18. data/public/js/search.js +4 -6
  19. data/public/js/sequence_modal.js +10 -5
  20. data/public/js/sidebar.js +2 -2
  21. data/public/sequenceserver-report.min.js +16 -16
  22. data/public/sequenceserver-search.min.js +1 -1
  23. data/spec/blast_versions/blast_2.2.30/import_spec_capybara_local_2.2.30.rb +10 -10
  24. data/spec/blast_versions/blast_2.2.31/import_spec_capybara_local_2.2.31.rb +10 -10
  25. data/spec/blast_versions/blast_2.3.0/import_spec_capybara_local_2.3.0.rb +10 -10
  26. data/spec/blast_versions/blast_2.4.0/import_spec_capybara_local_2.4.0.rb +10 -10
  27. data/spec/blast_versions/blast_2.5.0/import_spec_capybara_local_2.5.0.rb +10 -10
  28. data/spec/blast_versions/blast_2.6.0/import_spec_capybara_local_2.6.0.rb +10 -10
  29. data/spec/blast_versions/blast_2.7.1/import_spec_capybara_local_2.7.1.rb +10 -10
  30. data/spec/blast_versions/blast_2.8.1/import_spec_capybara_local_2.8.1.rb +10 -10
  31. data/spec/blast_versions/blast_2.9.0/import_spec_capybara_local_2.9.0.rb +10 -10
  32. data/spec/blast_versions/diamond_0.9.24/import_spec_capybara_local_0.9.24.rb +4 -4
  33. data/spec/capybara_spec.rb +11 -0
  34. data/spec/database/funky_ids/{funky_ids.fa.nhd → v4/funky_ids.fa.nhd} +0 -0
  35. data/spec/database/funky_ids/{funky_ids.fa.nhi → v4/funky_ids.fa.nhi} +0 -0
  36. data/spec/database/funky_ids/{funky_ids.fa.nhr → v4/funky_ids.fa.nhr} +0 -0
  37. data/spec/database/funky_ids/v4/funky_ids.fa.nin +0 -0
  38. data/spec/database/funky_ids/{funky_ids.fa.nog → v4/funky_ids.fa.nog} +0 -0
  39. data/spec/database/funky_ids/{funky_ids.fa.nsd → v4/funky_ids.fa.nsd} +0 -0
  40. data/spec/database/funky_ids/{funky_ids.fa.nsi → v4/funky_ids.fa.nsi} +0 -0
  41. data/spec/database/funky_ids/{funky_ids.fa.nsq → v4/funky_ids.fa.nsq} +0 -0
  42. data/spec/database/funky_ids/v5/funky_ids.fa.ndb +0 -0
  43. data/spec/database/funky_ids/v5/funky_ids.fa.nhd +8 -0
  44. data/spec/database/funky_ids/v5/funky_ids.fa.nhi +0 -0
  45. data/spec/database/funky_ids/v5/funky_ids.fa.nhr +0 -0
  46. data/spec/database/funky_ids/v5/funky_ids.fa.nin +0 -0
  47. data/spec/database/funky_ids/v5/funky_ids.fa.nog +0 -0
  48. data/spec/database/funky_ids/v5/funky_ids.fa.nos +0 -0
  49. data/spec/database/funky_ids/v5/funky_ids.fa.not +0 -0
  50. data/spec/database/funky_ids/v5/funky_ids.fa.nsq +0 -0
  51. data/spec/database/funky_ids/v5/funky_ids.fa.ntf +0 -0
  52. data/spec/database/funky_ids/v5/funky_ids.fa.nto +0 -0
  53. data/spec/database/sample/genome/Solenopsis_invicta/Solenopsis_invicta_gnG_subset.fasta.ndb +0 -0
  54. data/spec/database/sample/genome/Solenopsis_invicta/Solenopsis_invicta_gnG_subset.fasta.nhr +0 -0
  55. data/spec/database/sample/genome/Solenopsis_invicta/Solenopsis_invicta_gnG_subset.fasta.nin +0 -0
  56. data/spec/database/sample/genome/Solenopsis_invicta/Solenopsis_invicta_gnG_subset.fasta.nos +0 -0
  57. data/spec/database/sample/genome/Solenopsis_invicta/Solenopsis_invicta_gnG_subset.fasta.not +0 -0
  58. data/spec/database/sample/genome/Solenopsis_invicta/Solenopsis_invicta_gnG_subset.fasta.ntf +0 -0
  59. data/spec/database/sample/genome/Solenopsis_invicta/Solenopsis_invicta_gnG_subset.fasta.nto +0 -0
  60. data/spec/database/sample/proteins/Solenopsis_invicta/Sinvicta2-2-3.prot.subset.fasta.pdb +0 -0
  61. data/spec/database/sample/proteins/Solenopsis_invicta/Sinvicta2-2-3.prot.subset.fasta.phr +0 -0
  62. data/spec/database/sample/proteins/Solenopsis_invicta/Sinvicta2-2-3.prot.subset.fasta.pin +0 -0
  63. data/spec/database/sample/proteins/Solenopsis_invicta/Sinvicta2-2-3.prot.subset.fasta.pos +0 -0
  64. data/spec/database/sample/proteins/Solenopsis_invicta/Sinvicta2-2-3.prot.subset.fasta.pot +0 -0
  65. data/spec/database/sample/proteins/Solenopsis_invicta/Sinvicta2-2-3.prot.subset.fasta.ptf +0 -0
  66. data/spec/database/sample/proteins/Solenopsis_invicta/Sinvicta2-2-3.prot.subset.fasta.pto +0 -0
  67. data/spec/database/sample/proteins/uniprot/2018-04-Swiss-Prot_insecta.fasta.pdb +0 -0
  68. data/spec/database/sample/proteins/uniprot/2018-04-Swiss-Prot_insecta.fasta.phr +0 -0
  69. data/spec/database/sample/proteins/uniprot/2018-04-Swiss-Prot_insecta.fasta.pin +0 -0
  70. data/spec/database/sample/proteins/uniprot/2018-04-Swiss-Prot_insecta.fasta.pos +0 -0
  71. data/spec/database/sample/proteins/uniprot/2018-04-Swiss-Prot_insecta.fasta.pot +0 -0
  72. data/spec/database/sample/proteins/uniprot/2018-04-Swiss-Prot_insecta.fasta.ptf +0 -0
  73. data/spec/database/sample/proteins/uniprot/2018-04-Swiss-Prot_insecta.fasta.pto +0 -0
  74. data/spec/database/sample/transcripts/Solenopsis_invicta/Sinvicta2-2-3.cdna.subset.fasta.ndb +0 -0
  75. data/spec/database/sample/transcripts/Solenopsis_invicta/Sinvicta2-2-3.cdna.subset.fasta.nhr +0 -0
  76. data/spec/database/sample/transcripts/Solenopsis_invicta/Sinvicta2-2-3.cdna.subset.fasta.nin +0 -0
  77. data/spec/database/sample/transcripts/Solenopsis_invicta/Sinvicta2-2-3.cdna.subset.fasta.nos +0 -0
  78. data/spec/database/sample/transcripts/Solenopsis_invicta/Sinvicta2-2-3.cdna.subset.fasta.not +0 -0
  79. data/spec/database/sample/transcripts/Solenopsis_invicta/Sinvicta2-2-3.cdna.subset.fasta.nsq +0 -0
  80. data/spec/database/sample/transcripts/Solenopsis_invicta/Sinvicta2-2-3.cdna.subset.fasta.ntf +0 -0
  81. data/spec/database/sample/transcripts/Solenopsis_invicta/Sinvicta2-2-3.cdna.subset.fasta.nto +0 -0
  82. data/spec/database/v4/genome/Solenopsis_invicta/Solenopsis_invicta_gnG_subset.fasta.nhd +8 -0
  83. data/spec/database/v4/genome/Solenopsis_invicta/Solenopsis_invicta_gnG_subset.fasta.nhi +0 -0
  84. data/spec/database/v4/genome/Solenopsis_invicta/Solenopsis_invicta_gnG_subset.fasta.nhr +0 -0
  85. data/spec/database/v4/genome/Solenopsis_invicta/Solenopsis_invicta_gnG_subset.fasta.nin +0 -0
  86. data/spec/database/v4/genome/Solenopsis_invicta/Solenopsis_invicta_gnG_subset.fasta.nog +0 -0
  87. data/spec/database/{sample → v4}/genome/Solenopsis_invicta/Solenopsis_invicta_gnG_subset.fasta.nsd +0 -0
  88. data/spec/database/{sample → v4}/genome/Solenopsis_invicta/Solenopsis_invicta_gnG_subset.fasta.nsi +0 -0
  89. data/spec/database/v4/genome/Solenopsis_invicta/Solenopsis_invicta_gnG_subset.fasta.nsq +0 -0
  90. data/spec/database/v4/genome/Solenopsis_invicta/Solenopsis_invicta_gnG_subset.txt +8 -0
  91. data/spec/database/v4/links.rb +23 -0
  92. data/spec/database/v4/proteins/Solenopsis_invicta/Sinvicta2-2-3.prot.subset.fasta +6449 -0
  93. data/spec/database/v4/proteins/Solenopsis_invicta/Sinvicta2-2-3.prot.subset.fasta.phd +1189 -0
  94. data/spec/database/v4/proteins/Solenopsis_invicta/Sinvicta2-2-3.prot.subset.fasta.phi +0 -0
  95. data/spec/database/v4/proteins/Solenopsis_invicta/Sinvicta2-2-3.prot.subset.fasta.phr +0 -0
  96. data/spec/database/v4/proteins/Solenopsis_invicta/Sinvicta2-2-3.prot.subset.fasta.pin +0 -0
  97. data/spec/database/v4/proteins/Solenopsis_invicta/Sinvicta2-2-3.prot.subset.fasta.pog +0 -0
  98. data/spec/database/{sample → v4}/proteins/Solenopsis_invicta/Sinvicta2-2-3.prot.subset.fasta.psd +0 -0
  99. data/spec/database/{sample → v4}/proteins/Solenopsis_invicta/Sinvicta2-2-3.prot.subset.fasta.psi +0 -0
  100. data/spec/database/v4/proteins/Solenopsis_invicta/Sinvicta2-2-3.prot.subset.fasta.psq +0 -0
  101. data/spec/database/v4/proteins/uniprot/2018-04-Swiss-Prot_insecta.fasta.phd +9140 -0
  102. data/spec/database/v4/proteins/uniprot/2018-04-Swiss-Prot_insecta.fasta.phi +0 -0
  103. data/spec/database/v4/proteins/uniprot/2018-04-Swiss-Prot_insecta.fasta.phr +0 -0
  104. data/spec/database/v4/proteins/uniprot/2018-04-Swiss-Prot_insecta.fasta.pin +0 -0
  105. data/spec/database/v4/proteins/uniprot/2018-04-Swiss-Prot_insecta.fasta.pog +0 -0
  106. data/spec/database/{sample → v4}/proteins/uniprot/2018-04-Swiss-Prot_insecta.fasta.psd +0 -0
  107. data/spec/database/{sample → v4}/proteins/uniprot/2018-04-Swiss-Prot_insecta.fasta.psi +0 -0
  108. data/spec/database/v4/proteins/uniprot/2018-04-Swiss-Prot_insecta.fasta.psq +0 -0
  109. data/spec/database/v4/proteins/uniprot/URL +1 -0
  110. data/spec/database/v4/si_uniprot_idmap.yml +14180 -0
  111. data/spec/database/v4/transcripts/Solenopsis_invicta/Sinvicta2-2-3.cdna.subset.fasta +5486 -0
  112. data/spec/database/v4/transcripts/Solenopsis_invicta/Sinvicta2-2-3.cdna.subset.fasta.nhd +473 -0
  113. data/spec/database/v4/transcripts/Solenopsis_invicta/Sinvicta2-2-3.cdna.subset.fasta.nhi +0 -0
  114. data/spec/database/v4/transcripts/Solenopsis_invicta/Sinvicta2-2-3.cdna.subset.fasta.nhr +0 -0
  115. data/spec/database/v4/transcripts/Solenopsis_invicta/Sinvicta2-2-3.cdna.subset.fasta.nin +0 -0
  116. data/spec/database/v4/transcripts/Solenopsis_invicta/Sinvicta2-2-3.cdna.subset.fasta.nog +0 -0
  117. data/spec/database/{sample → v4}/transcripts/Solenopsis_invicta/Sinvicta2-2-3.cdna.subset.fasta.nsd +0 -0
  118. data/spec/database/{sample → v4}/transcripts/Solenopsis_invicta/Sinvicta2-2-3.cdna.subset.fasta.nsi +0 -0
  119. data/spec/database/v4/transcripts/Solenopsis_invicta/Sinvicta2-2-3.cdna.subset.fasta.nsq +0 -0
  120. data/spec/database_spec.rb +0 -76
  121. data/spec/makeblastdb_spec.rb +121 -0
  122. data/spec/sequence_spec.rb +2 -3
  123. data/views/layout.erb +4 -0
  124. metadata +86 -21
  125. data/spec/database/funky_ids/funky_ids.fa.nin +0 -0
@@ -85,7 +85,7 @@ describe 'report generated from imported XML', type: :feature, js: true do
85
85
  # right format.
86
86
 
87
87
  page.should have_content('Queries and their top hits: chord diagram')
88
- page.execute_script("$('.circos > .grapher-header > h5').click()")
88
+ page.execute_script("$('.circos > .grapher-header > h4').click()")
89
89
  sleep 1
90
90
 
91
91
  page.execute_script("$('.export-to-png:eq(0)').click()")
@@ -107,7 +107,7 @@ describe 'report generated from imported XML', type: :feature, js: true do
107
107
  # download in a right format.
108
108
 
109
109
  page.should have_content('Length distribution of hits')
110
- page.execute_script("$('.length-distribution > .grapher-header > h5').click()")
110
+ page.execute_script("$('.length-distribution > .grapher-header > h4').click()")
111
111
  sleep 1
112
112
 
113
113
  page.execute_script("$('.export-to-png:eq(1)').click()")
@@ -201,7 +201,7 @@ describe 'report generated from imported XML', type: :feature, js: true do
201
201
  # right format.
202
202
 
203
203
  page.should have_content('Queries and their top hits: chord diagram')
204
- page.execute_script("$('.circos > .grapher-header > h5').click()")
204
+ page.execute_script("$('.circos > .grapher-header > h4').click()")
205
205
  sleep 1
206
206
 
207
207
  page.execute_script("$('.export-to-png:eq(0)').click()")
@@ -221,7 +221,7 @@ describe 'report generated from imported XML', type: :feature, js: true do
221
221
  # download in a right format.
222
222
 
223
223
  page.should have_content('Length distribution of hits')
224
- page.execute_script("$('.length-distribution > .grapher-header > h5').click()")
224
+ page.execute_script("$('.length-distribution > .grapher-header > h4').click()")
225
225
  sleep 1
226
226
 
227
227
  page.execute_script("$('.export-to-png:eq(1)').click()")
@@ -315,7 +315,7 @@ describe 'report generated from imported XML', type: :feature, js: true do
315
315
  # right format.
316
316
 
317
317
  page.should have_content('Queries and their top hits: chord diagram')
318
- page.execute_script("$('.circos > .grapher-header > h5').click()")
318
+ page.execute_script("$('.circos > .grapher-header > h4').click()")
319
319
  sleep 1
320
320
 
321
321
  page.execute_script("$('.export-to-png:eq(0)').click()")
@@ -335,7 +335,7 @@ describe 'report generated from imported XML', type: :feature, js: true do
335
335
  # download in a right format.
336
336
 
337
337
  page.should have_content('Length distribution of hits')
338
- page.execute_script("$('.length-distribution > .grapher-header > h5').click()")
338
+ page.execute_script("$('.length-distribution > .grapher-header > h4').click()")
339
339
  sleep 1
340
340
 
341
341
  page.execute_script("$('.export-to-png:eq(1)').click()")
@@ -426,7 +426,7 @@ describe 'report generated from imported XML', type: :feature, js: true do
426
426
  # right format.
427
427
 
428
428
  page.should have_content('Queries and their top hits: chord diagram')
429
- page.execute_script("$('.circos > .grapher-header > h5').click()")
429
+ page.execute_script("$('.circos > .grapher-header > h4').click()")
430
430
  sleep 1
431
431
 
432
432
  page.execute_script("$('.export-to-png:eq(0)').click()")
@@ -447,7 +447,7 @@ describe 'report generated from imported XML', type: :feature, js: true do
447
447
  # download in a right format.
448
448
 
449
449
  page.should have_content('Length distribution of hits')
450
- page.execute_script("$('.length-distribution > .grapher-header > h5').click()")
450
+ page.execute_script("$('.length-distribution > .grapher-header > h4').click()")
451
451
  sleep 1
452
452
 
453
453
  page.execute_script("$('.export-to-png:eq(1)').click()")
@@ -541,7 +541,7 @@ describe 'report generated from imported XML', type: :feature, js: true do
541
541
  # right format.
542
542
 
543
543
  page.should have_content('Queries and their top hits: chord diagram')
544
- page.execute_script("$('.circos > .grapher-header > h5').click()")
544
+ page.execute_script("$('.circos > .grapher-header > h4').click()")
545
545
  sleep 1
546
546
 
547
547
  page.execute_script("$('.export-to-png:eq(0)').click()")
@@ -562,7 +562,7 @@ describe 'report generated from imported XML', type: :feature, js: true do
562
562
  # download in a right format.
563
563
 
564
564
  page.should have_content('Length distribution of hits')
565
- page.execute_script("$('.length-distribution > .grapher-header > h5').click()")
565
+ page.execute_script("$('.length-distribution > .grapher-header > h4').click()")
566
566
  sleep 1
567
567
 
568
568
  page.execute_script("$('.export-to-png:eq(1)').click()")
@@ -85,7 +85,7 @@ describe 'report generated from imported XML', type: :feature, js: true do
85
85
  # right format.
86
86
 
87
87
  page.should have_content('Queries and their top hits: chord diagram')
88
- page.execute_script("$('.circos > .grapher-header > h5').click()")
88
+ page.execute_script("$('.circos > .grapher-header > h4').click()")
89
89
  sleep 1
90
90
 
91
91
  page.execute_script("$('.export-to-png:eq(0)').click()")
@@ -107,7 +107,7 @@ describe 'report generated from imported XML', type: :feature, js: true do
107
107
  # download in a right format.
108
108
 
109
109
  page.should have_content('Length distribution of hits')
110
- page.execute_script("$('.length-distribution > .grapher-header > h5').click()")
110
+ page.execute_script("$('.length-distribution > .grapher-header > h4').click()")
111
111
  sleep 1
112
112
 
113
113
  page.execute_script("$('.export-to-png:eq(1)').click()")
@@ -201,7 +201,7 @@ describe 'report generated from imported XML', type: :feature, js: true do
201
201
  # right format.
202
202
 
203
203
  page.should have_content('Queries and their top hits: chord diagram')
204
- page.execute_script("$('.circos > .grapher-header > h5').click()")
204
+ page.execute_script("$('.circos > .grapher-header > h4').click()")
205
205
  sleep 1
206
206
 
207
207
  page.execute_script("$('.export-to-png:eq(0)').click()")
@@ -221,7 +221,7 @@ describe 'report generated from imported XML', type: :feature, js: true do
221
221
  # download in a right format.
222
222
 
223
223
  page.should have_content('Length distribution of hits')
224
- page.execute_script("$('.length-distribution > .grapher-header > h5').click()")
224
+ page.execute_script("$('.length-distribution > .grapher-header > h4').click()")
225
225
  sleep 1
226
226
 
227
227
  page.execute_script("$('.export-to-png:eq(1)').click()")
@@ -315,7 +315,7 @@ describe 'report generated from imported XML', type: :feature, js: true do
315
315
  # right format.
316
316
 
317
317
  page.should have_content('Queries and their top hits: chord diagram')
318
- page.execute_script("$('.circos > .grapher-header > h5').click()")
318
+ page.execute_script("$('.circos > .grapher-header > h4').click()")
319
319
  sleep 1
320
320
 
321
321
  page.execute_script("$('.export-to-png:eq(0)').click()")
@@ -335,7 +335,7 @@ describe 'report generated from imported XML', type: :feature, js: true do
335
335
  # download in a right format.
336
336
 
337
337
  page.should have_content('Length distribution of hits')
338
- page.execute_script("$('.length-distribution > .grapher-header > h5').click()")
338
+ page.execute_script("$('.length-distribution > .grapher-header > h4').click()")
339
339
  sleep 1
340
340
 
341
341
  page.execute_script("$('.export-to-png:eq(1)').click()")
@@ -426,7 +426,7 @@ describe 'report generated from imported XML', type: :feature, js: true do
426
426
  # right format.
427
427
 
428
428
  page.should have_content('Queries and their top hits: chord diagram')
429
- page.execute_script("$('.circos > .grapher-header > h5').click()")
429
+ page.execute_script("$('.circos > .grapher-header > h4').click()")
430
430
  sleep 1
431
431
 
432
432
  page.execute_script("$('.export-to-png:eq(0)').click()")
@@ -447,7 +447,7 @@ describe 'report generated from imported XML', type: :feature, js: true do
447
447
  # download in a right format.
448
448
 
449
449
  page.should have_content('Length distribution of hits')
450
- page.execute_script("$('.length-distribution > .grapher-header > h5').click()")
450
+ page.execute_script("$('.length-distribution > .grapher-header > h4').click()")
451
451
  sleep 1
452
452
 
453
453
  page.execute_script("$('.export-to-png:eq(1)').click()")
@@ -541,7 +541,7 @@ describe 'report generated from imported XML', type: :feature, js: true do
541
541
  # right format.
542
542
 
543
543
  page.should have_content('Queries and their top hits: chord diagram')
544
- page.execute_script("$('.circos > .grapher-header > h5').click()")
544
+ page.execute_script("$('.circos > .grapher-header > h4').click()")
545
545
  sleep 1
546
546
 
547
547
  page.execute_script("$('.export-to-png:eq(0)').click()")
@@ -562,7 +562,7 @@ describe 'report generated from imported XML', type: :feature, js: true do
562
562
  # download in a right format.
563
563
 
564
564
  page.should have_content('Length distribution of hits')
565
- page.execute_script("$('.length-distribution > .grapher-header > h5').click()")
565
+ page.execute_script("$('.length-distribution > .grapher-header > h4').click()")
566
566
  sleep 1
567
567
 
568
568
  page.execute_script("$('.export-to-png:eq(1)').click()")
@@ -82,7 +82,7 @@ describe 'report generated from imported XML', type: :feature, js: true do
82
82
  # download of PNG/SVG file and test that it initiated a file download in a
83
83
  # right format.
84
84
  page.should have_content('Queries and their top hits: chord diagram')
85
- page.execute_script("$('.circos > .grapher-header > h5').click()")
85
+ page.execute_script("$('.circos > .grapher-header > h4').click()")
86
86
  sleep 1
87
87
 
88
88
  page.execute_script("$('.export-to-png:eq(0)').click()")
@@ -102,7 +102,7 @@ describe 'report generated from imported XML', type: :feature, js: true do
102
102
  # click on the download of PNG/SVG file and test that it initiated a file
103
103
  # download in a right format.
104
104
  page.should have_content('Length distribution of hits')
105
- page.execute_script("$('.length-distribution > .grapher-header > h5').click()")
105
+ page.execute_script("$('.length-distribution > .grapher-header > h4').click()")
106
106
  sleep 1
107
107
 
108
108
  page.execute_script("$('.export-to-png:eq(1)').click()")
@@ -193,7 +193,7 @@ describe 'report generated from imported XML', type: :feature, js: true do
193
193
  # right format.
194
194
 
195
195
  page.should have_content('Queries and their top hits: chord diagram')
196
- page.execute_script("$('.circos > .grapher-header > h5').click()")
196
+ page.execute_script("$('.circos > .grapher-header > h4').click()")
197
197
  sleep 1
198
198
 
199
199
  page.execute_script("$('.export-to-png:eq(0)').click()")
@@ -213,7 +213,7 @@ describe 'report generated from imported XML', type: :feature, js: true do
213
213
  # download in a right format.
214
214
 
215
215
  page.should have_content('Length distribution of hits')
216
- page.execute_script("$('.length-distribution > .grapher-header > h5').click()")
216
+ page.execute_script("$('.length-distribution > .grapher-header > h4').click()")
217
217
  sleep 1
218
218
 
219
219
  page.execute_script("$('.export-to-png:eq(1)').click()")
@@ -310,7 +310,7 @@ describe 'report generated from imported XML', type: :feature, js: true do
310
310
  # right format.
311
311
 
312
312
  page.should have_content('Queries and their top hits: chord diagram')
313
- page.execute_script("$('.circos > .grapher-header > h5').click()")
313
+ page.execute_script("$('.circos > .grapher-header > h4').click()")
314
314
  sleep 1
315
315
 
316
316
  page.execute_script("$('.export-to-png:eq(0)').click()")
@@ -330,7 +330,7 @@ describe 'report generated from imported XML', type: :feature, js: true do
330
330
  # download in a right format.
331
331
 
332
332
  page.should have_content('Length distribution of hits')
333
- page.execute_script("$('.length-distribution > .grapher-header > h5').click()")
333
+ page.execute_script("$('.length-distribution > .grapher-header > h4').click()")
334
334
  sleep 1
335
335
  page.execute_script("$('.export-to-png:eq(1)').click()")
336
336
  wait_for_download
@@ -424,7 +424,7 @@ describe 'report generated from imported XML', type: :feature, js: true do
424
424
  # right format.
425
425
 
426
426
  page.should have_content('Queries and their top hits: chord diagram')
427
- page.execute_script("$('.circos > .grapher-header > h5').click()")
427
+ page.execute_script("$('.circos > .grapher-header > h4').click()")
428
428
  sleep 1
429
429
 
430
430
  page.execute_script("$('.export-to-png:eq(0)').click()")
@@ -445,7 +445,7 @@ describe 'report generated from imported XML', type: :feature, js: true do
445
445
  # download in a right format.
446
446
 
447
447
  page.should have_content('Length distribution of hits')
448
- page.execute_script("$('.length-distribution > .grapher-header > h5').click()")
448
+ page.execute_script("$('.length-distribution > .grapher-header > h4').click()")
449
449
  sleep 1
450
450
 
451
451
  page.execute_script("$('.export-to-png:eq(1)').click()")
@@ -542,7 +542,7 @@ describe 'report generated from imported XML', type: :feature, js: true do
542
542
  # right format.
543
543
 
544
544
  page.should have_content('Queries and their top hits: chord diagram')
545
- page.execute_script("$('.circos > .grapher-header > h5').click()")
545
+ page.execute_script("$('.circos > .grapher-header > h4').click()")
546
546
  sleep 1
547
547
 
548
548
  page.execute_script("$('.export-to-png:eq(0)').click()")
@@ -563,7 +563,7 @@ describe 'report generated from imported XML', type: :feature, js: true do
563
563
  # download in a right format.
564
564
 
565
565
  page.should have_content('Length distribution of hits')
566
- page.execute_script("$('.length-distribution > .grapher-header > h5').click()")
566
+ page.execute_script("$('.length-distribution > .grapher-header > h4').click()")
567
567
  sleep 1
568
568
 
569
569
  page.execute_script("$('.export-to-png:eq(1)').click()")
@@ -85,7 +85,7 @@ describe 'report generated from imported XML', type: :feature, js: true do
85
85
  # right format.
86
86
 
87
87
  page.should have_content('Queries and their top hits: chord diagram')
88
- page.execute_script("$('.circos > .grapher-header > h5').click()")
88
+ page.execute_script("$('.circos > .grapher-header > h4').click()")
89
89
  sleep 1
90
90
 
91
91
  page.execute_script("$('.export-to-png:eq(0)').click()")
@@ -107,7 +107,7 @@ describe 'report generated from imported XML', type: :feature, js: true do
107
107
  # download in a right format.
108
108
 
109
109
  page.should have_content('Length distribution of hits')
110
- page.execute_script("$('.length-distribution > .grapher-header > h5').click()")
110
+ page.execute_script("$('.length-distribution > .grapher-header > h4').click()")
111
111
  sleep 1
112
112
 
113
113
  page.execute_script("$('.export-to-png:eq(1)').click()")
@@ -201,7 +201,7 @@ describe 'report generated from imported XML', type: :feature, js: true do
201
201
  # right format.
202
202
 
203
203
  page.should have_content('Queries and their top hits: chord diagram')
204
- page.execute_script("$('.circos > .grapher-header > h5').click()")
204
+ page.execute_script("$('.circos > .grapher-header > h4').click()")
205
205
  sleep 1
206
206
 
207
207
  page.execute_script("$('.export-to-png:eq(0)').click()")
@@ -221,7 +221,7 @@ describe 'report generated from imported XML', type: :feature, js: true do
221
221
  # download in a right format.
222
222
 
223
223
  page.should have_content('Length distribution of hits')
224
- page.execute_script("$('.length-distribution > .grapher-header > h5').click()")
224
+ page.execute_script("$('.length-distribution > .grapher-header > h4').click()")
225
225
  sleep 1
226
226
 
227
227
  page.execute_script("$('.export-to-png:eq(1)').click()")
@@ -315,7 +315,7 @@ describe 'report generated from imported XML', type: :feature, js: true do
315
315
  # right format.
316
316
 
317
317
  page.should have_content('Queries and their top hits: chord diagram')
318
- page.execute_script("$('.circos > .grapher-header > h5').click()")
318
+ page.execute_script("$('.circos > .grapher-header > h4').click()")
319
319
  sleep 1
320
320
 
321
321
  page.execute_script("$('.export-to-png:eq(0)').click()")
@@ -335,7 +335,7 @@ describe 'report generated from imported XML', type: :feature, js: true do
335
335
  # download in a right format.
336
336
 
337
337
  page.should have_content('Length distribution of hits')
338
- page.execute_script("$('.length-distribution > .grapher-header > h5').click()")
338
+ page.execute_script("$('.length-distribution > .grapher-header > h4').click()")
339
339
  sleep 1
340
340
 
341
341
  page.execute_script("$('.export-to-png:eq(1)').click()")
@@ -426,7 +426,7 @@ describe 'report generated from imported XML', type: :feature, js: true do
426
426
  # right format.
427
427
 
428
428
  page.should have_content('Queries and their top hits: chord diagram')
429
- page.execute_script("$('.circos > .grapher-header > h5').click()")
429
+ page.execute_script("$('.circos > .grapher-header > h4').click()")
430
430
  sleep 1
431
431
 
432
432
  page.execute_script("$('.export-to-png:eq(0)').click()")
@@ -447,7 +447,7 @@ describe 'report generated from imported XML', type: :feature, js: true do
447
447
  # download in a right format.
448
448
 
449
449
  page.should have_content('Length distribution of hits')
450
- page.execute_script("$('.length-distribution > .grapher-header > h5').click()")
450
+ page.execute_script("$('.length-distribution > .grapher-header > h4').click()")
451
451
  sleep 1
452
452
 
453
453
  page.execute_script("$('.export-to-png:eq(1)').click()")
@@ -541,7 +541,7 @@ describe 'report generated from imported XML', type: :feature, js: true do
541
541
  # right format.
542
542
 
543
543
  page.should have_content('Queries and their top hits: chord diagram')
544
- page.execute_script("$('.circos > .grapher-header > h5').click()")
544
+ page.execute_script("$('.circos > .grapher-header > h4').click()")
545
545
  sleep 1
546
546
 
547
547
  page.execute_script("$('.export-to-png:eq(0)').click()")
@@ -562,7 +562,7 @@ describe 'report generated from imported XML', type: :feature, js: true do
562
562
  # download in a right format.
563
563
 
564
564
  page.should have_content('Length distribution of hits')
565
- page.execute_script("$('.length-distribution > .grapher-header > h5').click()")
565
+ page.execute_script("$('.length-distribution > .grapher-header > h4').click()")
566
566
  sleep 1
567
567
 
568
568
  page.execute_script("$('.export-to-png:eq(1)').click()")
@@ -85,7 +85,7 @@ describe 'report generated from imported XML', type: :feature, js: true do
85
85
  # right format.
86
86
 
87
87
  page.should have_content('Queries and their top hits: chord diagram')
88
- page.execute_script("$('.circos > .grapher-header > h5').click()")
88
+ page.execute_script("$('.circos > .grapher-header > h4').click()")
89
89
  sleep 1
90
90
 
91
91
  page.execute_script("$('.export-to-png:eq(0)').click()")
@@ -107,7 +107,7 @@ describe 'report generated from imported XML', type: :feature, js: true do
107
107
  # download in a right format.
108
108
 
109
109
  page.should have_content('Length distribution of hits')
110
- page.execute_script("$('.length-distribution > .grapher-header > h5').click()")
110
+ page.execute_script("$('.length-distribution > .grapher-header > h4').click()")
111
111
  sleep 1
112
112
 
113
113
  page.execute_script("$('.export-to-png:eq(1)').click()")
@@ -201,7 +201,7 @@ describe 'report generated from imported XML', type: :feature, js: true do
201
201
  # right format.
202
202
 
203
203
  page.should have_content('Queries and their top hits: chord diagram')
204
- page.execute_script("$('.circos > .grapher-header > h5').click()")
204
+ page.execute_script("$('.circos > .grapher-header > h4').click()")
205
205
  sleep 1
206
206
 
207
207
  page.execute_script("$('.export-to-png:eq(0)').click()")
@@ -221,7 +221,7 @@ describe 'report generated from imported XML', type: :feature, js: true do
221
221
  # download in a right format.
222
222
 
223
223
  page.should have_content('Length distribution of hits')
224
- page.execute_script("$('.length-distribution > .grapher-header > h5').click()")
224
+ page.execute_script("$('.length-distribution > .grapher-header > h4').click()")
225
225
  sleep 1
226
226
 
227
227
  page.execute_script("$('.export-to-png:eq(1)').click()")
@@ -315,7 +315,7 @@ describe 'report generated from imported XML', type: :feature, js: true do
315
315
  # right format.
316
316
 
317
317
  page.should have_content('Queries and their top hits: chord diagram')
318
- page.execute_script("$('.circos > .grapher-header > h5').click()")
318
+ page.execute_script("$('.circos > .grapher-header > h4').click()")
319
319
  sleep 1
320
320
 
321
321
  page.execute_script("$('.export-to-png:eq(0)').click()")
@@ -335,7 +335,7 @@ describe 'report generated from imported XML', type: :feature, js: true do
335
335
  # download in a right format.
336
336
 
337
337
  page.should have_content('Length distribution of hits')
338
- page.execute_script("$('.length-distribution > .grapher-header > h5').click()")
338
+ page.execute_script("$('.length-distribution > .grapher-header > h4').click()")
339
339
  sleep 1
340
340
 
341
341
  page.execute_script("$('.export-to-png:eq(1)').click()")
@@ -426,7 +426,7 @@ describe 'report generated from imported XML', type: :feature, js: true do
426
426
  # right format.
427
427
 
428
428
  page.should have_content('Queries and their top hits: chord diagram')
429
- page.execute_script("$('.circos > .grapher-header > h5').click()")
429
+ page.execute_script("$('.circos > .grapher-header > h4').click()")
430
430
  sleep 1
431
431
 
432
432
  page.execute_script("$('.export-to-png:eq(0)').click()")
@@ -447,7 +447,7 @@ describe 'report generated from imported XML', type: :feature, js: true do
447
447
  # download in a right format.
448
448
 
449
449
  page.should have_content('Length distribution of hits')
450
- page.execute_script("$('.length-distribution > .grapher-header > h5').click()")
450
+ page.execute_script("$('.length-distribution > .grapher-header > h4').click()")
451
451
  sleep 1
452
452
 
453
453
  page.execute_script("$('.export-to-png:eq(1)').click()")
@@ -541,7 +541,7 @@ describe 'report generated from imported XML', type: :feature, js: true do
541
541
  # right format.
542
542
 
543
543
  page.should have_content('Queries and their top hits: chord diagram')
544
- page.execute_script("$('.circos > .grapher-header > h5').click()")
544
+ page.execute_script("$('.circos > .grapher-header > h4').click()")
545
545
  sleep 1
546
546
 
547
547
  page.execute_script("$('.export-to-png:eq(0)').click()")
@@ -562,7 +562,7 @@ describe 'report generated from imported XML', type: :feature, js: true do
562
562
  # download in a right format.
563
563
 
564
564
  page.should have_content('Length distribution of hits')
565
- page.execute_script("$('.length-distribution > .grapher-header > h5').click()")
565
+ page.execute_script("$('.length-distribution > .grapher-header > h4').click()")
566
566
  sleep 1
567
567
 
568
568
  page.execute_script("$('.export-to-png:eq(1)').click()")
@@ -85,7 +85,7 @@ describe 'report generated from imported XML', type: :feature, js: true do
85
85
  # right format.
86
86
 
87
87
  page.should have_content('Queries and their top hits: chord diagram')
88
- page.execute_script("$('.circos > .grapher-header > h5').click()")
88
+ page.execute_script("$('.circos > .grapher-header > h4').click()")
89
89
  sleep 1
90
90
 
91
91
  page.execute_script("$('.export-to-png:eq(0)').click()")
@@ -107,7 +107,7 @@ describe 'report generated from imported XML', type: :feature, js: true do
107
107
  # download in a right format.
108
108
 
109
109
  page.should have_content('Length distribution of hits')
110
- page.execute_script("$('.length-distribution > .grapher-header > h5').click()")
110
+ page.execute_script("$('.length-distribution > .grapher-header > h4').click()")
111
111
  sleep 1
112
112
 
113
113
  page.execute_script("$('.export-to-png:eq(1)').click()")
@@ -201,7 +201,7 @@ describe 'report generated from imported XML', type: :feature, js: true do
201
201
  # right format.
202
202
 
203
203
  page.should have_content('Queries and their top hits: chord diagram')
204
- page.execute_script("$('.circos > .grapher-header > h5').click()")
204
+ page.execute_script("$('.circos > .grapher-header > h4').click()")
205
205
  sleep 1
206
206
 
207
207
  page.execute_script("$('.export-to-png:eq(0)').click()")
@@ -221,7 +221,7 @@ describe 'report generated from imported XML', type: :feature, js: true do
221
221
  # download in a right format.
222
222
 
223
223
  page.should have_content('Length distribution of hits')
224
- page.execute_script("$('.length-distribution > .grapher-header > h5').click()")
224
+ page.execute_script("$('.length-distribution > .grapher-header > h4').click()")
225
225
  sleep 1
226
226
 
227
227
  page.execute_script("$('.export-to-png:eq(1)').click()")
@@ -315,7 +315,7 @@ describe 'report generated from imported XML', type: :feature, js: true do
315
315
  # right format.
316
316
 
317
317
  page.should have_content('Queries and their top hits: chord diagram')
318
- page.execute_script("$('.circos > .grapher-header > h5').click()")
318
+ page.execute_script("$('.circos > .grapher-header > h4').click()")
319
319
  sleep 1
320
320
 
321
321
  page.execute_script("$('.export-to-png:eq(0)').click()")
@@ -335,7 +335,7 @@ describe 'report generated from imported XML', type: :feature, js: true do
335
335
  # download in a right format.
336
336
 
337
337
  page.should have_content('Length distribution of hits')
338
- page.execute_script("$('.length-distribution > .grapher-header > h5').click()")
338
+ page.execute_script("$('.length-distribution > .grapher-header > h4').click()")
339
339
  sleep 1
340
340
 
341
341
  page.execute_script("$('.export-to-png:eq(1)').click()")
@@ -426,7 +426,7 @@ describe 'report generated from imported XML', type: :feature, js: true do
426
426
  # right format.
427
427
 
428
428
  page.should have_content('Queries and their top hits: chord diagram')
429
- page.execute_script("$('.circos > .grapher-header > h5').click()")
429
+ page.execute_script("$('.circos > .grapher-header > h4').click()")
430
430
  sleep 1
431
431
 
432
432
  page.execute_script("$('.export-to-png:eq(0)').click()")
@@ -447,7 +447,7 @@ describe 'report generated from imported XML', type: :feature, js: true do
447
447
  # download in a right format.
448
448
 
449
449
  page.should have_content('Length distribution of hits')
450
- page.execute_script("$('.length-distribution > .grapher-header > h5').click()")
450
+ page.execute_script("$('.length-distribution > .grapher-header > h4').click()")
451
451
  sleep 1
452
452
 
453
453
  page.execute_script("$('.export-to-png:eq(1)').click()")
@@ -541,7 +541,7 @@ describe 'report generated from imported XML', type: :feature, js: true do
541
541
  # right format.
542
542
 
543
543
  page.should have_content('Queries and their top hits: chord diagram')
544
- page.execute_script("$('.circos > .grapher-header > h5').click()")
544
+ page.execute_script("$('.circos > .grapher-header > h4').click()")
545
545
  sleep 1
546
546
 
547
547
  page.execute_script("$('.export-to-png:eq(0)').click()")
@@ -562,7 +562,7 @@ describe 'report generated from imported XML', type: :feature, js: true do
562
562
  # download in a right format.
563
563
 
564
564
  page.should have_content('Length distribution of hits')
565
- page.execute_script("$('.length-distribution > .grapher-header > h5').click()")
565
+ page.execute_script("$('.length-distribution > .grapher-header > h4').click()")
566
566
  sleep 1
567
567
 
568
568
  page.execute_script("$('.export-to-png:eq(1)').click()")