view bundle_collection.xml @ 0:bae199dc511f draft

planemo upload commit 75c510cf71217015f3f83baf61a4a54a3a1f4bfd
author nml
date Fri, 20 Nov 2015 10:23:17 -0500
parents
children cd6da887a5f4
line wrap: on
line source

<tool id="bundle_collection" name="Bundle Collection" version="1.0.1">
	<description>Download a collection of files</description>
	<command interpreter="perl">bundle_collection.pl -h $html_file -p $html_file.files_path
		#for $f in $input.keys
			-i "$f,$input[$f].ext=$input[$f]" 
			#if $input[$f].metadata.bam_index and $input[$f].metadata.bam_index != "None"
				#set $bamind = $f+","+$input[$f].ext+".bai="+$input[$f].metadata.bam_index
				-i "$bamind"
			#end if
		#end for
	</command>

	<inputs>
		<param name="input" type="data_collection" label="Data Collection" collection_type="list"/>
	</inputs>

	<outputs>
		<data name="html_file" format="html" label="Bundled Collection" />
	</outputs>
	<help>
		***What it does**
		
		This tool will bundle up files in a list collection into a downloadable zip file

		Author: Mariam Iskander and Jen Cabral
	</help>

</tool>