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
@@ -16,44 +16,6 @@ module SequenceServer
16
16
  File.join(database_dir, 'sample')
17
17
  end
18
18
 
19
- let 'database_dir_unformatted' do
20
- File.join(database_dir, 'unformatted')
21
- end
22
-
23
- let 'fasta_file_prot_seqs' do
24
- File.join(database_dir_sample, 'proteins', 'Solenopsis_invicta',
25
- 'Sinvicta2-2-3.prot.subset.fasta')
26
- end
27
-
28
- let 'fasta_file_nucl_seqs' do
29
- File.join(database_dir_sample, 'transcripts', 'Solenopsis_invicta',
30
- 'Sinvicta2-2-3.cdna.subset.fasta')
31
- end
32
-
33
- let 'text_file' do
34
- File.join(database_dir_sample, 'links.rb')
35
- end
36
-
37
- let 'binary_file' do
38
- File.join(database_dir_sample, 'proteins', 'Solenopsis_invicta',
39
- 'Sinvicta2-2-3.prot.subset.fasta.phr')
40
- end
41
-
42
- let 'data_for_makeblastdb' do
43
- [
44
- File.join(database_dir_unformatted, 'Cardiocondyla_obscurior',
45
- 'Cobs1.4.proteins.fa'),
46
- :protein,
47
- 'Cobs 1.4 proteins',
48
- true
49
- ]
50
- end
51
-
52
- let 'makeblastdb_result_pattern' do
53
- File.join(database_dir_unformatted, 'Cardiocondyla_obscurior',
54
- 'Cobs1.4.proteins.fa.*')
55
- end
56
-
57
19
  before do
58
20
  SequenceServer.init
59
21
  end
@@ -64,20 +26,6 @@ module SequenceServer
64
26
  Database.clear
65
27
  end
66
28
 
67
- it 'can tell FASTA file' do
68
- Database.probably_fasta?(text_file).should be_falsey
69
- Database.probably_fasta?(binary_file).should be_falsey
70
- Database.probably_fasta?(fasta_file_prot_seqs).should be_truthy
71
- Database.probably_fasta?(fasta_file_nucl_seqs).should be_truthy
72
- end
73
-
74
- it 'can tell type of sequences in FASTA file' do
75
- Database.guess_sequence_type_in_fasta(fasta_file_prot_seqs)
76
- .should eq :protein
77
- Database.guess_sequence_type_in_fasta(fasta_file_nucl_seqs)
78
- .should eq :nucleotide
79
- end
80
-
81
29
  it 'can tell NCBI multipart database name' do
82
30
  sample_name1 = '/home/ben/pd.ben/sequenceserver/db/nr'
83
31
  sample_name2 = '/home/ben/pd.ben/sequenceserver/db/nr.00'
@@ -87,30 +35,6 @@ module SequenceServer
87
35
  Database.multipart_database_name?(sample_name3).should be_truthy
88
36
  end
89
37
 
90
- it 'can tell FASTA files that are yet to be made into a BLAST+ database' do
91
- SequenceServer.config[:database_dir] = database_dir_unformatted
92
- # rubocop:disable Style/RescueModifier
93
- Database.scan_databases_dir rescue NO_BLAST_DATABASE_FOUND
94
- # rubocop:enable Style/RescueModifier
95
- Database.unformatted_fastas.should_not be_empty
96
- end
97
-
98
- # it 'can make BLAST+ database from a FASTA file' do
99
- # Database._make_blast_database(*data_for_makeblastdb).should be_truthy
100
- # system "rm #{makeblastdb_result_pattern}"
101
- # end
102
-
103
- it 'can make intelligent database name suggestions' do
104
- db_name_pairs = [['Si_gnf.fasta', 'Si gnf'],
105
- ['Aech.3.8.cds.fasta', 'Aech 3.8 cds'],
106
- ['Cobs1.4.proteins.fasta', 'Cobs 1.4 proteins'],
107
- ['S_inv.x.small.2.5.nucl.fa', 'S inv x small 2.5 nucl'],
108
- ['Sinvicta2-2-3.prot.fasta', 'Sinvicta 2-2-3 prot']]
109
- db_name_pairs.each do |db|
110
- Database.make_db_title(db[0]).should eql(db[1])
111
- end
112
- end
113
-
114
38
  let 'solenopsis_protein_database' do
