PageRenderTime 6ms CodeModel.GetById 2ms app.highlight 1ms RepoModel.GetById 1ms app.codeStats 0ms

/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
 3<tool name="Upload expression array raw files" id="uploadAffy" >
 4  <description>
 5     Affymetrix .CEL or NimbleGen .XYS files in Zip file from your computer  
 6  </description>
 7  <action module="com.lilly.cistrome.upload" class="CistromeUploadToolAction"/>
 8  <command interpreter="python">
 9    upload.py $paramfile
10    #set $outnum = 0
11    #while $varExists('output%i' % $outnum):
12        #set $output = $getVar('output%i' % $outnum)
13        #set $outnum += 1
14        ${output.dataset.dataset.id}:${output.files_path}:${output}
15    #end while
16  </command>
17  <inputs>
18    <param name="async_datasets" type="hidden" value="None"/>
19    <param name="file_type" type="hidden" value="auto"/>
20    <upload_dataset name="files" title="Specify Files for Dataset" file_type_name="file_type" metadata_ref="files_metadata">
21      <param name="file_data" type="file" size="30" label="File: (Please read the instruction to prepare your Zip file)" ajax-upload="true"/> 
22      <param name="url_paste" type="hidden" value=""/> 
23      <param name="ftp_files" type="hidden" value="" label="Files uploaded via ASPERA"/>
24      <param name="space_to_tab" type="hidden" value="Yes"/>
25    </upload_dataset>
26    <param name="dbkey" type="hidden" value="?"/>
27    <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" />
28  </inputs>
29  <help>
30  
31**Syntax**
32
33- **File** is a .zip archive containing .CEL or .XYS files, plus a .TXT pheno file.
34
35-----
36
37This 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.
38
39Example of phenotype file::
40
41    Sample            Key              Group
42    1478-1-U133A-CEL  Down Syndrome    0
43    748-1-U133A.CEL   Down Syndrome    0
44    1218-1-U133A.CEL  Down Syndrome    0
45    1389-1-U133A.CEL  Down Syndrome    0
46    1479-1-U133A.CEL  Normal           1
47    1521-1-U133A.CEL  Normal           1
48    1390-1-U133A.CEL  Normal           1
49    1411-1-U133A.CEL  Normal           1
50
51The .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.
52
53  </help>
54</tool>
55