X-Git-Url: https://git.donarmstrong.com/?a=blobdiff_plain;f=bp_bin%2Fusearch_seq;fp=bp_bin%2Fusearch_seq;h=c390708a46fc8535a43b1b7f2b76d538334a01b8;hb=5a9b7c80e4e4428e404575ed3c0290cde15a7402;hp=20752854a1e2ef281bc3d2c0e7559a72313cedee;hpb=658943d07afe151e66c8ddfa0fc1708a48515f9d;p=biopieces.git diff --git a/bp_bin/usearch_seq b/bp_bin/usearch_seq index 2075285..c390708 100755 --- a/bp_bin/usearch_seq +++ b/bp_bin/usearch_seq @@ -50,7 +50,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 + if record[:SEQ_NAME] and record[:SEQ] fasta_io.puts Seq.new_bp(record).to_fasta end end