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