X-Git-Url: https://git.donarmstrong.com/?a=blobdiff_plain;f=bp_bin%2Fbwa_seq;h=fd807821dac3dfe3728a8b34dae9f7ee1ec25fc3;hb=5de6112b70b59420b245ce636a8b2e3c90acbe00;hp=4fd89a253427fa7ab8f24c52785317cbf1fc1de3;hpb=d6d1ccffc4d007466510ec12469ca16ce3d42f66;p=biopieces.git diff --git a/bp_bin/bwa_seq b/bp_bin/bwa_seq index 4fd89a2..fd80782 100755 --- a/bp_bin/bwa_seq +++ b/bp_bin/bwa_seq @@ -102,7 +102,7 @@ Biopieces.open(options[:stream_in], options[:stream_out]) do |input, output| input.each_record do |record| output.puts record - if record.has_key? :SEQ_NAME and record.has_key? :SEQ and record.has_key? :SCORES + if record[:SEQ_NAME] and record[:SEQ] and record[:SCORES] entry = Seq.new_bp(record) io_fq.puts entry.to_fastq