]> git.donarmstrong.com Git - biopieces.git/commitdiff
fixed database type guess for blast_seq
authormartinahansen <martinahansen@74ccb610-7750-0410-82ae-013aeee3265d>
Wed, 19 Sep 2012 11:19:11 +0000 (11:19 +0000)
committermartinahansen <martinahansen@74ccb610-7750-0410-82ae-013aeee3265d>
Wed, 19 Sep 2012 11:19:11 +0000 (11:19 +0000)
git-svn-id: http://biopieces.googlecode.com/svn/trunk@1932 74ccb610-7750-0410-82ae-013aeee3265d

bp_bin/blast_seq

index 3c4df0d585b12e9f3f6ea371618231804979a7fc..ccca6d42838da08b69ce4d65719d399098f35994 100755 (executable)
@@ -174,7 +174,7 @@ sub guess_database_type
     # a .phr file exists.
 
     # Returns string;
-    if ( -f $options->{ 'database' } . ".phr" ) {
+    if ( -f $options->{ 'database' } . ".phr" or -f $options->{ 'database' } . ".pal" ) {
         return "PROTEIN";
     } else {
         return "NUCLEOTIDE";