![](https://secure.gravatar.com/avatar/8e8178c49cf20b1990941952c90c9b11.jpg?s=120&d=mm&r=g)
Hi dev, I have written a perl script to perform some complex demultiplexing of reads. It works well on my computer but the integration to Galaxy is a bit tricky since it's the first time for me. At one point my perl script generates a bunch of fasta files, I want all this fasta files to be compressed and I use a tar command within the script to do so. I am not sure how to do the same within the Galaxy execution. I think it might work out with the "from_work_dir" attributes of the output tag but I don't know exactly where my script should write these fasta files and compress them so that the archive could be retrieve. I don't know either what to put in the "format" attributes since gz is not in the supported datatype or is it ? Should I create a new datatype ? The ending point of my tool would be to have the user be able to download one compressed file that would contains all the sorted fasta files. Cheers, Philippe