annotate xena_import.xml @ 0:8bb037f88ed2

Uploaded
author melissacline
date Tue, 13 Jan 2015 23:37:23 -0500
parents
children 6eeb3ca663fb
Ignore whitespace changes - Everywhere: Within whitespace: At end of lines:
rev   line source
0
8bb037f88ed2 Uploaded
melissacline
parents:
diff changeset
1 <tool id="xenaImport" description="Import into XENA from Galaxy" name="XENA Import" version="0.0.1">
8bb037f88ed2 Uploaded
melissacline
parents:
diff changeset
2 <description>Import from Galaxy into the Xena VM</description>
8bb037f88ed2 Uploaded
melissacline
parents:
diff changeset
3 <requirements>
8bb037f88ed2 Uploaded
melissacline
parents:
diff changeset
4 <requirement type="package" version="1.0">installXena</requirement>
8bb037f88ed2 Uploaded
melissacline
parents:
diff changeset
5 </requirements>
8bb037f88ed2 Uploaded
melissacline
parents:
diff changeset
6 <command interpreter="python">
8bb037f88ed2 Uploaded
melissacline
parents:
diff changeset
7 xena_import.py ${xenaInputData} $outfile
8bb037f88ed2 Uploaded
melissacline
parents:
diff changeset
8 #if $source.metadataSource == "json"
8bb037f88ed2 Uploaded
melissacline
parents:
diff changeset
9 --json ${source.xenaMetadata}
8bb037f88ed2 Uploaded
melissacline
parents:
diff changeset
10 #else
8bb037f88ed2 Uploaded
melissacline
parents:
diff changeset
11 --cohort "${source.cohort}" --type ${source.format.metadataType}
8bb037f88ed2 Uploaded
melissacline
parents:
diff changeset
12 #if $source.format.metadataType == "genomicMatrix" or $source.format.metadataType == "clinicalMatrix":
8bb037f88ed2 Uploaded
melissacline
parents:
diff changeset
13 #if $source.format.isCustom.dataSubType == "custom"
8bb037f88ed2 Uploaded
melissacline
parents:
diff changeset
14 #if $source.format.isCustom.customSubType
8bb037f88ed2 Uploaded
melissacline
parents:
diff changeset
15 --dataSubType "${source.format.isCustom.customSubType}"
8bb037f88ed2 Uploaded
melissacline
parents:
diff changeset
16 #end if
8bb037f88ed2 Uploaded
melissacline
parents:
diff changeset
17 #else
8bb037f88ed2 Uploaded
melissacline
parents:
diff changeset
18 --dataSubType "${source.format.isCustom.dataSubType}"
8bb037f88ed2 Uploaded
melissacline
parents:
diff changeset
19 #end if
8bb037f88ed2 Uploaded
melissacline
parents:
diff changeset
20 #end if
8bb037f88ed2 Uploaded
melissacline
parents:
diff changeset
21 #if $source.label
8bb037f88ed2 Uploaded
melissacline
parents:
diff changeset
22 --label "${source.label}"
8bb037f88ed2 Uploaded
melissacline
parents:
diff changeset
23 #else
8bb037f88ed2 Uploaded
melissacline
parents:
diff changeset
24 --label "${xenaInputData.name}"
8bb037f88ed2 Uploaded
melissacline
parents:
diff changeset
25 #end if
8bb037f88ed2 Uploaded
melissacline
parents:
diff changeset
26 #end if
8bb037f88ed2 Uploaded
melissacline
parents:
diff changeset
27 </command>
8bb037f88ed2 Uploaded
melissacline
parents:
diff changeset
28 <inputs>
8bb037f88ed2 Uploaded
melissacline
parents:
diff changeset
29 <param format="data" type="data" name="xenaInputData" label="Data to import to Xena" optional="false"/>
8bb037f88ed2 Uploaded
melissacline
parents:
diff changeset
30 <conditional name="source">
8bb037f88ed2 Uploaded
melissacline
parents:
diff changeset
31 <param type="select" name="metadataSource" label="Metadata entry">
8bb037f88ed2 Uploaded
melissacline
parents:
diff changeset
32 <option value="json">Specify json metadata file</option>
8bb037f88ed2 Uploaded
melissacline
parents:
diff changeset
33 <option value="entry">Enter your own</option>
8bb037f88ed2 Uploaded
melissacline
parents:
diff changeset
34 </param>
8bb037f88ed2 Uploaded
melissacline
parents:
diff changeset
35 <when value="json">
8bb037f88ed2 Uploaded
melissacline
parents:
diff changeset
36 <param format="data" type="data" name="xenaMetadata" label="Metadata file" optional="false"/>
8bb037f88ed2 Uploaded
melissacline
parents:
diff changeset
37 </when>
8bb037f88ed2 Uploaded
melissacline
parents:
diff changeset
38 <when value="entry">
8bb037f88ed2 Uploaded
melissacline
parents:
diff changeset
39 <param format="str" type="text" name="cohort" label="Cohort" optional="false"/>
8bb037f88ed2 Uploaded
melissacline
parents:
diff changeset
40 <conditional name="format">
8bb037f88ed2 Uploaded
melissacline
parents:
diff changeset
41 <param type="select" name="metadataType" label="File Format">
8bb037f88ed2 Uploaded
melissacline
parents:
diff changeset
42 <option value="genomicMatrix">Rows (Identifiers) by Columns (Samples)</option>
8bb037f88ed2 Uploaded
melissacline
parents:
diff changeset
43 <option value="clinicalMatrix">Rows (Samples) by Columns (Identifiers)</option>
8bb037f88ed2 Uploaded
melissacline
parents:
diff changeset
44 <option value="mutationVector">Mutation By Position</option>
8bb037f88ed2 Uploaded
melissacline
parents:
diff changeset
45 </param>
8bb037f88ed2 Uploaded
melissacline
parents:
diff changeset
46 <when value="genomicMatrix">
8bb037f88ed2 Uploaded
melissacline
parents:
diff changeset
47 <conditional name="isCustom">
8bb037f88ed2 Uploaded
melissacline
parents:
diff changeset
48 <param type="select" name="dataSubType" label="Type of data">
8bb037f88ed2 Uploaded
melissacline
parents:
diff changeset
49 <option value="custom">Enter your own</option>
8bb037f88ed2 Uploaded
melissacline
parents:
diff changeset
50 <option value="phenotype">phenotype</option>
8bb037f88ed2 Uploaded
melissacline
parents:
diff changeset
51 <option value="copy number">copy number</option>
8bb037f88ed2 Uploaded
melissacline
parents:
diff changeset
52 <option value="DNA methylation">DNA methylation</option>
8bb037f88ed2 Uploaded
melissacline
parents:
diff changeset
53 <option value="exon expression">exon expression</option>
8bb037f88ed2 Uploaded
melissacline
parents:
diff changeset
54 <option value="gene expression">gene expression</option>
8bb037f88ed2 Uploaded
melissacline
parents:
diff changeset
55 <option value="gene expression RNAseq">gene expression RNAseq</option>
8bb037f88ed2 Uploaded
melissacline
parents:
diff changeset
56 <option value="gene expression Array">gene expression Array</option>
8bb037f88ed2 Uploaded
melissacline
parents:
diff changeset
57 <option value="somatic mutation (SNP and small INDELs)">somatic mutation (SNP and small INDELs)</option>
8bb037f88ed2 Uploaded
melissacline
parents:
diff changeset
58 <option value="somatic mutation (gene level)">somatic mutation (gene level)</option>
8bb037f88ed2 Uploaded
melissacline
parents:
diff changeset
59 <option value="protein expression RPPA">protein expression RPPA</option>
8bb037f88ed2 Uploaded
melissacline
parents:
diff changeset
60 <option value="PARADIGM pathway activity">PARADIGM pathway activity</option>
8bb037f88ed2 Uploaded
melissacline
parents:
diff changeset
61 </param>
8bb037f88ed2 Uploaded
melissacline
parents:
diff changeset
62 <when value="custom">
8bb037f88ed2 Uploaded
melissacline
parents:
diff changeset
63 <param type="text" name="customSubType" label="Type of data" optional="true"/>
8bb037f88ed2 Uploaded
melissacline
parents:
diff changeset
64 </when>
8bb037f88ed2 Uploaded
melissacline
parents:
diff changeset
65 <when value="phenotype"/>
8bb037f88ed2 Uploaded
melissacline
parents:
diff changeset
66 <when value="copy number"/>
8bb037f88ed2 Uploaded
melissacline
parents:
diff changeset
67 <when value="DNA methylation"/>
8bb037f88ed2 Uploaded
melissacline
parents:
diff changeset
68 <when value="exon expression"/>
8bb037f88ed2 Uploaded
melissacline
parents:
diff changeset
69 <when value="gene expression"/>
8bb037f88ed2 Uploaded
melissacline
parents:
diff changeset
70 <when value="gene expression RNAseq"/>
8bb037f88ed2 Uploaded
melissacline
parents:
diff changeset
71 <when value="gene expression Array"/>
8bb037f88ed2 Uploaded
melissacline
parents:
diff changeset
72 <when value="somatic mutation (SNP and small INDELs)"/>
8bb037f88ed2 Uploaded
melissacline
parents:
diff changeset
73 <when value="somatic mutation (gene level)"/>
8bb037f88ed2 Uploaded
melissacline
parents:
diff changeset
74 <when value="protein expression RPPA"/>
8bb037f88ed2 Uploaded
melissacline
parents:
diff changeset
75 <when value="PARADIGM pathway activity"/>
8bb037f88ed2 Uploaded
melissacline
parents:
diff changeset
76 </conditional>
8bb037f88ed2 Uploaded
melissacline
parents:
diff changeset
77 </when>
8bb037f88ed2 Uploaded
melissacline
parents:
diff changeset
78 <when value="clinicalMatrix">
8bb037f88ed2 Uploaded
melissacline
parents:
diff changeset
79 <conditional name="isCustom">
8bb037f88ed2 Uploaded
melissacline
parents:
diff changeset
80 <param type="select" name="dataSubType" label="Type of data">
8bb037f88ed2 Uploaded
melissacline
parents:
diff changeset
81 <option value="custom">Enter your own</option>
8bb037f88ed2 Uploaded
melissacline
parents:
diff changeset
82 <option value="phenotype">phenotype</option>
8bb037f88ed2 Uploaded
melissacline
parents:
diff changeset
83 <option value="copy number">copy number</option>
8bb037f88ed2 Uploaded
melissacline
parents:
diff changeset
84 <option value="DNA methylation">DNA methylation</option>
8bb037f88ed2 Uploaded
melissacline
parents:
diff changeset
85 <option value="exon expression">exon expression</option>
8bb037f88ed2 Uploaded
melissacline
parents:
diff changeset
86 <option value="gene expression">gene expression</option>
8bb037f88ed2 Uploaded
melissacline
parents:
diff changeset
87 <option value="gene expression RNAseq">gene expression RNAseq</option>
8bb037f88ed2 Uploaded
melissacline
parents:
diff changeset
88 <option value="gene expression Array">gene expression Array</option>
8bb037f88ed2 Uploaded
melissacline
parents:
diff changeset
89 <option value="somatic mutation (SNP and small INDELs)">somatic mutation (SNP and small INDELs)</option>
8bb037f88ed2 Uploaded
melissacline
parents:
diff changeset
90 <option value="somatic mutation (gene level)">somatic mutation (gene level)</option>
8bb037f88ed2 Uploaded
melissacline
parents:
diff changeset
91 <option value="protein expression RPPA">protein expression RPPA</option>
8bb037f88ed2 Uploaded
melissacline
parents:
diff changeset
92 <option value="PARADIGM pathway activity">PARADIGM pathway activity</option>
8bb037f88ed2 Uploaded
melissacline
parents:
diff changeset
93 </param>
8bb037f88ed2 Uploaded
melissacline
parents:
diff changeset
94 <when value="custom">
8bb037f88ed2 Uploaded
melissacline
parents:
diff changeset
95 <param type="text" name="customSubType" label="Type of data" optional="true"/>
8bb037f88ed2 Uploaded
melissacline
parents:
diff changeset
96 </when>
8bb037f88ed2 Uploaded
melissacline
parents:
diff changeset
97 <when value="phenotype"/>
8bb037f88ed2 Uploaded
melissacline
parents:
diff changeset
98 <when value="copy number"/>
8bb037f88ed2 Uploaded
melissacline
parents:
diff changeset
99 <when value="DNA methylation"/>
8bb037f88ed2 Uploaded
melissacline
parents:
diff changeset
100 <when value="exon expression"/>
8bb037f88ed2 Uploaded
melissacline
parents:
diff changeset
101 <when value="gene expression"/>
8bb037f88ed2 Uploaded
melissacline
parents:
diff changeset
102 <when value="gene expression RNAseq"/>
8bb037f88ed2 Uploaded
melissacline
parents:
diff changeset
103 <when value="gene expression Array"/>
8bb037f88ed2 Uploaded
melissacline
parents:
diff changeset
104 <when value="somatic mutation (SNP and small INDELs)"/>
8bb037f88ed2 Uploaded
melissacline
parents:
diff changeset
105 <when value="somatic mutation (gene level)"/>
8bb037f88ed2 Uploaded
melissacline
parents:
diff changeset
106 <when value="protein expression RPPA"/>
8bb037f88ed2 Uploaded
melissacline
parents:
diff changeset
107 <when value="PARADIGM pathway activity"/>
8bb037f88ed2 Uploaded
melissacline
parents:
diff changeset
108 </conditional>
8bb037f88ed2 Uploaded
melissacline
parents:
diff changeset
109 </when>
8bb037f88ed2 Uploaded
melissacline
parents:
diff changeset
110 <when value="mutationVector"/>
8bb037f88ed2 Uploaded
melissacline
parents:
diff changeset
111 </conditional>
8bb037f88ed2 Uploaded
melissacline
parents:
diff changeset
112 <param type="text" name="label" label="Display Name (Optional)" optional="true"/>
8bb037f88ed2 Uploaded
melissacline
parents:
diff changeset
113 </when>
8bb037f88ed2 Uploaded
melissacline
parents:
diff changeset
114 </conditional>
8bb037f88ed2 Uploaded
melissacline
parents:
diff changeset
115 </inputs>
8bb037f88ed2 Uploaded
melissacline
parents:
diff changeset
116 <outputs>
8bb037f88ed2 Uploaded
melissacline
parents:
diff changeset
117 <data format="txt" name="outfile"/>
8bb037f88ed2 Uploaded
melissacline
parents:
diff changeset
118 </outputs>
8bb037f88ed2 Uploaded
melissacline
parents:
diff changeset
119 <help>
8bb037f88ed2 Uploaded
melissacline
parents:
diff changeset
120 To Appear soon...
8bb037f88ed2 Uploaded
melissacline
parents:
diff changeset
121 </help>
8bb037f88ed2 Uploaded
melissacline
parents:
diff changeset
122 </tool>