view emboss_multiple_outputfile_wrapper.pl @ 15:dc492eb6a4fc draft

planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/emboss_5 commit 431486be049407b094d495ae4a68bf76d27fa522
author iuc
date Mon, 28 Jan 2019 14:50:36 -0500
parents d49956b87f7e
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";
	}
}