X-Git-Url: https://git.donarmstrong.com/?a=blobdiff_plain;f=bp_bin%2Ffind_genes;h=88dacf2ddee0c7ec899a13cf6f008a7b6380e61b;hb=5de6112b70b59420b245ce636a8b2e3c90acbe00;hp=15e7f5703a74703a30f193cfcb5495beaa80d86f;hpb=6d44a734c42b4dc23e816ed5089e0443858bc03d;p=biopieces.git diff --git a/bp_bin/find_genes b/bp_bin/find_genes index 15e7f57..88dacf2 100755 --- a/bp_bin/find_genes +++ b/bp_bin/find_genes @@ -44,7 +44,7 @@ infile = File.join(tmpdir, "in.fna") outfile = File.join(tmpdir, "out.prodigal") Biopieces.open(options[:stream_in], options[:stream_out]) do |input, output| - Fasta.open(infile, mode="w") do |fasta_io| + Fasta.open(infile, "w") do |fasta_io| input.each_record do |record| output.puts record