$arg = "-t $options->{ 'index_name' }";
-if ( $seq_type eq "protein" ) {
+if ( $seq_type eq "PROTEIN" ) {
$arg .= " -p T";
} else {
$arg .= " -p F";
}
+$arg .= " -v 12000";
$arg .= " -i $file_tmp";
if ( $options->{ 'verbose' } )
Maasha::Common::run( "formatdb", "$arg -l /dev/null" );
}
-Maasha::Filesys::dir_create( $options->{ 'directory' } );
+Maasha::Filesys::dir_create_if_not_exists( $options->{ 'directory' } );
unlink $file_tmp;