view emboss_5/emboss_multiple_outputfile_wrapper.pl @ 5:2cf967772a40

Fix for emboss_format_corrector.py. Datatypes should be changed before the job is run.
author Daniel Blankenberg <dan@bx.psu.edu>
date Fri, 11 Oct 2013 14:10:00 -0400
parents b94ca591877b
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";
	}
}