annotate xena_import.xml @ 2:6eeb3ca663fb

Fixed dataset delete bugs (the full pathname was needed) plus changed xena_import to give a checkbox for turning on column normalization
author melissacline
date Wed, 14 Jan 2015 15:21:09 -0800
parents 8bb037f88ed2
children 1707e82d55bc c5b71ce5f7b1
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
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
27 #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
28 --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
29 #end if
0
8bb037f88ed2 Uploaded
melissacline
parents:
diff changeset
30 </command>
8bb037f88ed2 Uploaded
melissacline
parents:
diff changeset
31 <inputs>
8bb037f88ed2 Uploaded
melissacline
parents:
diff changeset
32 <param format="data" type="data" name="xenaInputData" label="Data to import to Xena" optional="false"/>
8bb037f88ed2 Uploaded
melissacline
parents:
diff changeset
33 <conditional name="source">
8bb037f88ed2 Uploaded
melissacline
parents:
diff changeset
34 <param type="select" name="metadataSource" label="Metadata entry">
8bb037f88ed2 Uploaded
melissacline
parents:
diff changeset
35 <option value="json">Specify json metadata file</option>
8bb037f88ed2 Uploaded
melissacline
parents:
diff changeset
36 <option value="entry">Enter your own</option>
8bb037f88ed2 Uploaded
melissacline
parents:
diff changeset
37 </param>
8bb037f88ed2 Uploaded
melissacline
parents:
diff changeset
38 <when value="json">
8bb037f88ed2 Uploaded
melissacline
parents:
diff changeset
39 <param format="data" type="data" name="xenaMetadata" label="Metadata file" optional="false"/>
8bb037f88ed2 Uploaded
melissacline
parents:
diff changeset
40 </when>
8bb037f88ed2 Uploaded
melissacline
parents:
diff changeset
41 <when value="entry">
8bb037f88ed2 Uploaded
melissacline
parents:
diff changeset
42 <param format="str" type="text" name="cohort" label="Cohort" optional="false"/>
8bb037f88ed2 Uploaded
melissacline
parents:
diff changeset
43 <conditional name="format">
8bb037f88ed2 Uploaded
melissacline
parents:
diff changeset
44 <param type="select" name="metadataType" label="File Format">
8bb037f88ed2 Uploaded
melissacline
parents:
diff changeset
45 <option value="genomicMatrix">Rows (Identifiers) by Columns (Samples)</option>
8bb037f88ed2 Uploaded
melissacline
parents:
diff changeset
46 <option value="clinicalMatrix">Rows (Samples) by Columns (Identifiers)</option>
8bb037f88ed2 Uploaded
melissacline
parents:
diff changeset
47 <option value="mutationVector">Mutation By Position</option>
8bb037f88ed2 Uploaded
melissacline
parents:
diff changeset
48 </param>
8bb037f88ed2 Uploaded
melissacline
parents:
diff changeset
49 <when value="genomicMatrix">
8bb037f88ed2 Uploaded
melissacline
parents:
diff changeset
50 <conditional name="isCustom">
8bb037f88ed2 Uploaded
melissacline
parents:
diff changeset
51 <param type="select" name="dataSubType" label="Type of data">
8bb037f88ed2 Uploaded
melissacline
parents:
diff changeset
52 <option value="custom">Enter your own</option>
8bb037f88ed2 Uploaded
melissacline
parents:
diff changeset
53 <option value="phenotype">phenotype</option>
8bb037f88ed2 Uploaded
melissacline
parents:
diff changeset
54 <option value="copy number">copy number</option>
8bb037f88ed2 Uploaded
melissacline
parents:
diff changeset
55 <option value="DNA methylation">DNA methylation</option>
8bb037f88ed2 Uploaded
melissacline
parents:
diff changeset
56 <option value="exon expression">exon expression</option>
8bb037f88ed2 Uploaded
melissacline
parents:
diff changeset
57 <option value="gene expression">gene expression</option>
8bb037f88ed2 Uploaded
melissacline
parents:
diff changeset
58 <option value="gene expression RNAseq">gene expression RNAseq</option>
8bb037f88ed2 Uploaded
melissacline
parents:
diff changeset
59 <option value="gene expression Array">gene expression Array</option>
8bb037f88ed2 Uploaded
melissacline
parents:
diff changeset
60 <option value="somatic mutation (SNP and small INDELs)">somatic mutation (SNP and small INDELs)</option>
8bb037f88ed2 Uploaded
melissacline
parents:
diff changeset
61 <option value="somatic mutation (gene level)">somatic mutation (gene level)</option>
8bb037f88ed2 Uploaded
melissacline
parents:
diff changeset
62 <option value="protein expression RPPA">protein expression RPPA</option>
8bb037f88ed2 Uploaded
melissacline
parents:
diff changeset
63 <option value="PARADIGM pathway activity">PARADIGM pathway activity</option>
8bb037f88ed2 Uploaded
melissacline
parents:
diff changeset
64 </param>
8bb037f88ed2 Uploaded
melissacline
parents:
diff changeset
65 <when value="custom">
8bb037f88ed2 Uploaded
melissacline
parents:
diff changeset
66 <param type="text" name="customSubType" label="Type of data" optional="true"/>
8bb037f88ed2 Uploaded
melissacline
parents:
diff changeset
67 </when>
8bb037f88ed2 Uploaded
melissacline
parents:
diff changeset
68 <when value="phenotype"/>
8bb037f88ed2 Uploaded
melissacline
parents:
diff changeset
69 <when value="copy number"/>
8bb037f88ed2 Uploaded
melissacline
parents:
diff changeset
70 <when value="DNA methylation"/>
8bb037f88ed2 Uploaded
melissacline
parents:
diff changeset
71 <when value="exon expression"/>
8bb037f88ed2 Uploaded
melissacline
parents:
diff changeset
72 <when value="gene expression"/>
8bb037f88ed2 Uploaded
melissacline
parents:
diff changeset
73 <when value="gene expression RNAseq"/>
8bb037f88ed2 Uploaded
melissacline
parents:
diff changeset
74 <when value="gene expression Array"/>
8bb037f88ed2 Uploaded
melissacline
parents:
diff changeset
75 <when value="somatic mutation (SNP and small INDELs)"/>
8bb037f88ed2 Uploaded
melissacline
parents:
diff changeset
76 <when value="somatic mutation (gene level)"/>
8bb037f88ed2 Uploaded
melissacline
parents:
diff changeset
77 <when value="protein expression RPPA"/>
8bb037f88ed2 Uploaded
melissacline
parents:
diff changeset
78 <when value="PARADIGM pathway activity"/>
8bb037f88ed2 Uploaded
melissacline
parents:
diff changeset
79 </conditional>
8bb037f88ed2 Uploaded
melissacline
parents:
diff changeset
80 </when>
8bb037f88ed2 Uploaded
melissacline
parents:
diff changeset
81 <when value="clinicalMatrix">
8bb037f88ed2 Uploaded
melissacline
parents:
diff changeset
82 <conditional name="isCustom">
8bb037f88ed2 Uploaded
melissacline
parents:
diff changeset
83 <param type="select" name="dataSubType" label="Type of data">
8bb037f88ed2 Uploaded
melissacline
parents:
diff changeset
84 <option value="custom">Enter your own</option>
8bb037f88ed2 Uploaded
melissacline
parents:
diff changeset
85 <option value="phenotype">phenotype</option>
8bb037f88ed2 Uploaded
melissacline
parents:
diff changeset
86 <option value="copy number">copy number</option>
8bb037f88ed2 Uploaded
melissacline
parents:
diff changeset
87 <option value="DNA methylation">DNA methylation</option>
8bb037f88ed2 Uploaded
melissacline
parents:
diff changeset
88 <option value="exon expression">exon expression</option>
8bb037f88ed2 Uploaded
melissacline
parents:
diff changeset
89 <option value="gene expression">gene expression</option>
8bb037f88ed2 Uploaded
melissacline
parents:
diff changeset
90 <option value="gene expression RNAseq">gene expression RNAseq</option>
8bb037f88ed2 Uploaded
melissacline
parents:
diff changeset
91 <option value="gene expression Array">gene expression Array</option>
8bb037f88ed2 Uploaded
melissacline
parents:
diff changeset
92 <option value="somatic mutation (SNP and small INDELs)">somatic mutation (SNP and small INDELs)</option>
8bb037f88ed2 Uploaded
melissacline
parents:
diff changeset
93 <option value="somatic mutation (gene level)">somatic mutation (gene level)</option>
8bb037f88ed2 Uploaded
melissacline
parents:
diff changeset
94 <option value="protein expression RPPA">protein expression RPPA</option>
8bb037f88ed2 Uploaded
melissacline
parents:
diff changeset
95 <option value="PARADIGM pathway activity">PARADIGM pathway activity</option>
8bb037f88ed2 Uploaded
melissacline
parents:
diff changeset
96 </param>
8bb037f88ed2 Uploaded
melissacline
parents:
diff changeset
97 <when value="custom">
8bb037f88ed2 Uploaded
melissacline
parents:
diff changeset
98 <param type="text" name="customSubType" label="Type of data" optional="true"/>
8bb037f88ed2 Uploaded
melissacline
parents:
diff changeset
99 </when>
8bb037f88ed2 Uploaded
melissacline
parents:
diff changeset
100 <when value="phenotype"/>
8bb037f88ed2 Uploaded
melissacline
parents:
diff changeset
101 <when value="copy number"/>
8bb037f88ed2 Uploaded
melissacline
parents:
diff changeset
102 <when value="DNA methylation"/>
8bb037f88ed2 Uploaded
melissacline
parents:
diff changeset
103 <when value="exon expression"/>
8bb037f88ed2 Uploaded
melissacline
parents:
diff changeset
104 <when value="gene expression"/>
8bb037f88ed2 Uploaded
melissacline
parents:
diff changeset
105 <when value="gene expression RNAseq"/>
8bb037f88ed2 Uploaded
melissacline
parents:
diff changeset
106 <when value="gene expression Array"/>
8bb037f88ed2 Uploaded
melissacline
parents:
diff changeset
107 <when value="somatic mutation (SNP and small INDELs)"/>
8bb037f88ed2 Uploaded
melissacline
parents:
diff changeset
108 <when value="somatic mutation (gene level)"/>
8bb037f88ed2 Uploaded
melissacline
parents:
diff changeset
109 <when value="protein expression RPPA"/>
8bb037f88ed2 Uploaded
melissacline
parents:
diff changeset
110 <when value="PARADIGM pathway activity"/>
8bb037f88ed2 Uploaded
melissacline
parents:
diff changeset
111 </conditional>
8bb037f88ed2 Uploaded
melissacline
parents:
diff changeset
112 </when>
8bb037f88ed2 Uploaded
melissacline
parents:
diff changeset
113 <when value="mutationVector"/>
8bb037f88ed2 Uploaded
melissacline
parents:
diff changeset
114 </conditional>
8bb037f88ed2 Uploaded
melissacline
parents:
diff changeset
115 <param type="text" name="label" label="Display Name (Optional)" optional="true"/>
8bb037f88ed2 Uploaded
melissacline
parents:
diff changeset
116 </when>
8bb037f88ed2 Uploaded
melissacline
parents:
diff changeset
117 </conditional>
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
118 <param type="boolean" name="colNormalization" label="Apply Column Normalization" checked="false"/>
0
8bb037f88ed2 Uploaded
melissacline
parents:
diff changeset
119 </inputs>
8bb037f88ed2 Uploaded
melissacline
parents:
diff changeset
120 <outputs>
8bb037f88ed2 Uploaded
melissacline
parents:
diff changeset
121 <data format="txt" name="outfile"/>
8bb037f88ed2 Uploaded
melissacline
parents:
diff changeset
122 </outputs>
8bb037f88ed2 Uploaded
melissacline
parents:
diff changeset
123 <help>
8bb037f88ed2 Uploaded
melissacline
parents:
diff changeset
124 To Appear soon...
8bb037f88ed2 Uploaded
melissacline
parents:
diff changeset
125 </help>
8bb037f88ed2 Uploaded
melissacline
parents:
diff changeset
126 </tool>