From 61aa1fe894646f8a2e0d041e7f45a13ba58c2047 Mon Sep 17 00:00:00 2001 From: Greg Von Kuster Date: Fri, 25 Apr 2008 19:05:56 +0000 Subject: [PATCH] Fix for EMBOSS 5 cpgplot tool. --- tools/emboss_5/emboss_cpgplot.xml | 28 ++++++++---------------- tools/emboss_5/emboss_cpgplot_wrapper.pl | 2 +- 2 files changed, 10 insertions(+), 20 deletions(-) diff --git a/tools/emboss_5/emboss_cpgplot.xml b/tools/emboss_5/emboss_cpgplot.xml index d7b2104a760..04ddb12c208 100644 --- a/tools/emboss_5/emboss_cpgplot.xml +++ b/tools/emboss_5/emboss_cpgplot.xml @@ -1,42 +1,32 @@ Plot CpG rich areas - emboss_cpgplot_wrapper.pl cpgplot -sequence $input1 -window $window -minlen $minlen -minpc $minpc -outfile $out_file1 -graph png -goutfile3 $out_file2 - -outfeat $out_file3 -offormat4 $out_format3 -minoe $minoe -auto + emboss_cpgplot_wrapper.pl /home/universe/linux-i686/EMBOSS-5.0.0/bin/cpgplot -sequence $input1 -window $window -minlen $minlen -minpc $minpc -outfile $outfile -graph png -goutfile $goutfile -outfeat $outfeat -minoe $minoe -auto - + - - + - + - + - - - - - - - - - + + + You can view the original documentation here_. - .. _here: http://emboss.sourceforge.net/apps/release/4.0/emboss/apps/cpgplot.html + .. _here: http://emboss.sourceforge.net/apps/release/5.0/emboss/apps/cpgplot.html \ No newline at end of file diff --git a/tools/emboss_5/emboss_cpgplot_wrapper.pl b/tools/emboss_5/emboss_cpgplot_wrapper.pl index 6d15d72ed37..6edbbbfd456 100644 --- a/tools/emboss_5/emboss_cpgplot_wrapper.pl +++ b/tools/emboss_5/emboss_cpgplot_wrapper.pl @@ -5,5 +5,5 @@ use File::Copy; my $cmd_string = join (" ",@ARGV); my $results = `$cmd_string`; my @files = split("\n",$results); -my $fileNameOut = $ARGV[16]; +my $fileNameOut = $ARGV[14]; move($fileNameOut.".1.png",$fileNameOut);