]> git.donarmstrong.com Git - biopieces.git/blobdiff - bp_bin/uclust_seq
fixing usearch upgrade
[biopieces.git] / bp_bin / uclust_seq
index f155bdf53f06328bfe5d0c62232a667d3ee45d2c..5a6d0ef901a1f9cb298b324106c568c721a50b1d 100755 (executable)
@@ -33,9 +33,10 @@ require 'maasha/fasta'
 require 'maasha/usearch'
 
 casts = []
-casts << {:long=>'no_sort',  :short=>'n', :type=>'flag',   :mandatory=>false, :default=>nil, :allowed=>nil, :disallowed=>nil}
-casts << {:long=>'comp',     :short=>'c', :type=>'flag',   :mandatory=>false, :default=>nil, :allowed=>nil, :disallowed=>nil}
-casts << {:long=>'identity', :short=>'i', :type=>'float',  :mandatory=>true,  :default=>0.9, :allowed=>nil, :disallowed=>nil}
+casts << {long: 'no_sort',  short: 'n', type: 'flag',  mandatory: false, default: nil, allowed: nil, disallowed: nil}
+casts << {long: 'comp',     short: 'c', type: 'flag',  mandatory: false, default: nil, allowed: nil, disallowed: nil}
+casts << {long: 'identity', short: 'i', type: 'float', mandatory: true,  default: 0.9, allowed: nil, disallowed: nil}
+casts << {long: 'cpus',     short: 'C', type: 'uint',  mandatory: false, default: 1,   allowed: nil, disallowed: "0"}
 
 options = Biopieces.options_parse(ARGV, casts)