X-Git-Url: https://git.donarmstrong.com/?a=blobdiff_plain;f=bp_bin%2Fread_fasta;h=e6494405f4ae7ebd844cebdebf67e495b036acfc;hb=2f0fd91b461033529a4a72e161bd133252a22eb6;hp=8bc5874f55dc0a6399e78c6a29167af9fdb773c1;hpb=b1fadc0ce9224b6a13f8deae332bb902a54c65af;p=biopieces.git diff --git a/bp_bin/read_fasta b/bp_bin/read_fasta index 8bc5874..e649440 100755 --- a/bp_bin/read_fasta +++ b/bp_bin/read_fasta @@ -49,7 +49,7 @@ Biopieces.open(options[:stream_in], options[:stream_out]) do |input, output| if options[:data_in] options[:data_in].each do |file| - Fasta.open(file, mode='r') do |fasta| + Fasta.open(file, 'r') do |fasta| fasta.each do |entry| output.puts entry.to_bp num += 1