From f4d855b1960c1ee94da3e5300babf4939a16e57d Mon Sep 17 00:00:00 2001 From: martinahansen Date: Wed, 19 Sep 2012 11:19:11 +0000 Subject: [PATCH] fixed database type guess for blast_seq git-svn-id: http://biopieces.googlecode.com/svn/trunk@1932 74ccb610-7750-0410-82ae-013aeee3265d --- bp_bin/blast_seq | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/bp_bin/blast_seq b/bp_bin/blast_seq index 3c4df0d..ccca6d4 100755 --- a/bp_bin/blast_seq +++ b/bp_bin/blast_seq @@ -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"; -- 2.39.5