ms-sequest 0.1.2 → 0.2.1
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.
- data/History +2 -2
- data/README.rdoc +20 -21
- data/Rakefile +5 -5
- data/VERSION +1 -1
- data/lib/ms/sequest.rb +1 -1
- data/lib/ms/sequest/params.rb +8 -8
- data/lib/ms/sequest/pepxml/modifications.rb +10 -10
- data/lib/ms/sequest/pepxml/params.rb +6 -6
- data/lib/ms/sequest/sqt.rb +36 -38
- data/lib/ms/sequest/srf.rb +46 -134
- data/lib/ms/sequest/srf/pepxml.rb +23 -23
- data/lib/ms/sequest/srf/pepxml/sequest.rb +3 -3
- data/lib/ms/sequest/srf/search.rb +5 -5
- data/lib/ms/sequest/srf/sqt.rb +13 -15
- data/spec/ms/sequest/params_spec.rb +1 -1
- data/spec/ms/sequest/pepxml/modifications_spec.rb +4 -4
- data/spec/ms/sequest/sqt_spec.rb +2 -28
- data/spec/ms/sequest/srf/pepxml_spec.rb +2 -2
- data/spec/ms/sequest/srf/search_spec.rb +5 -5
- data/spec/ms/sequest/srf/sqt_spec.rb +7 -8
- data/spec/ms/sequest/srf_spec.rb +7 -7
- data/spec/spec_helper.rb +1 -1
- metadata +28 -33
- data/lib/ms/sequest/bioworks.rb +0 -498
- data/spec/ms/sequest/bioworks_spec.rb +0 -153
@@ -4,7 +4,7 @@ require 'ms/mass'
|
|
4
4
|
|
5
5
|
# These are for outputting formats used in MS/MS Search engines
|
6
6
|
|
7
|
-
module
|
7
|
+
module MS
|
8
8
|
module Sequest
|
9
9
|
class Srf
|
10
10
|
module Search
|
@@ -21,7 +21,7 @@ module Ms
|
|
21
21
|
else
|
22
22
|
base_name + '.mgf'
|
23
23
|
end
|
24
|
-
h_plus =
|
24
|
+
h_plus = MS::Mass::H_PLUS
|
25
25
|
File.open(filename, 'wb') do |out|
|
26
26
|
dta_files.zip(index) do |dta, i_ar|
|
27
27
|
chrg = dta.charge
|
@@ -104,11 +104,11 @@ module Ms
|
|
104
104
|
|
105
105
|
end # Srf
|
106
106
|
end # Sequest
|
107
|
-
end #
|
107
|
+
end # MS
|
108
108
|
|
109
109
|
|
110
110
|
require 'optparse'
|
111
|
-
module
|
111
|
+
module MS::Sequest::Srf::Search
|
112
112
|
def self.commandline(argv, progname=$0)
|
113
113
|
opt = {
|
114
114
|
:format => 'mgf'
|
@@ -145,7 +145,7 @@ module Ms::Sequest::Srf::Search
|
|
145
145
|
base << '.' << format
|
146
146
|
end
|
147
147
|
end
|
148
|
-
srf =
|
148
|
+
srf = MS::Sequest::Srf.new(srf_file, :link_protein_hits => false, :filter_by_precursor_mass_tolerance => false, :read_pephits => false )
|
149
149
|
# options just speed up reading since we don't need .out info anyway
|
150
150
|
case format
|
151
151
|
when 'mgf'
|
data/lib/ms/sequest/srf/sqt.rb
CHANGED
@@ -1,11 +1,9 @@
|
|
1
|
-
|
2
|
-
require 'ms/calc'
|
3
1
|
require 'ms/sequest'
|
4
2
|
require 'ms/sequest/srf'
|
5
3
|
require 'ms/sequest/sqt'
|
6
4
|
|
7
5
|
|
8
|
-
module
|
6
|
+
module MS
|
9
7
|
module Sequest
|
10
8
|
class Srf
|
11
9
|
|
@@ -81,7 +79,7 @@ module Ms
|
|
81
79
|
|
82
80
|
hh = {
|
83
81
|
'SQTGenerator' => "mspire: ms-sequest",
|
84
|
-
'SQTGeneratorVersion' =>
|
82
|
+
'SQTGeneratorVersion' => MS::Sequest::VERSION,
|
85
83
|
'Database' => db_filename_in_sqt,
|
86
84
|
'FragmentMasses' => fmt,
|
87
85
|
'PrecursorMasses' => pmt,
|
@@ -96,7 +94,7 @@ module Ms
|
|
96
94
|
|
97
95
|
if opt[:db_info]
|
98
96
|
if File.exist?(db_filename)
|
99
|
-
reply =
|
97
|
+
reply = MS::Sequest::Sqt.db_info(db_filename)
|
100
98
|
%w(DBSeqLength DBLocusCount DBMD5Sum).zip(reply) do |label,val|
|
101
99
|
hh[label] = val
|
102
100
|
end
|
@@ -140,9 +138,9 @@ module Ms
|
|
140
138
|
out_file_total_inten = out_file.total_inten
|
141
139
|
out_file_lowest_sp = out_file.lowest_sp
|
142
140
|
if opt[:round]
|
143
|
-
dta_file_mh =
|
144
|
-
out_file_total_inten =
|
145
|
-
out_file_lowest_sp =
|
141
|
+
dta_file_mh = dta_file_mh.round(mh_dp)
|
142
|
+
out_file_total_inten = out_file_total_inten.round(tic_dp)
|
143
|
+
out_file_lowest_sp = out_file_lowest_sp.round(sp_dp)
|
146
144
|
end
|
147
145
|
|
148
146
|
out.puts ['S', out_file.first_scan, out_file.last_scan, out_file.charge, time_to_process, out_file.computer, dta_file_mh, out_file_total_inten, out_file_lowest_sp, out_file.num_matched_peptides].join("\t")
|
@@ -152,10 +150,10 @@ module Ms
|
|
152
150
|
hit_xcorr = hit.xcorr
|
153
151
|
hit_sp = hit.sp
|
154
152
|
if opt[:round]
|
155
|
-
hit_mh =
|
156
|
-
hit_deltacn_orig_updated =
|
157
|
-
hit_xcorr =
|
158
|
-
hit_sp =
|
153
|
+
hit_mh = hit_mh.round(mh_dp)
|
154
|
+
hit_deltacn_orig_updated = hit_deltacn_orig_updated.round(dcn_dp)
|
155
|
+
hit_xcorr = hit_xcorr.round(xcorr_dp)
|
156
|
+
hit_sp = hit_sp.round(sp_dp)
|
159
157
|
end
|
160
158
|
# note that the rank is determined by the order..
|
161
159
|
out.puts ['M', index+1, hit.rsp, hit_mh, hit_deltacn_orig_updated, hit_xcorr, hit_sp, hit.ions_matched, hit.ions_total, hit.sequence, manual_validation_status].join("\t")
|
@@ -170,12 +168,12 @@ module Ms
|
|
170
168
|
include Sqt
|
171
169
|
end # Srf
|
172
170
|
end # Sequest
|
173
|
-
end #
|
171
|
+
end # MS
|
174
172
|
|
175
173
|
|
176
174
|
require 'optparse'
|
177
175
|
|
178
|
-
module
|
176
|
+
module MS::Sequest::Srf::Sqt
|
179
177
|
def self.commandline(argv, progname=$0)
|
180
178
|
opt = {
|
181
179
|
:filter => true
|
@@ -211,7 +209,7 @@ module Ms::Sequest::Srf::Sqt
|
|
211
209
|
base + '.sqt'
|
212
210
|
end
|
213
211
|
|
214
|
-
srf =
|
212
|
+
srf = MS::Sequest::Srf.new(srf_file, :link_protein_hits => false, :filter_by_precursor_mass_tolerance => opt.delete(:filter))
|
215
213
|
srf.to_sqt(outfile, :db_info => opt[:db_info], :new_db_path => opt[:new_db_path], :update_db_path => opt[:db_update], :round => opt[:round])
|
216
214
|
end
|
217
215
|
end
|
@@ -3,13 +3,13 @@ require 'spec_helper'
|
|
3
3
|
require 'ms/sequest/params'
|
4
4
|
require 'ms/sequest/pepxml/modifications'
|
5
5
|
|
6
|
-
describe '
|
6
|
+
describe 'MS::Sequest::Pepxml::Modifications' do
|
7
7
|
before do
|
8
8
|
tf_params = TESTFILES + "/bioworks32.params"
|
9
|
-
@params =
|
9
|
+
@params = MS::Sequest::Params.new(tf_params)
|
10
10
|
# The params object here is completely unnecessary for this test, except
|
11
11
|
# that it sets up the mass table
|
12
|
-
@obj =
|
12
|
+
@obj = MS::Sequest::Pepxml::Modifications.new(@params, "(M* +15.90000) (M# +29.00000) (S@ +80.00000) (C^ +12.00000) (ct[ +12.33000) (nt] +14.20000) ")
|
13
13
|
end
|
14
14
|
it 'creates a mod_symbols_hash' do
|
15
15
|
answ = {[:C, 12.0]=>"^", [:S, 80.0]=>"@", [:M, 29.0]=>"#", [:M, 15.9]=>"*", [:ct, 12.33]=>"[", [:nt, 14.2]=>"]"}
|
@@ -21,7 +21,7 @@ describe 'Ms::Sequest::Pepxml::Modifications' do
|
|
21
21
|
mod_string = "(M* +15.90000) (M# +29.00000) (S@ +80.00000) (C^ +12.00000) (ct[ +12.33000) (nt] +14.20000) "
|
22
22
|
@params.diff_search_options = "15.90000 M 29.00000 M 80.00000 S 12.00000 C"
|
23
23
|
@params.term_diff_search_options = "14.20000 12.33000"
|
24
|
-
mod =
|
24
|
+
mod = MS::Sequest::Pepxml::Modifications.new(@params, mod_string)
|
25
25
|
## no mods
|
26
26
|
peptide_nomod = "PEPTIDE"
|
27
27
|
ok mod.modification_info(peptide_nomod).nil?
|
data/spec/ms/sequest/sqt_spec.rb
CHANGED
@@ -7,7 +7,7 @@ describe 'reading a small sqt file' do
|
|
7
7
|
|
8
8
|
before do
|
9
9
|
file = TESTFILES + '/small.sqt'
|
10
|
-
@sqt =
|
10
|
+
@sqt = MS::Sequest::Sqt.new(file)
|
11
11
|
end
|
12
12
|
|
13
13
|
it 'can access header entries like a hash' do
|
@@ -23,7 +23,7 @@ describe 'reading a small sqt file' do
|
|
23
23
|
header.database.is HeaderHash['Database']
|
24
24
|
# all working:
|
25
25
|
HeaderHash.each do |k,v|
|
26
|
-
header.send(
|
26
|
+
header.send(MS::Sequest::Sqt::Header::KeysToAtts[k]).is v
|
27
27
|
end
|
28
28
|
|
29
29
|
end
|
@@ -49,29 +49,3 @@ describe 'reading a small sqt file' do
|
|
49
49
|
|
50
50
|
end
|
51
51
|
|
52
|
-
#class SqtGroup_ReadingFiles < MiniTest::Spec
|
53
|
-
#before(:each) do
|
54
|
-
#file1 = TESTFILES + '/small.sqt'
|
55
|
-
#file2 = TESTFILES + '/small2.sqt'
|
56
|
-
#@sqg = Ms::Sequest::SqtGroup.new([file1, file2])
|
57
|
-
#end
|
58
|
-
|
59
|
-
#it 'has peptide hits' do
|
60
|
-
#peps = @sqg.peps
|
61
|
-
#peps.size.is 86
|
62
|
-
## first hit in 020
|
63
|
-
#peps.first.sequence.is 'R.Y#RLGGS#T#K.K'
|
64
|
-
#peps.first.base_name.is 'small'
|
65
|
-
## last hit in 040
|
66
|
-
#peps.last.sequence.is 'K.T#IS#S#QK.K'
|
67
|
-
#peps.last.base_name.is 'small2'
|
68
|
-
#end
|
69
|
-
|
70
|
-
#it 'has prots' do
|
71
|
-
### FROZEN:
|
72
|
-
#@sqg.prots.size.is 72
|
73
|
-
#sorted = @sqg.prots.sort_by {|v| v.reference }
|
74
|
-
#sorted.first.reference.is 'gi|16127996|ref|NP_414543.1|'
|
75
|
-
#sorted.first.peps.size.is 33
|
76
|
-
#end
|
77
|
-
#end
|
@@ -2,7 +2,7 @@ require 'spec_helper'
|
|
2
2
|
|
3
3
|
require 'ms/sequest/srf/pepxml'
|
4
4
|
|
5
|
-
describe 'an
|
5
|
+
describe 'an MS::Ident::Pepxml object from an srf file with modifications' do
|
6
6
|
before do
|
7
7
|
FileUtils.mkdir @out_path unless File.exist?(@out_path)
|
8
8
|
end
|
@@ -12,7 +12,7 @@ describe 'an Ms::Ident::Pepxml object from an srf file with modifications' do
|
|
12
12
|
|
13
13
|
@srf_file = SEQUEST_DIR + '/opd1_2runs_2mods/sequest331/020.srf'
|
14
14
|
@out_path = TESTFILES + '/tmp'
|
15
|
-
@srf =
|
15
|
+
@srf = MS::Sequest::Srf.new(@srf_file)
|
16
16
|
|
17
17
|
it 'produces xml with all the expected parts' do
|
18
18
|
tags = %w(msms_pipeline_analysis msms_run_summary sample_enzyme specificity search_summary search_database enzymatic_search_constraint aminoacid_modification parameter spectrum_query search_result search_hit modification_info mod_aminoacid_mass search_score)
|
@@ -12,7 +12,7 @@ class SRF_TO_MGF_HELPER
|
|
12
12
|
:last_line => 'END IONS',
|
13
13
|
}
|
14
14
|
LAST_MSMS = {
|
15
|
-
:first_lines => ['BEGIN IONS', 'TITLE=000.3748.3748.3.dta', 'CHARGE=3+', 'PEPMASS=433.
|
15
|
+
:first_lines => ['BEGIN IONS', 'TITLE=000.3748.3748.3.dta', 'CHARGE=3+', 'PEPMASS=433.56494129743004'],
|
16
16
|
:first_two_ion_lines => ['143.466918945312 2110.0', '151.173095703125 4134.0'],
|
17
17
|
:last_two_ion_lines => ['482.678771972656 3357.0', '610.4111328125 8968.0'],
|
18
18
|
:last_line => 'END IONS',
|
@@ -33,7 +33,7 @@ class SRF_TO_DTA_HELPER
|
|
33
33
|
}
|
34
34
|
end
|
35
35
|
|
36
|
-
Srf_file =
|
36
|
+
Srf_file = MS::TESTDATA + '/sequest/opd1_static_diff_mods/000.srf'
|
37
37
|
TMPDIR = TESTFILES + '/tmp'
|
38
38
|
Mgf_output = TMPDIR + '/000.mgf.tmp'
|
39
39
|
Dta_output = TMPDIR + '/000.dta.tmp'
|
@@ -61,7 +61,7 @@ shared 'an srf to ms2 search converter' do
|
|
61
61
|
key[:first_lines][0,3].enums lines[0,3]
|
62
62
|
(exp_pair, act_pair) = [key[:first_lines][3], lines[3]].map {|line| line.split('=') }
|
63
63
|
exp_pair.first.is act_pair.first
|
64
|
-
exp_pair.last.to_f.should.be.close act_pair.last.to_f, 0.
|
64
|
+
exp_pair.last.to_f.should.be.close act_pair.last.to_f, 0.0000001
|
65
65
|
|
66
66
|
(key[:first_two_ion_lines] + key[:last_two_ion_lines]).zip(lines[4,2] + lines[-3,2]).each do |exp_line,act_line|
|
67
67
|
assert_ion_line_close(exp_line, act_line, 0.00000001)
|
@@ -103,7 +103,7 @@ describe 'converting an srf to ms2 search format: programmatic' do
|
|
103
103
|
FileUtils.rmtree(TMPDIR)
|
104
104
|
end
|
105
105
|
|
106
|
-
@srf =
|
106
|
+
@srf = MS::Sequest::Srf.new(Srf_file)
|
107
107
|
|
108
108
|
@convert_to_mgf = lambda { @srf.to_mgf(Mgf_output) }
|
109
109
|
@convert_to_dta = lambda { @srf.to_dta(Dta_output) }
|
@@ -121,7 +121,7 @@ describe 'converting an srf to ms2 search format: commandline' do
|
|
121
121
|
end
|
122
122
|
|
123
123
|
def commandline_lambda(string)
|
124
|
-
lambda {
|
124
|
+
lambda { MS::Sequest::Srf::Search.commandline(string.split(/\s+/)) }
|
125
125
|
end
|
126
126
|
|
127
127
|
@convert_to_mgf = commandline_lambda "#{Srf_file} -o #{Mgf_output}"
|
@@ -1,6 +1,5 @@
|
|
1
1
|
require 'spec_helper'
|
2
2
|
|
3
|
-
require 'stringio'
|
4
3
|
require 'ms/sequest/srf'
|
5
4
|
require 'ms/sequest/srf/sqt'
|
6
5
|
|
@@ -47,7 +46,7 @@ END
|
|
47
46
|
|
48
47
|
|
49
48
|
module SPEC
|
50
|
-
Srf_file =
|
49
|
+
Srf_file = MS::TESTDATA + '/sequest/opd1_static_diff_mods/000.srf'
|
51
50
|
TMPDIR = TESTFILES + '/tmp'
|
52
51
|
Srf_output = TMPDIR + '/000.sqt.tmp'
|
53
52
|
end
|
@@ -167,11 +166,11 @@ describe "programmatic interface srf to sqt" do
|
|
167
166
|
FileUtils.rm_rf(SPEC::TMPDIR)
|
168
167
|
end
|
169
168
|
|
170
|
-
@srf =
|
169
|
+
@srf = MS::Sequest::Srf.new(SPEC::Srf_file)
|
171
170
|
|
172
171
|
@basic_conversion = lambda { @srf.to_sqt(SPEC::Srf_output) }
|
173
|
-
@with_new_db_path = lambda { @srf.to_sqt(SPEC::Srf_output, :db_info => true, :new_db_path =>
|
174
|
-
@update_the_db_path = lambda { @srf.to_sqt(SPEC::Srf_output, :new_db_path =>
|
172
|
+
@with_new_db_path = lambda { @srf.to_sqt(SPEC::Srf_output, :db_info => true, :new_db_path => MS::TESTDATA + '/sequest/opd1_2runs_2mods/sequest33') }
|
173
|
+
@update_the_db_path = lambda { @srf.to_sqt(SPEC::Srf_output, :new_db_path => MS::TESTDATA + '/sequest/opd1_2runs_2mods/sequest33', :update_db_path => true) }
|
175
174
|
|
176
175
|
before do
|
177
176
|
@output = SPEC::Srf_output
|
@@ -210,13 +209,13 @@ describe "command-line interface srf to sqt" do
|
|
210
209
|
|
211
210
|
|
212
211
|
def commandline_lambda(string)
|
213
|
-
lambda {
|
212
|
+
lambda { MS::Sequest::Srf::Sqt.commandline( string.split(/\s+/) ) }
|
214
213
|
end
|
215
214
|
|
216
215
|
base_cmd = "#{SPEC::Srf_file} -o #{SPEC::Srf_output}"
|
217
216
|
@basic_conversion = commandline_lambda(base_cmd)
|
218
|
-
@with_new_db_path = commandline_lambda(base_cmd + " --db-info --db-path #{
|
219
|
-
@update_the_db_path = commandline_lambda(base_cmd + " --db-path #{
|
217
|
+
@with_new_db_path = commandline_lambda(base_cmd + " --db-info --db-path #{MS::TESTDATA + '/sequest/opd1_2runs_2mods/sequest33'}")
|
218
|
+
@update_the_db_path = commandline_lambda(base_cmd + " --db-path #{MS::TESTDATA + '/sequest/opd1_2runs_2mods/sequest33'} --db-update" )
|
220
219
|
|
221
220
|
behaves_like "an srf to sqt converter"
|
222
221
|
end
|
data/spec/ms/sequest/srf_spec.rb
CHANGED
@@ -91,8 +91,8 @@ To_run = {
|
|
91
91
|
describe 'reading srf with duplicate refs v3.2' do
|
92
92
|
|
93
93
|
info = To_run['3.2']
|
94
|
-
@file =
|
95
|
-
@srf_obj =
|
94
|
+
@file = MS::TESTDATA + '/sequest' + info[:file]
|
95
|
+
@srf_obj = MS::Sequest::Srf.new(@file)
|
96
96
|
Expected_hash_keys.each do |c|
|
97
97
|
instance_variable_set("@#{c}", info[:hash][c.to_sym])
|
98
98
|
end
|
@@ -102,8 +102,8 @@ end
|
|
102
102
|
|
103
103
|
describe 'reading srf with duplicate refs v3.3' do
|
104
104
|
info = To_run['3.3']
|
105
|
-
@file =
|
106
|
-
@srf_obj =
|
105
|
+
@file = MS::TESTDATA + '/sequest' + info[:file]
|
106
|
+
@srf_obj = MS::Sequest::Srf.new(@file)
|
107
107
|
Expected_hash_keys.each do |c|
|
108
108
|
instance_variable_set("@#{c}", info[:hash][c.to_sym])
|
109
109
|
end
|
@@ -113,8 +113,8 @@ end
|
|
113
113
|
|
114
114
|
describe 'reading srf with duplicate refs v3.3.1' do
|
115
115
|
info = To_run['3.3.1']
|
116
|
-
@file =
|
117
|
-
@srf_obj =
|
116
|
+
@file = MS::TESTDATA + '/sequest' + info[:file]
|
117
|
+
@srf_obj = MS::Sequest::Srf.new(@file)
|
118
118
|
Expected_hash_keys.each do |c|
|
119
119
|
instance_variable_set("@#{c}", info[:hash][c.to_sym])
|
120
120
|
end
|
@@ -126,7 +126,7 @@ end
|
|
126
126
|
# it 'reads a file from an aborted run w/o failing, but gives warning msg' do
|
127
127
|
# srf_file = TESTFILES + '/corrupted_900.srf'
|
128
128
|
# message = capture_stderr do
|
129
|
-
# srf_obj =
|
129
|
+
# srf_obj = MS::Sequest::Srf.new(srf_file)
|
130
130
|
# srf_obj.base_name.is '900'
|
131
131
|
# srf_obj.params.is nil
|
132
132
|
# header = srf_obj.header
|
data/spec/spec_helper.rb
CHANGED
metadata
CHANGED
@@ -2,7 +2,7 @@
|
|
2
2
|
name: ms-sequest
|
3
3
|
version: !ruby/object:Gem::Version
|
4
4
|
prerelease:
|
5
|
-
version: 0.1
|
5
|
+
version: 0.2.1
|
6
6
|
platform: ruby
|
7
7
|
authors:
|
8
8
|
- John T. Prince
|
@@ -10,75 +10,63 @@ autorequire:
|
|
10
10
|
bindir: bin
|
11
11
|
cert_chain: []
|
12
12
|
|
13
|
-
date: 2011-
|
14
|
-
default_executable:
|
13
|
+
date: 2011-09-13 00:00:00 Z
|
15
14
|
dependencies:
|
16
15
|
- !ruby/object:Gem::Dependency
|
17
|
-
name:
|
16
|
+
name: msplat
|
18
17
|
prerelease: false
|
19
18
|
requirement: &id001 !ruby/object:Gem::Requirement
|
20
19
|
none: false
|
21
20
|
requirements:
|
22
21
|
- - ">="
|
23
22
|
- !ruby/object:Gem::Version
|
24
|
-
version: 0.
|
23
|
+
version: 0.0.6
|
25
24
|
type: :runtime
|
26
25
|
version_requirements: *id001
|
27
|
-
- !ruby/object:Gem::Dependency
|
28
|
-
name: ms-core
|
29
|
-
prerelease: false
|
30
|
-
requirement: &id002 !ruby/object:Gem::Requirement
|
31
|
-
none: false
|
32
|
-
requirements:
|
33
|
-
- - ">="
|
34
|
-
- !ruby/object:Gem::Version
|
35
|
-
version: 0.0.19
|
36
|
-
type: :runtime
|
37
|
-
version_requirements: *id002
|
38
26
|
- !ruby/object:Gem::Dependency
|
39
27
|
name: trollop
|
40
28
|
prerelease: false
|
41
|
-
requirement: &
|
29
|
+
requirement: &id002 !ruby/object:Gem::Requirement
|
42
30
|
none: false
|
43
31
|
requirements:
|
44
32
|
- - ~>
|
45
33
|
- !ruby/object:Gem::Version
|
46
|
-
version: 1.16
|
34
|
+
version: "1.16"
|
47
35
|
type: :runtime
|
48
|
-
version_requirements: *
|
36
|
+
version_requirements: *id002
|
49
37
|
- !ruby/object:Gem::Dependency
|
50
38
|
name: jeweler
|
51
39
|
prerelease: false
|
52
|
-
requirement: &
|
40
|
+
requirement: &id003 !ruby/object:Gem::Requirement
|
53
41
|
none: false
|
54
42
|
requirements:
|
55
43
|
- - ~>
|
56
44
|
- !ruby/object:Gem::Version
|
57
45
|
version: 1.5.2
|
58
46
|
type: :development
|
59
|
-
version_requirements: *
|
47
|
+
version_requirements: *id003
|
60
48
|
- !ruby/object:Gem::Dependency
|
61
49
|
name: ms-testdata
|
62
50
|
prerelease: false
|
63
|
-
requirement: &
|
51
|
+
requirement: &id004 !ruby/object:Gem::Requirement
|
64
52
|
none: false
|
65
53
|
requirements:
|
66
54
|
- - ">="
|
67
55
|
- !ruby/object:Gem::Version
|
68
|
-
version: 0.
|
56
|
+
version: 0.2.1
|
69
57
|
type: :development
|
70
|
-
version_requirements: *
|
58
|
+
version_requirements: *id004
|
71
59
|
- !ruby/object:Gem::Dependency
|
72
60
|
name: spec-more
|
73
61
|
prerelease: false
|
74
|
-
requirement: &
|
62
|
+
requirement: &id005 !ruby/object:Gem::Requirement
|
75
63
|
none: false
|
76
64
|
requirements:
|
77
65
|
- - ">="
|
78
66
|
- !ruby/object:Gem::Version
|
79
|
-
version: 0
|
67
|
+
version: "0"
|
80
68
|
type: :development
|
81
|
-
version_requirements: *
|
69
|
+
version_requirements: *id005
|
82
70
|
description: reads .SRF, .SQT and supports conversions
|
83
71
|
email: jtprince@gmail.com
|
84
72
|
executables:
|
@@ -102,7 +90,6 @@ files:
|
|
102
90
|
- bin/srf_to_search.rb
|
103
91
|
- bin/srf_to_sqt.rb
|
104
92
|
- lib/ms/sequest.rb
|
105
|
-
- lib/ms/sequest/bioworks.rb
|
106
93
|
- lib/ms/sequest/params.rb
|
107
94
|
- lib/ms/sequest/pepxml.rb
|
108
95
|
- lib/ms/sequest/pepxml/modifications.rb
|
@@ -114,7 +101,6 @@ files:
|
|
114
101
|
- lib/ms/sequest/srf/search.rb
|
115
102
|
- lib/ms/sequest/srf/sqt.rb
|
116
103
|
- script/fasta_ipi_to_ncbi-ish.rb
|
117
|
-
- spec/ms/sequest/bioworks_spec.rb
|
118
104
|
- spec/ms/sequest/params_spec.rb
|
119
105
|
- spec/ms/sequest/pepxml/modifications_spec.rb
|
120
106
|
- spec/ms/sequest/pepxml_spec.rb
|
@@ -133,7 +119,6 @@ files:
|
|
133
119
|
- spec/testfiles/corrupted_900.srf
|
134
120
|
- spec/testfiles/small.sqt
|
135
121
|
- spec/testfiles/small2.sqt
|
136
|
-
has_rdoc: true
|
137
122
|
homepage: http://github.com/jtprince/ms-sequest
|
138
123
|
licenses:
|
139
124
|
- MIT
|
@@ -157,9 +142,19 @@ required_rubygems_version: !ruby/object:Gem::Requirement
|
|
157
142
|
requirements: []
|
158
143
|
|
159
144
|
rubyforge_project: mspire
|
160
|
-
rubygems_version: 1.
|
145
|
+
rubygems_version: 1.8.5
|
161
146
|
signing_key:
|
162
147
|
specification_version: 3
|
163
148
|
summary: An mspire library supporting SEQUEST, Bioworks, SQT, etc
|
164
|
-
test_files:
|
165
|
-
|
149
|
+
test_files:
|
150
|
+
- spec/ms/sequest/params_spec.rb
|
151
|
+
- spec/ms/sequest/pepxml/modifications_spec.rb
|
152
|
+
- spec/ms/sequest/pepxml_spec.rb
|
153
|
+
- spec/ms/sequest/sqt_spec.rb
|
154
|
+
- spec/ms/sequest/sqt_spec_helper.rb
|
155
|
+
- spec/ms/sequest/srf/pepxml_spec.rb
|
156
|
+
- spec/ms/sequest/srf/search_spec.rb
|
157
|
+
- spec/ms/sequest/srf/sqt_spec.rb
|
158
|
+
- spec/ms/sequest/srf_spec.rb
|
159
|
+
- spec/ms/sequest/srf_spec_helper.rb
|
160
|
+
- spec/spec_helper.rb
|