X-Git-Url: https://git.donarmstrong.com/?a=blobdiff_plain;f=bp_bin%2Fcreate_bowtie2_index;h=73545eb3bcdf44e2db640bc159817b6aabfe3b78;hb=2f0fd91b461033529a4a72e161bd133252a22eb6;hp=bce4f88d4b3bec2f67f026df71f3be75c1eff8f6;hpb=b1fadc0ce9224b6a13f8deae332bb902a54c65af;p=biopieces.git diff --git a/bp_bin/create_bowtie2_index b/bp_bin/create_bowtie2_index index bce4f88..73545eb 100755 --- a/bp_bin/create_bowtie2_index +++ b/bp_bin/create_bowtie2_index @@ -46,7 +46,7 @@ tmpdir = Biopieces.mktmpdir tmpfile = File.join(tmpdir, "tmp.fna") Biopieces.open(options[:stream_in], options[:stream_out]) do |input, output| - Fasta.open(tmpfile, mode="w") do |fasta_io| + Fasta.open(tmpfile, "w") do |fasta_io| input.each_record do |record| output.puts record unless options[:no_stream]