use strict;
use Maasha::Biopieces;
+use Maasha::Common;
use Maasha::Fasta;
use Maasha::Filesys;
use Maasha::Patscan;
# >>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>><<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<
-my ( $options, $in, $out, $record, @args, $arg, $type, $tmp_dir,
- $seq_file, $pat_file, $out_file, $fh_in, $fh_out, $patterns, $pattern, $entry, $result, %head_hash, $i );
+my ( $options, $in, $out, $record, @args, $arg, $type, $tmp_dir, $seq_file, $pat_file, $out_file,
+ $fh_in, $fh_out, $patterns, $pattern, $entry, $result, %head_hash, $i );
$options = Maasha::Biopieces::parse_options(
[
pat_write( $pat_file, $pattern );
`scan_for_matches $arg $pat_file < $seq_file > $out_file`;
- # Maasha::Common::run( "scan_for_matches", "$arg $pat_file < $seq_file > $out_file" );
+# Maasha::Common::run( "scan_for_matches", "$arg $pat_file < $seq_file > $out_file" );
$fh_in = Maasha::Filesys::file_read_open( $out_file );
unlink $out_file;
unlink $seq_file if not $options->{ 'genome' };
-Maasha::Filesys::dir_remove( $tmp_dir );
-
Maasha::Biopieces::close_stream( $in );
Maasha::Biopieces::close_stream( $out );