X-Git-Url: https://git.donarmstrong.com/?a=blobdiff_plain;f=bp_bin%2Fcreate_vmatch_index;h=b5d4d0e97d213a1ca2544ed378c7c1b1cc9fcd07;hb=5de6112b70b59420b245ce636a8b2e3c90acbe00;hp=bf467b21cdb27170755ddc852816c8f941d87039;hpb=419be2f2a21320a51e973a046e942a8f3514a32b;p=biopieces.git diff --git a/bp_bin/create_vmatch_index b/bp_bin/create_vmatch_index index bf467b2..b5d4d0e 100755 --- a/bp_bin/create_vmatch_index +++ b/bp_bin/create_vmatch_index @@ -69,9 +69,9 @@ while ( $record = Maasha::Biopieces::get_record( $in ) ) close $fh_tmp; if ( $options->{ 'verbose' } ) { - Maasha::Common::run( "mkvtree", "-db $file_tmp -$type -pl -allout -indexname $options->{ 'index_name' }" ); + Maasha::Common::run( "mkvtree", "-db $file_tmp -" . ( lc $type ) . " -pl -allout -indexname $options->{ 'index_name' }" ); } else { - Maasha::Common::run( "mkvtree", "-db $file_tmp -$type -pl -allout -indexname $options->{ 'index_name' } > /dev/null 2>&1" ); + Maasha::Common::run( "mkvtree", "-db $file_tmp -" . ( lc $type ) . " -pl -allout -indexname $options->{ 'index_name' } > /dev/null 2>&1" ); } unlink $file_tmp;