]> git.donarmstrong.com Git - biopieces.git/commitdiff
fixed defaults and key names
authormartinahansen <martinahansen@74ccb610-7750-0410-82ae-013aeee3265d>
Wed, 13 Mar 2013 09:25:30 +0000 (09:25 +0000)
committermartinahansen <martinahansen@74ccb610-7750-0410-82ae-013aeee3265d>
Wed, 13 Mar 2013 09:25:30 +0000 (09:25 +0000)
git-svn-id: http://biopieces.googlecode.com/svn/trunk@2138 74ccb610-7750-0410-82ae-013aeee3265d

bp_bin/assemble_pairs2

index f6d2f28594056689190bbb5e34d66ae183132836..3741222a0f2a03e9983f1d390017d4870bd092e0 100755 (executable)
@@ -35,7 +35,7 @@ require 'maasha/seq/assemble'
 require 'pp'
 
 casts = []
-casts << {:long=>'mismatches',  :short=>'m', :type=>'uint', :mandatory=>false, :default=>10,  :allowed=>nil, :disallowed=>nil}
+casts << {:long=>'mismatches',  :short=>'m', :type=>'uint', :mandatory=>false, :default=>5,   :allowed=>nil, :disallowed=>nil}
 casts << {:long=>'overlap_min', :short=>'o', :type=>'uint', :mandatory=>false, :default=>nil, :allowed=>nil, :disallowed=>"0"}
 casts << {:long=>'overlap_max', :short=>'p', :type=>'uint', :mandatory=>false, :default=>nil, :allowed=>nil, :disallowed=>"0"}
 
@@ -68,7 +68,7 @@ Biopieces.open(options[:stream_in], options[:stream_out]) do |input, output|
           new_record = merged.to_bp
 
           if merged.seq_name =~ /overlap=(\d+):hamming=(\d+)$/
-            new_record[:OVERLAP]      = $1
+            new_record[:OVERLAP_LEN]  = $1
             new_record[:HAMMING_DIST] = $2
           end