view emboss_multiple_outputfile_wrapper.pl @ 15:dbd24c72f166 draft

planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/emboss_5 commit fed02ef07e0a45f0d5a89cdca364607ab8da6cf9
author iuc
date Mon, 28 Jan 2019 11:20:53 -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";
	}
}