Maasha::Common::dir_create_if_not_exists( $dst_dir );
- if ( Maasha::Common::file_size( $file ) < 200_000_000 )
- {
- &Maasha::Common::run( "mkvtree", "-db $src_dir/$file -dna -pl -allout -indexname $dst_dir/$file > /dev/null 3>&1" );
- }
- else
- {
+# if ( Maasha::Common::file_size( $file ) < 200_000_000 )
+# {
+# &Maasha::Common::run( "mkvtree", "-db $src_dir/$file -dna -pl -allout -indexname $dst_dir/$file > /dev/null 3>&1" );
+# }
+# else
+# {
$fh = Maasha::Common::read_open( "$src_dir/$file" );
while ( $entry = Maasha::Fasta::get_entry( $fh ) )
&Maasha::Common::run( "mkvtree", "-db $tmp_dir/$tmp_file -dna -pl -allout -indexname $dst_dir/$tmp_file > /dev/null 3>&1" );
unlink "$tmp_dir/$tmp_file";
- }
+# }
close $fh;
}