Mercurial > repos > melissacline > ucsc_xena_platform
annotate xena_import.xml @ 41:02b0824c7d60
Download data from any hub in the federated xena platform
author | jingchunzhu <jingchunzhu@gmail.com> |
---|---|
date | Mon, 27 Jul 2015 10:05:22 -0700 |
parents | fd24e220f240 |
children | d717d0c4c8f1 |
rev | line source |
---|---|
35
d8dc482ef970
add functionality to import probeMap
jingchunzhu <jingchunzhu@gmail.com>
parents:
8
diff
changeset
|
1 <tool id="xenaImport" name="XENA Import" version="0.0.1"> |
41
02b0824c7d60
Download data from any hub in the federated xena platform
jingchunzhu <jingchunzhu@gmail.com>
parents:
40
diff
changeset
|
2 <description>Load a Galaxy dataset into the Xena Server running on this galaxy instance</description> |
0 | 3 <requirements> |
4 <requirement type="package" version="1.0">installXena</requirement> | |
5 </requirements> | |
6 <command interpreter="python"> | |
7 xena_import.py ${xenaInputData} $outfile | |
35
d8dc482ef970
add functionality to import probeMap
jingchunzhu <jingchunzhu@gmail.com>
parents:
8
diff
changeset
|
8 --cohort "${cohort}" --type ${format.metadataType} |
d8dc482ef970
add functionality to import probeMap
jingchunzhu <jingchunzhu@gmail.com>
parents:
8
diff
changeset
|
9 #if $format.metadataType == "genomicMatrix" or $format.metadataType == "clinicalMatrix": |
d8dc482ef970
add functionality to import probeMap
jingchunzhu <jingchunzhu@gmail.com>
parents:
8
diff
changeset
|
10 #if $format.isCustom.dataSubType == "custom" |
d8dc482ef970
add functionality to import probeMap
jingchunzhu <jingchunzhu@gmail.com>
parents:
8
diff
changeset
|
11 #if $format.isCustom.customSubType |
d8dc482ef970
add functionality to import probeMap
jingchunzhu <jingchunzhu@gmail.com>
parents:
8
diff
changeset
|
12 --dataSubType "${format.isCustom.customSubType}" |
0 | 13 #end if |
14 #else | |
35
d8dc482ef970
add functionality to import probeMap
jingchunzhu <jingchunzhu@gmail.com>
parents:
8
diff
changeset
|
15 --dataSubType "${format.isCustom.dataSubType}" |
0 | 16 #end if |
17 #end if | |
35
d8dc482ef970
add functionality to import probeMap
jingchunzhu <jingchunzhu@gmail.com>
parents:
8
diff
changeset
|
18 |
d8dc482ef970
add functionality to import probeMap
jingchunzhu <jingchunzhu@gmail.com>
parents:
8
diff
changeset
|
19 #if $label |
d8dc482ef970
add functionality to import probeMap
jingchunzhu <jingchunzhu@gmail.com>
parents:
8
diff
changeset
|
20 --label "${label}" |
d8dc482ef970
add functionality to import probeMap
jingchunzhu <jingchunzhu@gmail.com>
parents:
8
diff
changeset
|
21 #else |
d8dc482ef970
add functionality to import probeMap
jingchunzhu <jingchunzhu@gmail.com>
parents:
8
diff
changeset
|
22 --label "${xenaInputData.name}" |
d8dc482ef970
add functionality to import probeMap
jingchunzhu <jingchunzhu@gmail.com>
parents:
8
diff
changeset
|
23 #end if |
d8dc482ef970
add functionality to import probeMap
jingchunzhu <jingchunzhu@gmail.com>
parents:
8
diff
changeset
|
24 |
d8dc482ef970
add functionality to import probeMap
jingchunzhu <jingchunzhu@gmail.com>
parents:
8
diff
changeset
|
25 #if $format.withProbeMap.probeMap =="select" |
d8dc482ef970
add functionality to import probeMap
jingchunzhu <jingchunzhu@gmail.com>
parents:
8
diff
changeset
|
26 --probeMap "${format.withProbeMap.probeMapFile}" |
d8dc482ef970
add functionality to import probeMap
jingchunzhu <jingchunzhu@gmail.com>
parents:
8
diff
changeset
|
27 #end if |
d8dc482ef970
add functionality to import probeMap
jingchunzhu <jingchunzhu@gmail.com>
parents:
8
diff
changeset
|
28 |
2
6eeb3ca663fb
Fixed dataset delete bugs (the full pathname was needed) plus changed xena_import to give a checkbox for turning on column normalization
melissacline
parents:
0
diff
changeset
|
29 #if $colNormalization: |
6eeb3ca663fb
Fixed dataset delete bugs (the full pathname was needed) plus changed xena_import to give a checkbox for turning on column normalization
melissacline
parents:
0
diff
changeset
|
30 --colNormalization 1 |
6eeb3ca663fb
Fixed dataset delete bugs (the full pathname was needed) plus changed xena_import to give a checkbox for turning on column normalization
melissacline
parents:
0
diff
changeset
|
31 #end if |
0 | 32 </command> |
33 <inputs> | |
34 <param format="data" type="data" name="xenaInputData" label="Data to import to Xena" optional="false"/> | |
35
d8dc482ef970
add functionality to import probeMap
jingchunzhu <jingchunzhu@gmail.com>
parents:
8
diff
changeset
|
35 <param format="str" type="text" name="cohort" label="Cohort" optional="false"/> |
d8dc482ef970
add functionality to import probeMap
jingchunzhu <jingchunzhu@gmail.com>
parents:
8
diff
changeset
|
36 <conditional name="format"> |
d8dc482ef970
add functionality to import probeMap
jingchunzhu <jingchunzhu@gmail.com>
parents:
8
diff
changeset
|
37 <param type="select" name="metadataType" label="File Format"> |
d8dc482ef970
add functionality to import probeMap
jingchunzhu <jingchunzhu@gmail.com>
parents:
8
diff
changeset
|
38 <option value="genomicMatrix">Rows (Identifiers) by Columns (Samples) (often genomic data)</option> |
d8dc482ef970
add functionality to import probeMap
jingchunzhu <jingchunzhu@gmail.com>
parents:
8
diff
changeset
|
39 <option value="clinicalMatrix">Rows (Samples) by Columns (Identifiers) (often clinical data)</option> |
d8dc482ef970
add functionality to import probeMap
jingchunzhu <jingchunzhu@gmail.com>
parents:
8
diff
changeset
|
40 <option value="mutationVector">Mutation By Position</option> |
0 | 41 </param> |
35
d8dc482ef970
add functionality to import probeMap
jingchunzhu <jingchunzhu@gmail.com>
parents:
8
diff
changeset
|
42 <when value="genomicMatrix"> |
d8dc482ef970
add functionality to import probeMap
jingchunzhu <jingchunzhu@gmail.com>
parents:
8
diff
changeset
|
43 <conditional name="withProbeMap"> |
d8dc482ef970
add functionality to import probeMap
jingchunzhu <jingchunzhu@gmail.com>
parents:
8
diff
changeset
|
44 <param type="select" name="probeMap" label="Identifier to Gene Mapping"> |
d8dc482ef970
add functionality to import probeMap
jingchunzhu <jingchunzhu@gmail.com>
parents:
8
diff
changeset
|
45 <option value="none">No id to gene mapping file</option> |
d8dc482ef970
add functionality to import probeMap
jingchunzhu <jingchunzhu@gmail.com>
parents:
8
diff
changeset
|
46 <option value="select">Select a id to gene mapping file</option> |
d8dc482ef970
add functionality to import probeMap
jingchunzhu <jingchunzhu@gmail.com>
parents:
8
diff
changeset
|
47 </param> |
d8dc482ef970
add functionality to import probeMap
jingchunzhu <jingchunzhu@gmail.com>
parents:
8
diff
changeset
|
48 <when value="none"/> |
d8dc482ef970
add functionality to import probeMap
jingchunzhu <jingchunzhu@gmail.com>
parents:
8
diff
changeset
|
49 <when value="select"> |
d8dc482ef970
add functionality to import probeMap
jingchunzhu <jingchunzhu@gmail.com>
parents:
8
diff
changeset
|
50 <param type="data" format="tabular" multiple="false" name="probeMapFile" optional="false"/> |
d8dc482ef970
add functionality to import probeMap
jingchunzhu <jingchunzhu@gmail.com>
parents:
8
diff
changeset
|
51 </when> |
d8dc482ef970
add functionality to import probeMap
jingchunzhu <jingchunzhu@gmail.com>
parents:
8
diff
changeset
|
52 </conditional> |
d8dc482ef970
add functionality to import probeMap
jingchunzhu <jingchunzhu@gmail.com>
parents:
8
diff
changeset
|
53 |
d8dc482ef970
add functionality to import probeMap
jingchunzhu <jingchunzhu@gmail.com>
parents:
8
diff
changeset
|
54 <conditional name="isCustom"> |
d8dc482ef970
add functionality to import probeMap
jingchunzhu <jingchunzhu@gmail.com>
parents:
8
diff
changeset
|
55 <param type="select" name="dataSubType" label="Type of data"> |
d8dc482ef970
add functionality to import probeMap
jingchunzhu <jingchunzhu@gmail.com>
parents:
8
diff
changeset
|
56 <option value="custom">Enter your own</option> |
d8dc482ef970
add functionality to import probeMap
jingchunzhu <jingchunzhu@gmail.com>
parents:
8
diff
changeset
|
57 <option value="copy number">copy number</option> |
d8dc482ef970
add functionality to import probeMap
jingchunzhu <jingchunzhu@gmail.com>
parents:
8
diff
changeset
|
58 <option value="DNA methylation">DNA methylation</option> |
d8dc482ef970
add functionality to import probeMap
jingchunzhu <jingchunzhu@gmail.com>
parents:
8
diff
changeset
|
59 <option value="exon expression">exon expression</option> |
d8dc482ef970
add functionality to import probeMap
jingchunzhu <jingchunzhu@gmail.com>
parents:
8
diff
changeset
|
60 <option value="gene expression">gene expression</option> |
d8dc482ef970
add functionality to import probeMap
jingchunzhu <jingchunzhu@gmail.com>
parents:
8
diff
changeset
|
61 <option value="gene expression RNAseq">gene expression RNAseq</option> |
d8dc482ef970
add functionality to import probeMap
jingchunzhu <jingchunzhu@gmail.com>
parents:
8
diff
changeset
|
62 <option value="gene expression Array">gene expression Array</option> |
d8dc482ef970
add functionality to import probeMap
jingchunzhu <jingchunzhu@gmail.com>
parents:
8
diff
changeset
|
63 <option value="mRNA expression">mRNA expression</option> |
d8dc482ef970
add functionality to import probeMap
jingchunzhu <jingchunzhu@gmail.com>
parents:
8
diff
changeset
|
64 <option value="somatic mutation (SNP and small INDELs)">somatic mutation (SNP and small INDELs)</option> |
d8dc482ef970
add functionality to import probeMap
jingchunzhu <jingchunzhu@gmail.com>
parents:
8
diff
changeset
|
65 <option value="somatic mutation (gene level)">somatic mutation (gene level)</option> |
d8dc482ef970
add functionality to import probeMap
jingchunzhu <jingchunzhu@gmail.com>
parents:
8
diff
changeset
|
66 <option value="protein expression RPPA">protein expression RPPA</option> |
d8dc482ef970
add functionality to import probeMap
jingchunzhu <jingchunzhu@gmail.com>
parents:
8
diff
changeset
|
67 <option value="PARADIGM pathway activity">PARADIGM pathway activity</option> |
d8dc482ef970
add functionality to import probeMap
jingchunzhu <jingchunzhu@gmail.com>
parents:
8
diff
changeset
|
68 </param> |
d8dc482ef970
add functionality to import probeMap
jingchunzhu <jingchunzhu@gmail.com>
parents:
8
diff
changeset
|
69 <when value="custom"> |
d8dc482ef970
add functionality to import probeMap
jingchunzhu <jingchunzhu@gmail.com>
parents:
8
diff
changeset
|
70 <param type="text" name="customSubType" label="Type of data" optional="true"/> |
d8dc482ef970
add functionality to import probeMap
jingchunzhu <jingchunzhu@gmail.com>
parents:
8
diff
changeset
|
71 </when> |
d8dc482ef970
add functionality to import probeMap
jingchunzhu <jingchunzhu@gmail.com>
parents:
8
diff
changeset
|
72 <when value="copy number"/> |
d8dc482ef970
add functionality to import probeMap
jingchunzhu <jingchunzhu@gmail.com>
parents:
8
diff
changeset
|
73 <when value="DNA methylation"/> |
d8dc482ef970
add functionality to import probeMap
jingchunzhu <jingchunzhu@gmail.com>
parents:
8
diff
changeset
|
74 <when value="exon expression"/> |
d8dc482ef970
add functionality to import probeMap
jingchunzhu <jingchunzhu@gmail.com>
parents:
8
diff
changeset
|
75 <when value="gene expression"/> |
d8dc482ef970
add functionality to import probeMap
jingchunzhu <jingchunzhu@gmail.com>
parents:
8
diff
changeset
|
76 <when value="gene expression RNAseq"/> |
d8dc482ef970
add functionality to import probeMap
jingchunzhu <jingchunzhu@gmail.com>
parents:
8
diff
changeset
|
77 <when value="gene expression Array"/> |
d8dc482ef970
add functionality to import probeMap
jingchunzhu <jingchunzhu@gmail.com>
parents:
8
diff
changeset
|
78 <when value="mRNA expression"/> |
d8dc482ef970
add functionality to import probeMap
jingchunzhu <jingchunzhu@gmail.com>
parents:
8
diff
changeset
|
79 <when value="somatic mutation (SNP and small INDELs)"/> |
d8dc482ef970
add functionality to import probeMap
jingchunzhu <jingchunzhu@gmail.com>
parents:
8
diff
changeset
|
80 <when value="somatic mutation (gene level)"/> |
d8dc482ef970
add functionality to import probeMap
jingchunzhu <jingchunzhu@gmail.com>
parents:
8
diff
changeset
|
81 <when value="protein expression RPPA"/> |
d8dc482ef970
add functionality to import probeMap
jingchunzhu <jingchunzhu@gmail.com>
parents:
8
diff
changeset
|
82 <when value="PARADIGM pathway activity"/> |
d8dc482ef970
add functionality to import probeMap
jingchunzhu <jingchunzhu@gmail.com>
parents:
8
diff
changeset
|
83 </conditional> |
d8dc482ef970
add functionality to import probeMap
jingchunzhu <jingchunzhu@gmail.com>
parents:
8
diff
changeset
|
84 |
0 | 85 </when> |
35
d8dc482ef970
add functionality to import probeMap
jingchunzhu <jingchunzhu@gmail.com>
parents:
8
diff
changeset
|
86 <when value="clinicalMatrix"> |
d8dc482ef970
add functionality to import probeMap
jingchunzhu <jingchunzhu@gmail.com>
parents:
8
diff
changeset
|
87 <conditional name="isCustom"> |
d8dc482ef970
add functionality to import probeMap
jingchunzhu <jingchunzhu@gmail.com>
parents:
8
diff
changeset
|
88 <param type="select" name="dataSubType" label="Type of data"> |
d8dc482ef970
add functionality to import probeMap
jingchunzhu <jingchunzhu@gmail.com>
parents:
8
diff
changeset
|
89 <option value="custom">Enter your own</option> |
d8dc482ef970
add functionality to import probeMap
jingchunzhu <jingchunzhu@gmail.com>
parents:
8
diff
changeset
|
90 <option value="phenotype">phenotype</option> |
d8dc482ef970
add functionality to import probeMap
jingchunzhu <jingchunzhu@gmail.com>
parents:
8
diff
changeset
|
91 </param> |
d8dc482ef970
add functionality to import probeMap
jingchunzhu <jingchunzhu@gmail.com>
parents:
8
diff
changeset
|
92 <when value="custom"> |
d8dc482ef970
add functionality to import probeMap
jingchunzhu <jingchunzhu@gmail.com>
parents:
8
diff
changeset
|
93 <param type="text" name="customSubType" label="Type of data" optional="true"/> |
d8dc482ef970
add functionality to import probeMap
jingchunzhu <jingchunzhu@gmail.com>
parents:
8
diff
changeset
|
94 </when> |
d8dc482ef970
add functionality to import probeMap
jingchunzhu <jingchunzhu@gmail.com>
parents:
8
diff
changeset
|
95 <when value="phenotype"/> |
d8dc482ef970
add functionality to import probeMap
jingchunzhu <jingchunzhu@gmail.com>
parents:
8
diff
changeset
|
96 </conditional> |
0 | 97 </when> |
35
d8dc482ef970
add functionality to import probeMap
jingchunzhu <jingchunzhu@gmail.com>
parents:
8
diff
changeset
|
98 <when value="mutationVector"/> |
0 | 99 </conditional> |
35
d8dc482ef970
add functionality to import probeMap
jingchunzhu <jingchunzhu@gmail.com>
parents:
8
diff
changeset
|
100 <param type="text" name="label" label="Display Name (Optional)" optional="true"/> |
2
6eeb3ca663fb
Fixed dataset delete bugs (the full pathname was needed) plus changed xena_import to give a checkbox for turning on column normalization
melissacline
parents:
0
diff
changeset
|
101 <param type="boolean" name="colNormalization" label="Apply Column Normalization" checked="false"/> |
0 | 102 </inputs> |
103 <outputs> | |
104 <data format="txt" name="outfile"/> | |
105 </outputs> | |
106 <help> | |
8
d57b5b3af15c
Minor update to ensure that xena_import correctly has the 'enter your own' metadata option appear first
melissacline
parents:
6
diff
changeset
|
107 To Appear, soon... |
0 | 108 </help> |
109 </tool> |