Mercurial > repos > xuebing > sharplabtool
diff tools/emboss_5/emboss_banana.pl @ 0:9071e359b9a3
Uploaded
author | xuebing |
---|---|
date | Fri, 09 Mar 2012 19:37:19 -0500 |
parents | |
children |
line wrap: on
line diff
--- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/tools/emboss_5/emboss_banana.pl Fri Mar 09 19:37:19 2012 -0500 @@ -0,0 +1,16 @@ +#! /usr/bin/perl -w +use strict; + +my $cmd_string = join (" ",@ARGV); +#my $cmd_string = "/home/djb396/temp/emboss/bin/banana -sequence /home/djb396/universe-prototype/test.fasta -outfile result.txt -graph png -goutfile results -auto"; +my $results = `$cmd_string`; +my @files = split("\n",$results); +foreach my $thisLine (@files) +{ + if ($thisLine =~ /Created /i) + { + $thisLine =~ /[\w|\.]+$/; + $thisLine =$&; + print "outfile: $thisLine\n"; + } +}