]> git.donarmstrong.com Git - biopieces.git/commitdiff
blast_seq_pair polish
authormartinahansen <martinahansen@74ccb610-7750-0410-82ae-013aeee3265d>
Tue, 14 Jun 2011 08:37:41 +0000 (08:37 +0000)
committermartinahansen <martinahansen@74ccb610-7750-0410-82ae-013aeee3265d>
Tue, 14 Jun 2011 08:37:41 +0000 (08:37 +0000)
git-svn-id: http://biopieces.googlecode.com/svn/trunk@1472 74ccb610-7750-0410-82ae-013aeee3265d

bp_bin/blast_seq_pair

index 5c4c678a4bbc7f89eb25aeb82f2d8a1ca2e3dfe4..b6529fb4017a6c5d873747a7a26f8ab2560b0c1b 100755 (executable)
@@ -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