X-Git-Url: https://git.donarmstrong.com/?a=blobdiff_plain;f=bp_bin%2Fblast_seq_pair;h=854ee424c3201110c9fb48f1dfcbe085737a884b;hb=5de6112b70b59420b245ce636a8b2e3c90acbe00;hp=73c74154a7340809fbe0784726dc83791f1dc071;hpb=d04a85629d2657266f42d30e5be6c8c03014d44a;p=biopieces.git diff --git a/bp_bin/blast_seq_pair b/bp_bin/blast_seq_pair index 73c7415..854ee42 100755 --- a/bp_bin/blast_seq_pair +++ b/bp_bin/blast_seq_pair @@ -175,14 +175,14 @@ Biopieces.open(options[:stream_in], options[:stream_out]) do |input, output| end got1 = true - type1 = Seq.new(nil, record[:SEQ][0 ... 100]).type_guess + type1 = Seq.new(seq: record[:SEQ][0 ... 100]).type_guess elsif got2.nil? Fasta.open(infile2, "w") do |fasta_io| fasta_io.puts seq.to_fasta end got2 = true - type2 = Seq.new(nil, record[:SEQ][0 ... 100]).type_guess + type2 = Seq.new(seq: record[:SEQ][0 ... 100]).type_guess end if got1 and got2