view DownloadFiles.xml @ 0:272bdc723756 draft

Initial Commit
author geert-vandeweyer
date Thu, 10 Jan 2013 04:08:33 -0500
parents
children
line wrap: on
line source

<tool id="DownloadFiles" name="Files_2_FTP" version="0.0.1">
  <description>Copy Files to your FTP account for easy download</description>
  <command interpreter="python">DownloadFiles.py "$outfile" "$__user_email__" "$foldername"  "$__app__.config.ftp_upload_dir"
	#for $q in $datafiles
		"${q.input2}" "${q.input2.display_name}" "${q.input2.ext}"
	#end for

</command>
  <inputs>
  <param name="foldername" type="text" label="Folder To Create on FTP server" help="This folder will hold the transferred data"/>
  <repeat name="datafiles" title="Data Files to download">
	<!-- <param format="bam,tabular,bed,ab1,afg,axt,bedgraph,bedstrict,bed6,bed12,len,bigbed,bigwig,coverage,csv,customtrack,bowtie_color_index,bowtie_base_index,fastq,fastqsanger,fastqsolexa,fastqcssanger,fastqillumina,eland,elandmulti,genetrack,gff,gff3,gif,gmaj.zip,gtf,html,interval,picard_interval_list,gatk_interval,gatk_dbsnp,jpg,laj,lav,maf,mafcustomtrack,pdf,pileup,png,qual,qualsolexa,qualillumina,qualsolid,qual454,Roadmaps,sam,scf,Sequences,sff,svg,taxonomy,txt,memexml,blastxml,vcf,wsf,velvet,wig" name="input2" type="data" label="Select" /> -->
	<param name="input2" type="data" label="Select" />
  </repeat> 

  </inputs>
  <outputs>
    <data format="html" name="outfile" />
  </outputs>

<help>
**What it does**

Copies selected datasets to your FTP account on this galaxy instance. You can then use an FTP client to download the files.  
The files will be placed in a subfolder with the specified name. If no name is specified, a folder with the current data will be used. 
**Input**

Any dataset from the history.

**Output**

An html file, with an overview of the copied files.

</help>

</tool>