X-Git-Url: https://git.donarmstrong.com/?a=blobdiff_plain;f=bp_bin%2Fassemble_pairs;h=a101f3e16d0b0f09aa2f9dd9380c44bb1ef46231;hb=48bea5c28b89dc5586d0bddb338ccd6ba23aa1f9;hp=4bb1152d5ebea74aec4786eab5db1c2d5ef11109;hpb=af282a65d141826c15944437b07a0353dd14e79c;p=biopieces.git diff --git a/bp_bin/assemble_pairs b/bp_bin/assemble_pairs index 4bb1152..a101f3e 100755 --- a/bp_bin/assemble_pairs +++ b/bp_bin/assemble_pairs @@ -92,9 +92,8 @@ Biopieces.open(options[:stream_in], options[:stream_out]) do |input, output| if merged new_record = merged.to_bp - if merged.seq_name =~ /overlap=(\d+):hamming=(\d+)$/ - new_record[:OVERLAP_LEN] = $1 - new_record[:HAMMING_DIST] = $2 + if merged.seq_name =~ /overlap=(\d+)$/ + new_record[:OVERLAP_LEN] = $1 end output.puts new_record