From: martinahansen Date: Wed, 19 Sep 2012 11:19:11 +0000 (+0000) Subject: fixed database type guess for blast_seq X-Git-Url: https://git.donarmstrong.com/?a=commitdiff_plain;h=f4d855b1960c1ee94da3e5300babf4939a16e57d;p=biopieces.git fixed database type guess for blast_seq git-svn-id: http://biopieces.googlecode.com/svn/trunk@1932 74ccb610-7750-0410-82ae-013aeee3265d --- 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";