From 8ebf08f44f815ee4d9e6555b1befcd49fd5bc2b8 Mon Sep 17 00:00:00 2001 From: martinahansen Date: Sun, 31 Jan 2010 10:07:15 +0000 Subject: [PATCH] fixed sequence type guessing in create_blast_index git-svn-id: http://biopieces.googlecode.com/svn/trunk@855 74ccb610-7750-0410-82ae-013aeee3265d --- bp_bin/create_blast_index | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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"; -- 2.39.5