From: martinahansen Date: Sun, 31 Jan 2010 10:07:15 +0000 (+0000) Subject: fixed sequence type guessing in create_blast_index X-Git-Url: https://git.donarmstrong.com/?a=commitdiff_plain;h=8ebf08f44f815ee4d9e6555b1befcd49fd5bc2b8;p=biopieces.git fixed sequence type guessing in create_blast_index git-svn-id: http://biopieces.googlecode.com/svn/trunk@855 74ccb610-7750-0410-82ae-013aeee3265d --- diff --git a/bp_bin/create_blast_index b/bp_bin/create_blast_index index 9c04c04..61f75ff 100755 --- a/bp_bin/create_blast_index +++ b/bp_bin/create_blast_index @@ -69,7 +69,7 @@ close $fh_tmp; $arg = "-t $options->{ 'index_name' }"; -if ( $seq_type eq "protein" ) { +if ( $seq_type =~ /protein/i ) { $arg .= " -p T"; } else { $arg .= " -p F";