use Data::Dumper;
use SVG;
use IPC::Open2;
-use Time::HiRes qw( gettimeofday );
use Maasha::Common;
-use Maasha::Calc;
+use Maasha::Filesys;
+use Maasha::Seq;
use vars qw ( @ISA @EXPORT );
use constant {
$tmp_file = "$tmp_dir/lineplot_simple.tab";
- $fh_out = Maasha::Common::write_open( $tmp_file );
+ $fh_out = Maasha::Filesys::file_write_open( $tmp_file );
map { print $fh_out join( "\t", @{ $_ } ), "\n" } @{ $data };
$forward_file = "$tmp_dir/match_f.tab";
$backward_file = "$tmp_dir/match_r.tab";
- $fh_forward = Maasha::Common::write_open( $forward_file );
- $fh_backward = Maasha::Common::write_open( $backward_file );
+ $fh_forward = Maasha::Filesys::file_write_open( $forward_file );
+ $fh_backward = Maasha::Filesys::file_write_open( $backward_file );
$q_max = 0;
$s_max = 0;
# stalk => "gray66",
);
- $fh = Maasha::Common::read_open( $file );
+ $fh = Maasha::Filesys::file_read_open( $file );
while ( $line = <$fh> )
{