Thanks Anton, I really appreciate this. Attached is a gz file "gaps_igf2wig.tar.gz" with: *the perl script "GAPSS_igf2wig.v2.pl" that actually needs to be run *the perl wrapper script "galaxy-wrapper_GAPSS_igf2wig.v2.pl" that handles the .xml input and executes the perl script. *the .xml file "GAPSS_igf2wig.v2.xml" *a test input file "bowtie_format.igf" If you need anything else just let me know. //Michel On Wed, 2010-02-17 at 08:58 -0500, Anton Nekrutenko wrote:
Michel:
Send us your wrapper and we'll take a look.
Tx,
anton galaxy team
On Feb 17, 2010, at 8:56 AM, vill wrote:
I have a perl script that splits a text file with genomic information (forward strand and reverse strand) in two separate files. One file for the forward strand and one file for the reverse strand.
I have written a wrapper so that Galaxy can execute this script. When my script outputs one file this files is listed as a history item. When I let my script output the two files only one history item gets created.
What I need to now is what extra variables do I need to output from the .xml file so that galaxy finds the two output files and puts both files in as a history item
I have been looking at the "interval2maf .py and .xml" I just can't figure out how this works, it seems that the history_id is important and the species is a list array and for every species a file gets created in the databas/tmp directory and when the file is created the tmp dir is deleted. Adding and extra file from the .py into this tmp dir does not end up in the history items, renaming the files seems to end up with no history items at all.
Cheers,
//Michel
_______________________________________________ galaxy-dev mailing list galaxy-dev@lists.bx.psu.edu http://lists.bx.psu.edu/listinfo/galaxy-dev
Anton Nekrutenko http://nekrut.bx.psu.edu http://usegalaxy.org