115
39
  path = 'spec/database/sample/proteins/Solenopsis_invicta/'\
116
40
  'Sinvicta2-2-3.prot.subset.fasta'
@@ -0,0 +1,121 @@
1
+ require 'spec_helper'
2
+ require 'sequenceserver/database'
3
+
4
+ # Test Database class.
5
+ module SequenceServer
6
+ describe 'Database' do
7
+ let 'root' do
8
+ __dir__
9
+ end
10
+
11
+ let 'makeblastdb' do
12
+ SequenceServer.makeblastdb
13
+ end
14
+
15
+ let 'database_dir' do
16
+ File.join(root, 'database')
17
+ end
18
+
19
+ let 'database_dir_sample' do
20
+ File.join(database_dir, 'sample')
21
+ end
22
+
23
+ let 'database_dir_v4' do
24
+ File.join(database_dir, 'v4')
25
+ end
26
+
27
+ let 'database_dir_unformatted' do
28
+ File.join(database_dir, 'unformatted')
29
+ end
30
+
31
+ let 'database_dir_without_parse_seqids' do
32
+ File.join(database_dir, 'without_parse_seqids')
33
+ end
34
+
35
+ let 'fasta_file_prot_seqs' do
36
+ File.join(database_dir_sample, 'proteins', 'Solenopsis_invicta',
37
+ 'Sinvicta2-2-3.prot.subset.fasta')
38
+ end
39
+
40
+ let 'fasta_file_nucl_seqs' do
41
+ File.join(database_dir_sample, 'transcripts', 'Solenopsis_invicta',
42
+ 'Sinvicta2-2-3.cdna.subset.fasta')
43
+ end
44
+
45
+ let 'text_file' do
46
+ File.join(database_dir_sample, 'links.rb')
47
+ end
48
+
49
+ let 'binary_file' do
50
+ File.join(database_dir_sample, 'proteins', 'Solenopsis_invicta',
51
+ 'Sinvicta2-2-3.prot.subset.fasta.phr')
52
+ end
53
+
54
+ let 'data_for_makeblastdb' do
55
+ [
56
+ File.join(database_dir_unformatted, 'Cardiocondyla_obscurior',
57
+ 'Cobs1.4.proteins.fa'),
58
+ :protein,
59
+ 'Cobs 1.4 proteins',
60
+ true
61
+ ]
62
+ end
63
+
64
+ let 'makeblastdb_result_pattern' do
65
+ File.join(database_dir_unformatted, 'Cardiocondyla_obscurior',
66
+ 'Cobs1.4.proteins.fa.*')
67
+ end
68
+
69
+ before do
70
+ SequenceServer.init
71
+ end
72
+
73
+ it 'can tell FASTA file' do
74
+ makeblastdb.send(:probably_fasta?, text_file).should be_falsey
75
+ makeblastdb.send(:probably_fasta?, binary_file).should be_falsey
76
+ makeblastdb.send(:probably_fasta?, fasta_file_prot_seqs).should be_truthy
77
+ makeblastdb.send(:probably_fasta?, fasta_file_nucl_seqs).should be_truthy
78
+ end
79
+
80
+ it 'can tell type of sequences in FASTA file' do
81
+ makeblastdb.send(:guess_sequence_type_in_fasta, fasta_file_prot_seqs).should eq :protein
82
+ makeblastdb.send(:guess_sequence_type_in_fasta, fasta_file_nucl_seqs).should eq :nucleotide
83
+ end
84
+
85
+ it 'can tell FASTA files that are yet to be made into a BLAST+ database' do
86
+ makeblastdb.instance_variable_set(:@database_dir, database_dir_unformatted)
87
+ makeblastdb.scan.should be_truthy
88
+ end
89
+
90
+ it 'can tell databases that require reformatting' do
91
+ # Control: shouldn't report sample v5 databases created using -parse_seqids
92
+ # as requiring reformatting.
93
+ makeblastdb.instance_variable_set(:@database_dir, database_dir_sample)
94
+ makeblastdb.scan.should be_falsey
95
+
96
+ # v4 databases require reformatting.
97
+ makeblastdb.instance_variable_set(:@database_dir, database_dir_v4)
98
+ makeblastdb.scan.should be_truthy
99
+
100
+ # non -parse_seqids databases require reformatting.
101
+ makeblastdb.instance_variable_set(:@database_dir, database_dir_without_parse_seqids)
102
+ makeblastdb.scan.should be_truthy
103
+ end
104
+
105
+ # it 'can make BLAST+ database from a FASTA file' do
106
+ # Database._make_blast_database(*data_for_makeblastdb).should be_truthy
107
+ # system "rm #{makeblastdb_result_pattern}"
108
+ # end
109
+
110
+ it 'can make intelligent database name suggestions' do
111
+ db_name_pairs = [['Si_gnf.fasta', 'Si gnf'],
112
+ ['Aech.3.8.cds.fasta', 'Aech 3.8 cds'],
113
+ ['Cobs1.4.proteins.fasta', 'Cobs 1.4 proteins'],
114
+ ['S_inv.x.small.2.5.nucl.fa', 'S inv x small 2.5 nucl'],
115
+ ['Sinvicta2-2-3.prot.fasta', 'Sinvicta 2-2-3 prot']]
116
+ db_name_pairs.each do |db|
117
+ makeblastdb.send(:make_db_title, db[0]).should eql(db[1])
118
+ end
119
+ end
120
+ end
121
+ end
@@ -50,13 +50,12 @@ module SequenceServer
50
50
  end
