From d8616c34c76ed72cd6cf290add6abcc4b8470994 Mon Sep 17 00:00:00 2001 From: martinahansen Date: Tue, 14 Jun 2011 08:37:41 +0000 Subject: [PATCH] blast_seq_pair polish git-svn-id: http://biopieces.googlecode.com/svn/trunk@1472 74ccb610-7750-0410-82ae-013aeee3265d --- bp_bin/blast_seq_pair | 2 ++ 1 file changed, 2 insertions(+) diff --git a/bp_bin/blast_seq_pair b/bp_bin/blast_seq_pair index 5c4c678..b6529fb 100755 --- a/bp_bin/blast_seq_pair +++ b/bp_bin/blast_seq_pair @@ -151,6 +151,7 @@ casts << {:long=>'no_gaps', :short=>'G', :type=>'flag', :mandatory=>false, : options = Biopieces.options_parse(ARGV, casts) tmpdir = Biopieces.mktmpdir +tmpdir = "Tmp" infile1 = File.join(tmpdir, "in1.fna") infile2 = File.join(tmpdir, "in2.fna") outfile = File.join(tmpdir, "blast.out") @@ -172,6 +173,7 @@ Biopieces.open(options[:stream_in], options[:stream_out]) do |input, output| got1 = true type1 = Seq.new(nil, record[:SEQ][0 ... 100]).type_guess + next end unless got2 -- 2.39.2