]> git.donarmstrong.com Git - rsem.git/blobdiff - rsem-plot-transcript-wiggles
Added support for DE analysis on multiple conditions via running EBSeq
[rsem.git] / rsem-plot-transcript-wiggles
index 35dfd75544c7d50d6afa61a41d39ecd8c3241608..efe00ba91863d7125268d0e492d602ae6b9cbeb7 100755 (executable)
@@ -2,7 +2,8 @@
 
 use Getopt::Long;
 use Pod::Usage;
-use File::Basename;
+use FindBin;
+use lib $FindBin::Bin;
 use strict;
 
 use rsem_perl_utils;
@@ -18,7 +19,7 @@ GetOptions("gene-list" => \$gene_list,
 pod2usage(-verbose => 2) if ($help == 1);
 pod2usage(-msg => "Invalid number of arguments!", -exitval => 2, -verbose => 2) if (scalar(@ARGV) != 3);
 
-my ($fn, $dir, $suf) = fileparse($0);
+my $dir = "$FindBin::Bin/";
 my $command = "";
 
 unless (-e "$ARGV[0].transcript.sorted.bam") {
@@ -56,11 +57,7 @@ rsem-plot-transcript-wiggles
 
 =head1 SYNOPSIS
 
-=over
-
- rsem-plot-transcript-wiggles [options] sample_name input_list output_plot_file
-
-=back
+rsem-plot-transcript-wiggles [options] sample_name input_list output_plot_file
 
 =head1 ARGUMENTS