]> git.donarmstrong.com Git - biopieces.git/blobdiff - bp_bin/bwa_seq
fixed issues in bwa_seq
[biopieces.git] / bp_bin / bwa_seq
index 80c5b5cc87385d4eeb032b1229cb1722bd26b095..4fd89a253427fa7ab8f24c52785317cbf1fc1de3 100755 (executable)
@@ -116,7 +116,7 @@ Biopieces.open(options[:stream_in], options[:stream_out]) do |input, output|
 
   Sam.open(tmp_sam, 'r') do |io_sam|
     io_sam.each do |entry|
-      output.puts Sam.to_bp(entry)
+      output.puts Sam.to_bp(entry) unless entry[:RNAME] == '*'
     end
   end
 end