seqtrimnext 2.0.38 → 2.0.39
Sign up to get free protection for your applications and to get access to all the features.
- data/History.txt +4 -0
- data/bin/seqtrimnext +4 -4
- data/lib/seqtrimnext.rb +1 -1
- metadata +1 -1
data/History.txt
CHANGED
data/bin/seqtrimnext
CHANGED
@@ -237,12 +237,12 @@ optparse = OptionParser.new do |opts|
|
|
237
237
|
options[:qual] = file
|
238
238
|
end
|
239
239
|
|
240
|
-
|
241
|
-
|
242
240
|
options[:list_db] = nil
|
241
|
+
options[:list_db_name] = 'ALL'
|
242
|
+
|
243
243
|
opts.on( '-L', '--list_db [DB_NAME]', 'List entries IDs in DB_NAME. Use "-L all" to view all available databases' ) do |value|
|
244
244
|
options[:list_db] = true
|
245
|
-
options[:list_db_name] = value
|
245
|
+
options[:list_db_name] = value if value
|
246
246
|
end
|
247
247
|
|
248
248
|
options[:gen_params] = false
|
@@ -280,7 +280,7 @@ optparse.parse!
|
|
280
280
|
|
281
281
|
if options[:list_db] then
|
282
282
|
# List database entries in a database
|
283
|
-
ListDb.new($DB_PATH,options[:
|
283
|
+
ListDb.new($DB_PATH,options[:list_db_name])
|
284
284
|
exit
|
285
285
|
end
|
286
286
|
|
data/lib/seqtrimnext.rb
CHANGED