/tools/expression/upload.xml

https://bitbucket.org/cistrome/cistrome-harvard/ · XML · 55 lines · 45 code · 10 blank · 0 comment · 0 complexity · 6b68355bdda278a7bf3a8359dc298ebd MD5 · raw file

  1. <?xml version="1.0"?>
  2. <tool name="Upload expression array raw files" id="uploadAffy" >
  3. <description>
  4. Affymetrix .CEL or NimbleGen .XYS files in Zip file from your computer
  5. </description>
  6. <action module="com.lilly.cistrome.upload" class="CistromeUploadToolAction"/>
  7. <command interpreter="python">
  8. upload.py $paramfile
  9. #set $outnum = 0
  10. #while $varExists('output%i' % $outnum):
  11. #set $output = $getVar('output%i' % $outnum)
  12. #set $outnum += 1
  13. ${output.dataset.dataset.id}:${output.files_path}:${output}
  14. #end while
  15. </command>
  16. <inputs>
  17. <param name="async_datasets" type="hidden" value="None"/>
  18. <param name="file_type" type="hidden" value="auto"/>
  19. <upload_dataset name="files" title="Specify Files for Dataset" file_type_name="file_type" metadata_ref="files_metadata">
  20. <param name="file_data" type="file" size="30" label="File: (Please read the instruction to prepare your Zip file)" ajax-upload="true"/>
  21. <param name="url_paste" type="hidden" value=""/>
  22. <param name="ftp_files" type="hidden" value="" label="Files uploaded via ASPERA"/>
  23. <param name="space_to_tab" type="hidden" value="Yes"/>
  24. </upload_dataset>
  25. <param name="dbkey" type="hidden" value="?"/>
  26. <conditional name="files_metadata" title="Specify metadata" value_from="self:app.datatypes_registry.get_upload_metadata_params" value_ref="file_type" value_ref_in_group="False" />
  27. </inputs>
  28. <help>
  29. **Syntax**
  30. - **File** is a .zip archive containing .CEL or .XYS files, plus a .TXT pheno file.
  31. -----
  32. This tool allows you to upload sets of Affymetrix .CEL or NimbleGen .XYS files, The file you upload must be a ZIP archive with a .zip extension containing at least two .cel or .xys files (not both) and there must be exactly one .txt (Tab delimited) phenotype file. The phenotype files should describe the data set and must contain a .Group. column with values 0 and 1 used to describe the members of sample and control groups.
  33. Example of phenotype file::
  34. Sample Key Group
  35. 1478-1-U133A-CEL Down Syndrome 0
  36. 748-1-U133A.CEL Down Syndrome 0
  37. 1218-1-U133A.CEL Down Syndrome 0
  38. 1389-1-U133A.CEL Down Syndrome 0
  39. 1479-1-U133A.CEL Normal 1
  40. 1521-1-U133A.CEL Normal 1
  41. 1390-1-U133A.CEL Normal 1
  42. 1411-1-U133A.CEL Normal 1
  43. The .zip archive will be shown in your Galaxy history after it is loaded. It can be used as input to the Gene Expression Index tool.
  44. </help>
  45. </tool>