Mercurial > repos > melissacline > ucsc_xena_platform
annotate xena_import.xml @ 3:98b498545a52
Fixed xena_delete to delete the files from the Xena files directory as well as from the database
author | melissacline |
---|---|
date | Wed, 14 Jan 2015 16:35:12 -0800 |
parents | 6eeb3ca663fb |
children | 1707e82d55bc c5b71ce5f7b1 |
rev | line source |
---|---|
0 | 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 | |
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 | 30 </command> |
31 <inputs> | |
32 <param format="data" type="data" name="xenaInputData" label="Data to import to Xena" optional="false"/> | |
33 <conditional name="source"> | |
34 <param type="select" name="metadataSource" label="Metadata entry"> | |
35 <option value="json">Specify json metadata file</option> | |
36 <option value="entry">Enter your own</option> | |
37 </param> | |
38 <when value="json"> | |
39 <param format="data" type="data" name="xenaMetadata" label="Metadata file" optional="false"/> | |
40 </when> | |
41 <when value="entry"> | |
42 <param format="str" type="text" name="cohort" label="Cohort" optional="false"/> | |
43 <conditional name="format"> | |
44 <param type="select" name="metadataType" label="File Format"> | |
45 <option value="genomicMatrix">Rows (Identifiers) by Columns (Samples)</option> | |
46 <option value="clinicalMatrix">Rows (Samples) by Columns (Identifiers)</option> | |
47 <option value="mutationVector">Mutation By Position</option> | |
48 </param> | |
49 <when value="genomicMatrix"> | |
50 <conditional name="isCustom"> | |
51 <param type="select" name="dataSubType" label="Type of data"> | |
52 <option value="custom">Enter your own</option> | |
53 <option value="phenotype">phenotype</option> | |
54 <option value="copy number">copy number</option> | |
55 <option value="DNA methylation">DNA methylation</option> | |
56 <option value="exon expression">exon expression</option> | |
57 <option value="gene expression">gene expression</option> | |
58 <option value="gene expression RNAseq">gene expression RNAseq</option> | |
59 <option value="gene expression Array">gene expression Array</option> | |
60 <option value="somatic mutation (SNP and small INDELs)">somatic mutation (SNP and small INDELs)</option> | |
61 <option value="somatic mutation (gene level)">somatic mutation (gene level)</option> | |
62 <option value="protein expression RPPA">protein expression RPPA</option> | |
63 <option value="PARADIGM pathway activity">PARADIGM pathway activity</option> | |
64 </param> | |
65 <when value="custom"> | |
66 <param type="text" name="customSubType" label="Type of data" optional="true"/> | |
67 </when> | |
68 <when value="phenotype"/> | |
69 <when value="copy number"/> | |
70 <when value="DNA methylation"/> | |
71 <when value="exon expression"/> | |
72 <when value="gene expression"/> | |
73 <when value="gene expression RNAseq"/> | |
74 <when value="gene expression Array"/> | |
75 <when value="somatic mutation (SNP and small INDELs)"/> | |
76 <when value="somatic mutation (gene level)"/> | |
77 <when value="protein expression RPPA"/> | |
78 <when value="PARADIGM pathway activity"/> | |
79 </conditional> | |
80 </when> | |
81 <when value="clinicalMatrix"> | |
82 <conditional name="isCustom"> | |
83 <param type="select" name="dataSubType" label="Type of data"> | |
84 <option value="custom">Enter your own</option> | |
85 <option value="phenotype">phenotype</option> | |
86 <option value="copy number">copy number</option> | |
87 <option value="DNA methylation">DNA methylation</option> | |
88 <option value="exon expression">exon expression</option> | |
89 <option value="gene expression">gene expression</option> | |
90 <option value="gene expression RNAseq">gene expression RNAseq</option> | |
91 <option value="gene expression Array">gene expression Array</option> | |
92 <option value="somatic mutation (SNP and small INDELs)">somatic mutation (SNP and small INDELs)</option> | |
93 <option value="somatic mutation (gene level)">somatic mutation (gene level)</option> | |
94 <option value="protein expression RPPA">protein expression RPPA</option> | |
95 <option value="PARADIGM pathway activity">PARADIGM pathway activity</option> | |
96 </param> | |
97 <when value="custom"> | |
98 <param type="text" name="customSubType" label="Type of data" optional="true"/> | |
99 </when> | |
100 <when value="phenotype"/> | |
101 <when value="copy number"/> | |
102 <when value="DNA methylation"/> | |
103 <when value="exon expression"/> | |
104 <when value="gene expression"/> | |
105 <when value="gene expression RNAseq"/> | |
106 <when value="gene expression Array"/> | |
107 <when value="somatic mutation (SNP and small INDELs)"/> | |
108 <when value="somatic mutation (gene level)"/> | |
109 <when value="protein expression RPPA"/> | |
110 <when value="PARADIGM pathway activity"/> | |
111 </conditional> | |
112 </when> | |
113 <when value="mutationVector"/> | |
114 </conditional> | |
115 <param type="text" name="label" label="Display Name (Optional)" optional="true"/> | |
116 </when> | |
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 | 119 </inputs> |
120 <outputs> | |
121 <data format="txt" name="outfile"/> | |
122 </outputs> | |
123 <help> | |
124 To Appear soon... | |
125 </help> | |
126 </tool> |