]> git.donarmstrong.com Git - biopieces.git/blobdiff - bp_bin/blast_seq
backtrack.rb polish
[biopieces.git] / 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";