view emboss_multiple_outputfile_wrapper.pl @ 12:ace31bbde4c0 draft

planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/emboss_5 commit 9d484642914b581ce35f254466b849d3c4c2c06c
author iuc
date Thu, 23 Feb 2017 09:43:32 -0500
parents 9b98d3d903c6
children
line wrap: on
line source

#! /usr/bin/perl -w
use strict;

my $cmd_string = join (" ",@ARGV);
my $results = `$cmd_string`;
my @files = split("\n",$results);
foreach my $thisLine (@files)
{
	if ($thisLine =~ /Created /)
	{
		$thisLine =~ /[\w|\.]+$/;
		$thisLine =$&;
		print "outfile: $thisLine\n";
	}
	else
	{
		print $thisLine,"\n";
	}
}