| 0 | 1 <tool id="catdc" name="Concatenate datasets (in docker)"> | 
|  | 2     <description>tail-to-head</description> | 
|  | 3     <requirements> | 
|  | 4       <container type="docker">busybox:ubuntu-12.04</container> | 
|  | 5     </requirements> | 
|  | 6     <command> | 
|  | 7       echo "Galaxy slots passed through contain as \$GALAXY_SLOTS"; | 
|  | 8       cat $input1 | 
|  | 9       #for $q in $queries | 
|  | 10             ${q.input2} | 
|  | 11       #end for | 
|  | 12       > $out_file1; | 
|  | 13       echo "Work dir output" > working_file | 
|  | 14 | 
|  | 15     </command> | 
|  | 16     <inputs> | 
|  | 17         <param name="input1" type="data" label="Concatenate Dataset"/> | 
|  | 18         <repeat name="queries" title="Dataset"> | 
|  | 19             <param name="input2" type="data" label="Select" /> | 
|  | 20         </repeat> | 
|  | 21     </inputs> | 
|  | 22     <outputs> | 
|  | 23         <data name="out_file1" format="input" metadata_source="input1"/> | 
|  | 24         <data name="out_file2" format="txt" from_work_dir="working_file" /> | 
|  | 25     </outputs> | 
|  | 26     <help> | 
|  | 27     </help> | 
|  | 28 </tool> |