51
51
 
52
52
  let 'funky_ids_database_id' do
53
- Digest::MD5.hexdigest File.join(database_dir, 'funky_ids',
53
+ Digest::MD5.hexdigest File.join(database_dir, 'funky_ids', 'v5',
54
54
  'funky_ids.fa')
55
55
  end
56
56
 
57
57
  before :all do
58
- SequenceServer.config[:database_dir] = database_dir
59
- Database.scan_databases_dir
58
+ SequenceServer.init(database_dir: database_dir)
60
59
  end
61
60
 
62
61
  it 'should be able to retrieve sequences from database' do
@@ -74,6 +74,10 @@
74
74
  href='http://www.sequenceserver.com'>
75
75
  <%=
76
76
  quote = [
77
+ "Run BLAST on local computer.",
78
+ "Custom BLAST search.",
79
+ "Install blast on Mac.",
80
+ "Perform BLAST analyses with SequenceServer.",
77
81
  "Custom BLAST web interface by SequenceServer.",
78
82
  "SequenceServer: Local BLAST with bespoke html interface.",
79
83
  "Set up custom BLAST interface with SequenceServer.",
metadata CHANGED
@@ -1,17 +1,17 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: sequenceserver
3
3
  version: !ruby/object:Gem::Version
4
- version: 2.0.0.rc2
4
+ version: 2.0.0.rc7
5
5
  platform: ruby
6
6
  authors:
7
7
  - Anurag Priyam
8
8
  - Ben J Woodcroft
9
9
  - Vivek Rai
10
10
  - Yannick Wurm
11
- autorequire:
11
+ autorequire:
12
12
  bindir: bin
13
13
  cert_chain: []
14
- date: 2020-04-22 00:00:00.000000000 Z
14
+ date: 2020-08-13 00:00:00.000000000 Z
15
15
  dependencies:
16
16
  - !ruby/object:Gem::Dependency
17
17
  name: json_pure
@@ -247,6 +247,7 @@ files:
247
247
  - ".bootstrap/config.json"
248
248
  - ".codeclimate.yml"
249
249
  - ".csslintrc"
250
+ - ".dockerignore"
250
251
  - ".eslintignore"
251
252
  - ".eslintrc.json"
252
253
  - ".gitignore"
@@ -284,6 +285,7 @@ files:
284
285
  - lib/sequenceserver/job_remover.rb
285
286
  - lib/sequenceserver/links.rb
286
287
  - lib/sequenceserver/logger.rb
288
+ - lib/sequenceserver/makeblastdb.rb
287
289
  - lib/sequenceserver/pool.rb
288
290
  - lib/sequenceserver/report.rb
289
291
  - lib/sequenceserver/routes.rb
@@ -3706,14 +3708,25 @@ files:
3706
3708
  - spec/capybara_spec.rb
3707
3709
  - spec/config_spec.rb
3708
3710
  - spec/database/funky_ids/funky_ids.fa
3709
- - spec/database/funky_ids/funky_ids.fa.nhd
3710
- - spec/database/funky_ids/funky_ids.fa.nhi
3711
- - spec/database/funky_ids/funky_ids.fa.nhr
3712
- - spec/database/funky_ids/funky_ids.fa.nin
3713
- - spec/database/funky_ids/funky_ids.fa.nog
3714
- - spec/database/funky_ids/funky_ids.fa.nsd
3715
- - spec/database/funky_ids/funky_ids.fa.nsi
3716
- - spec/database/funky_ids/funky_ids.fa.nsq
3711
+ - spec/database/funky_ids/v4/funky_ids.fa.nhd
3712
+ - spec/database/funky_ids/v4/funky_ids.fa.nhi
3713
+ - spec/database/funky_ids/v4/funky_ids.fa.nhr
3714
+ - spec/database/funky_ids/v4/funky_ids.fa.nin
3715
+ - spec/database/funky_ids/v4/funky_ids.fa.nog
3716
+ - spec/database/funky_ids/v4/funky_ids.fa.nsd
3717
+ - spec/database/funky_ids/v4/funky_ids.fa.nsi
3718
+ - spec/database/funky_ids/v4/funky_ids.fa.nsq
3719
+ - spec/database/funky_ids/v5/funky_ids.fa.ndb
3720
+ - spec/database/funky_ids/v5/funky_ids.fa.nhd
3721
+ - spec/database/funky_ids/v5/funky_ids.fa.nhi
3722
+ - spec/database/funky_ids/v5/funky_ids.fa.nhr
3723
+ - spec/database/funky_ids/v5/funky_ids.fa.nin
3724
+ - spec/database/funky_ids/v5/funky_ids.fa.nog
3725
+ - spec/database/funky_ids/v5/funky_ids.fa.nos
3726
+ - spec/database/funky_ids/v5/funky_ids.fa.not
3727
+ - spec/database/funky_ids/v5/funky_ids.fa.nsq
3728
+ - spec/database/funky_ids/v5/funky_ids.fa.ntf
3729
+ - spec/database/funky_ids/v5/funky_ids.fa.nto
3717
3730
  - spec/database/funky_sequences/README.md
3718
3731
  - spec/database/funky_sequences/funky_aa_sequences.fa
3719
3732
  - spec/database/funky_sequences/funky_aa_sequences.fa.phd
@@ -3778,45 +3791,95 @@ files:
3778
3791
  - spec/database/pipe_in_seqid/pipe_in_seqid.fa.nsd
3779
3792
  - spec/database/pipe_in_seqid/pipe_in_seqid.fa.nsi
3780
3793
  - spec/database/pipe_in_seqid/pipe_in_seqid.fa.nsq
3794
+ - spec/database/sample/genome/Solenopsis_invicta/Solenopsis_invicta_gnG_subset.fasta.ndb
3781
3795
  - spec/database/sample/genome/Solenopsis_invicta/Solenopsis_invicta_gnG_subset.fasta.nhd
3782
3796
  - spec/database/sample/genome/Solenopsis_invicta/Solenopsis_invicta_gnG_subset.fasta.nhi
3783
3797
  - spec/database/sample/genome/Solenopsis_invicta/Solenopsis_invicta_gnG_subset.fasta.nhr
3784
3798
  - spec/database/sample/genome/Solenopsis_invicta/Solenopsis_invicta_gnG_subset.fasta.nin
3785
3799
  - spec/database/sample/genome/Solenopsis_invicta/Solenopsis_invicta_gnG_subset.fasta.nog
3786
- - spec/database/sample/genome/Solenopsis_invicta/Solenopsis_invicta_gnG_subset.fasta.nsd
3787
- - spec/database/sample/genome/Solenopsis_invicta/Solenopsis_invicta_gnG_subset.fasta.nsi
3800
+ - spec/database/sample/genome/Solenopsis_invicta/Solenopsis_invicta_gnG_subset.fasta.nos
3801
+ - spec/database/sample/genome/Solenopsis_invicta/Solenopsis_invicta_gnG_subset.fasta.not
3788
3802
  - spec/database/sample/genome/Solenopsis_invicta/Solenopsis_invicta_gnG_subset.fasta.nsq
3803
+ - spec/database/sample/genome/Solenopsis_invicta/Solenopsis_invicta_gnG_subset.fasta.ntf
3804
+ - spec/database/sample/genome/Solenopsis_invicta/Solenopsis_invicta_gnG_subset.fasta.nto
3789
3805
  - spec/database/sample/genome/Solenopsis_invicta/Solenopsis_invicta_gnG_subset.txt
3790
3806
  - spec/database/sample/links.rb
3791
3807
  - spec/database/sample/proteins/Solenopsis_invicta/Sinvicta2-2-3.prot.subset.fasta
3808
+ - spec/database/sample/proteins/Solenopsis_invicta/Sinvicta2-2-3.prot.subset.fasta.pdb
3792
3809
  - spec/database/sample/proteins/Solenopsis_invicta/Sinvicta2-2-3.prot.subset.fasta.phd
3793
3810
  - spec/database/sample/proteins/Solenopsis_invicta/Sinvicta2-2-3.prot.subset.fasta.phi
3794
3811
  - spec/database/sample/proteins/Solenopsis_invicta/Sinvicta2-2-3.prot.subset.fasta.phr
3795
3812
  - spec/database/sample/proteins/Solenopsis_invicta/Sinvicta2-2-3.prot.subset.fasta.pin
3796
3813
  - spec/database/sample/proteins/Solenopsis_invicta/Sinvicta2-2-3.prot.subset.fasta.pog
3797
- - spec/database/sample/proteins/Solenopsis_invicta/Sinvicta2-2-3.prot.subset.fasta.psd
3798
- - spec/database/sample/proteins/Solenopsis_invicta/Sinvicta2-2-3.prot.subset.fasta.psi
3814
+ - spec/database/sample/proteins/Solenopsis_invicta/Sinvicta2-2-3.prot.subset.fasta.pos
3815
+ - spec/database/sample/proteins/Solenopsis_invicta/Sinvicta2-2-3.prot.subset.fasta.pot
3799
3816
  - spec/database/sample/proteins/Solenopsis_invicta/Sinvicta2-2-3.prot.subset.fasta.psq
3817
+ - spec/database/sample/proteins/Solenopsis_invicta/Sinvicta2-2-3.prot.subset.fasta.ptf
3818
+ - spec/database/sample/proteins/Solenopsis_invicta/Sinvicta2-2-3.prot.subset.fasta.pto
3819
+ - spec/database/sample/proteins/uniprot/2018-04-Swiss-Prot_insecta.fasta.pdb
3800
3820
  - spec/database/sample/proteins/uniprot/2018-04-Swiss-Prot_insecta.fasta.phd
3801
3821
  - spec/database/sample/proteins/uniprot/2018-04-Swiss-Prot_insecta.fasta.phi
3802
3822
  - spec/database/sample/proteins/uniprot/2018-04-Swiss-Prot_insecta.fasta.phr
3803
3823
  - spec/database/sample/proteins/uniprot/2018-04-Swiss-Prot_insecta.fasta.pin
3804
3824
  - spec/database/sample/proteins/uniprot/2018-04-Swiss-Prot_insecta.fasta.pog
3805
- - spec/database/sample/proteins/uniprot/2018-04-Swiss-Prot_insecta.fasta.psd
3806
- - spec/database/sample/proteins/uniprot/2018-04-Swiss-Prot_insecta.fasta.psi
3825
+ - spec/database/sample/proteins/uniprot/2018-04-Swiss-Prot_insecta.fasta.pos
3826
+ - spec/database/sample/proteins/uniprot/2018-04-Swiss-Prot_insecta.fasta.pot
3807
3827
  - spec/database/sample/proteins/uniprot/2018-04-Swiss-Prot_insecta.fasta.psq
3828
+ - spec/database/sample/proteins/uniprot/2018-04-Swiss-Prot_insecta.fasta.ptf
3829
+ - spec/database/sample/proteins/uniprot/2018-04-Swiss-Prot_insecta.fasta.pto
3808
3830
  - spec/database/sample/proteins/uniprot/URL
3809
3831
  - spec/database/sample/si_uniprot_idmap.yml
3810
3832
  - spec/database/sample/transcripts/Solenopsis_invicta/Sinvicta2-2-3.cdna.subset.fasta
3833
+ - spec/database/sample/transcripts/Solenopsis_invicta/Sinvicta2-2-3.cdna.subset.fasta.ndb
3811
3834
  - spec/database/sample/transcripts/Solenopsis_invicta/Sinvicta2-2-3.cdna.subset.fasta.nhd
3812
3835
  - spec/database/sample/transcripts/Solenopsis_invicta/Sinvicta2-2-3.cdna.subset.fasta.nhi
3813
3836
  - spec/database/sample/transcripts/Solenopsis_invicta/Sinvicta2-2-3.cdna.subset.fasta.nhr
3814
3837
  - spec/database/sample/transcripts/Solenopsis_invicta/Sinvicta2-2-3.cdna.subset.fasta.nin
3815
3838
  - spec/database/sample/transcripts/Solenopsis_invicta/Sinvicta2-2-3.cdna.subset.fasta.nog
3816
- - spec/database/sample/transcripts/Solenopsis_invicta/Sinvicta2-2-3.cdna.subset.fasta.nsd
3817
- - spec/database/sample/transcripts/Solenopsis_invicta/Sinvicta2-2-3.cdna.subset.fasta.nsi
3839
+ - spec/database/sample/transcripts/Solenopsis_invicta/Sinvicta2-2-3.cdna.subset.fasta.nos
3840
+ - spec/database/sample/transcripts/Solenopsis_invicta/Sinvicta2-2-3.cdna.subset.fasta.not
3818
3841
  - spec/database/sample/transcripts/Solenopsis_invicta/Sinvicta2-2-3.cdna.subset.fasta.nsq
3842
+ - spec/database/sample/transcripts/Solenopsis_invicta/Sinvicta2-2-3.cdna.subset.fasta.ntf
3843
+ - spec/database/sample/transcripts/Solenopsis_invicta/Sinvicta2-2-3.cdna.subset.fasta.nto
3819
3844
  - spec/database/unformatted/Cardiocondyla_obscurior/Cobs1.4.proteins.fa
3845
+ - spec/database/v4/genome/Solenopsis_invicta/Solenopsis_invicta_gnG_subset.fasta.nhd
3846
+ - spec/database/v4/genome/Solenopsis_invicta/Solenopsis_invicta_gnG_subset.fasta.nhi
3847
+ - spec/database/v4/genome/Solenopsis_invicta/Solenopsis_invicta_gnG_subset.fasta.nhr
3848
+ - spec/database/v4/genome/Solenopsis_invicta/Solenopsis_invicta_gnG_subset.fasta.nin
3849
+ - spec/database/v4/genome/Solenopsis_invicta/Solenopsis_invicta_gnG_subset.fasta.nog
3850
+ - spec/database/v4/genome/Solenopsis_invicta/Solenopsis_invicta_gnG_subset.fasta.nsd
3851
+ - spec/database/v4/genome/Solenopsis_invicta/Solenopsis_invicta_gnG_subset.fasta.nsi
3852
+ - spec/database/v4/genome/Solenopsis_invicta/Solenopsis_invicta_gnG_subset.fasta.nsq
3853
+ - spec/database/v4/genome/Solenopsis_invicta/Solenopsis_invicta_gnG_subset.txt
3854
+ - spec/database/v4/links.rb
3855
+ - spec/database/v4/proteins/Solenopsis_invicta/Sinvicta2-2-3.prot.subset.fasta
3856
+ - spec/database/v4/proteins/Solenopsis_invicta/Sinvicta2-2-3.prot.subset.fasta.phd
3857
+ - spec/database/v4/proteins/Solenopsis_invicta/Sinvicta2-2-3.prot.subset.fasta.phi
3858
+ - spec/database/v4/proteins/Solenopsis_invicta/Sinvicta2-2-3.prot.subset.fasta.phr
3859
+ - spec/database/v4/proteins/Solenopsis_invicta/Sinvicta2-2-3.prot.subset.fasta.pin
3860
+ - spec/database/v4/proteins/Solenopsis_invicta/Sinvicta2-2-3.prot.subset.fasta.pog
3861
+ - spec/database/v4/proteins/Solenopsis_invicta/Sinvicta2-2-3.prot.subset.fasta.psd
3862
+ - spec/database/v4/proteins/Solenopsis_invicta/Sinvicta2-2-3.prot.subset.fasta.psi
3863
+ - spec/database/v4/proteins/Solenopsis_invicta/Sinvicta2-2-3.prot.subset.fasta.psq
3864
+ - spec/database/v4/proteins/uniprot/2018-04-Swiss-Prot_insecta.fasta.phd
3865
+ - spec/database/v4/proteins/uniprot/2018-04-Swiss-Prot_insecta.fasta.phi
3866
+ - spec/database/v4/proteins/uniprot/2018-04-Swiss-Prot_insecta.fasta.phr
3867
+ - spec/database/v4/proteins/uniprot/2018-04-Swiss-Prot_insecta.fasta.pin
3868
+ - spec/database/v4/proteins/uniprot/2018-04-Swiss-Prot_insecta.fasta.pog
3869
+ - spec/database/v4/proteins/uniprot/2018-04-Swiss-Prot_insecta.fasta.psd
3870
+ - spec/database/v4/proteins/uniprot/2018-04-Swiss-Prot_insecta.fasta.psi
3871
+ - spec/database/v4/proteins/uniprot/2018-04-Swiss-Prot_insecta.fasta.psq
3872
+ - spec/database/v4/proteins/uniprot/URL
3873
+ - spec/database/v4/si_uniprot_idmap.yml
3874
+ - spec/database/v4/transcripts/Solenopsis_invicta/Sinvicta2-2-3.cdna.subset.fasta
3875
+ - spec/database/v4/transcripts/Solenopsis_invicta/Sinvicta2-2-3.cdna.subset.fasta.nhd
3876
+ - spec/database/v4/transcripts/Solenopsis_invicta/Sinvicta2-2-3.cdna.subset.fasta.nhi
3877
+ - spec/database/v4/transcripts/Solenopsis_invicta/Sinvicta2-2-3.cdna.subset.fasta.nhr
3878
+ - spec/database/v4/transcripts/Solenopsis_invicta/Sinvicta2-2-3.cdna.subset.fasta.nin
3879
+ - spec/database/v4/transcripts/Solenopsis_invicta/Sinvicta2-2-3.cdna.subset.fasta.nog
3880
+ - spec/database/v4/transcripts/Solenopsis_invicta/Sinvicta2-2-3.cdna.subset.fasta.nsd
3881
+ - spec/database/v4/transcripts/Solenopsis_invicta/Sinvicta2-2-3.cdna.subset.fasta.nsi
3882
+ - spec/database/v4/transcripts/Solenopsis_invicta/Sinvicta2-2-3.cdna.subset.fasta.nsq
3820
3883
  - spec/database/without_parse_seqids/without_parse_seqids.fa
3821
3884
  - spec/database/without_parse_seqids/without_parse_seqids.fa.phr
3822
3885
  - spec/database/without_parse_seqids/without_parse_seqids.fa.pin
@@ -3943,6 +4006,7 @@ files:
3943
4006
  - spec/dotdir/diamond_0.9.24/blastx_nohits/job.yaml
3944
4007
  - spec/download_helper.rb
3945
4008
  - spec/empty_config.yml
4009
+ - spec/makeblastdb_spec.rb
3946
4010
  - spec/routes_spec.rb
3947
4011
  - spec/sample.conf
3948
4012
  - spec/sequence_spec.rb
@@ -4022,9 +4086,10 @@ required_rubygems_version: !ruby/object:Gem::Requirement
4022
4086
  - !ruby/object:Gem::Version
4023
4087
  version: 1.3.1
4024
4088
  requirements: []
4025
- rubyforge_project:
4089
+ rubyforge_project:
4026
4090
  rubygems_version: 2.7.6.2
4027
- signing_key:
4091
+ signing_key:
4028
4092
  specification_version: 4
4029
4093
  summary: BLAST search made easy!
4030
4094
  test_files: []
4095
+ ...