ms-sequest 0.0.14 → 0.0.15
Sign up to get free protection for your applications and to get access to all the features.
- data/History +4 -0
- data/VERSION +1 -1
- data/lib/ms/sequest/srf/search.rb +4 -2
- data/lib/ms/sequest/srf/sqt.rb +3 -7
- metadata +3 -3
data/History
CHANGED
data/VERSION
CHANGED
@@ -1 +1 @@
|
|
1
|
-
0.0.
|
1
|
+
0.0.15
|
@@ -128,10 +128,12 @@ module Ms::Sequest::Srf::Search
|
|
128
128
|
|
129
129
|
format = opt[:format]
|
130
130
|
|
131
|
-
|
131
|
+
if opt[:outfiles] && (opt[:outfiles].size != argv.size)
|
132
|
+
raise "if outfiles specified, needs the same number of files as input files"
|
133
|
+
end
|
132
134
|
|
133
135
|
argv.each_with_index do |srf_file,i|
|
134
|
-
base = srf_file.
|
136
|
+
base = srf_file.chomp(File.extname(srf_file))
|
135
137
|
newfile =
|
136
138
|
if opt[:outfiles]
|
137
139
|
opt[:outfiles][i]
|
data/lib/ms/sequest/srf/sqt.rb
CHANGED
@@ -11,12 +11,6 @@ module Ms
|
|
11
11
|
|
12
12
|
module Sqt
|
13
13
|
|
14
|
-
def self.commandline(argv)
|
15
|
-
require 'optparse'
|
16
|
-
|
17
|
-
|
18
|
-
end
|
19
|
-
|
20
14
|
# the out_filename will be the base_name + .sqt unless 'out_filename' is
|
21
15
|
# defined
|
22
16
|
# :round => round floating point numbers
|
@@ -204,7 +198,9 @@ module Ms::Sequest::Srf::Sqt
|
|
204
198
|
puts(opts) || exit
|
205
199
|
end
|
206
200
|
|
207
|
-
|
201
|
+
if opt[:outfiles] && (opt[:outfiles].size != argv.size)
|
202
|
+
raise "if outfiles specified, outfiles must be same size as number of input files"
|
203
|
+
end
|
208
204
|
|
209
205
|
argv.each_with_index do |srf_file,i|
|
210
206
|
outfile =
|
metadata
CHANGED
@@ -5,8 +5,8 @@ version: !ruby/object:Gem::Version
|
|
5
5
|
segments:
|
6
6
|
- 0
|
7
7
|
- 0
|
8
|
-
-
|
9
|
-
version: 0.0.
|
8
|
+
- 15
|
9
|
+
version: 0.0.15
|
10
10
|
platform: ruby
|
11
11
|
authors:
|
12
12
|
- John T. Prince
|
@@ -14,7 +14,7 @@ autorequire:
|
|
14
14
|
bindir: bin
|
15
15
|
cert_chain: []
|
16
16
|
|
17
|
-
date: 2010-08-
|
17
|
+
date: 2010-08-25 00:00:00 -06:00
|
18
18
|
default_executable:
|
19
19
|
dependencies:
|
20
20
|
- !ruby/object:Gem::Dependency
|