# HG changeset patch # User nml # Date 1501862649 14400 # Node ID cd6da887a5f43afcc420bcef4d80274e2582090c # Parent bae199dc511f15605d157c7d32c236487bfebc7e planemo upload commit 44ee87b603c444f0ae5f73dea57d4ed2f589a4eb diff -r bae199dc511f -r cd6da887a5f4 bundle_collection.xml --- a/bundle_collection.xml Fri Nov 20 10:23:17 2015 -0500 +++ b/bundle_collection.xml Fri Aug 04 12:04:09 2017 -0400 @@ -1,28 +1,71 @@ - + Download a collection of files + + + 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 + + #if $singles_or_list.type == "list": + + #if $singles_or_list.input: + #for $f in $singles_or_list.input.keys + -i "$f,$singles_or_list.input[$f].ext=$singles_or_list.input[$f]" + #if $singles_or_list.input[$f].metadata.bam_index and $singles_or_list.input[$f].metadata.bam_index != "None" + #set $bamind = $f+","+$singles_or_list.input[$f].ext+".bai="+$singles_or_list.input[$f].metadata.bam_index + -i "$bamind" + #end if + #end for + #end if + #elif $singles_or_list.type == "singles": + #for $dataset in $singles_or_list.single_files + #if $dataset.single_file: + -i "$dataset.single_file.name,$dataset.single_file.ext=$dataset.single_file" + #end if + + #if $dataset.single_file.metadata.bam_index and $dataset.single_file.metadata.bam_index != "None" + #set $bamind = $dataset.single_file.name+","+$dataset.single_file.ext+".bai="+$dataset.single_file.metadata.bam_index + -i "$bamind" + #end if + + #end for + #end if - + + + + + + + + + + + + + + + + + + + + ***What it does** - + This tool will bundle up files in a list collection into a downloadable zip file Author: Mariam Iskander and Jen Cabral + + +