annotate xenaGetDataset.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 78d6e6772e30
Ignore whitespace changes - Everywhere: Within whitespace: At end of lines:
rev   line source
39
066ae9df2d27 labeling descriptions edit
jingchunzhu <jingchunzhu@gmail.com>
parents: 0
diff changeset
1 <tool id="xenaGetDataset" name="Get Data from Xena" version="0.0.2">
0
8bb037f88ed2 Uploaded
melissacline
parents:
diff changeset
2 <description>
41
02b0824c7d60 Download data from any hub in the federated xena platform
jingchunzhu <jingchunzhu@gmail.com>
parents: 40
diff changeset
3 Download individual dataset from the federated Xena platfrom
0
8bb037f88ed2 Uploaded
melissacline
parents:
diff changeset
4 </description>
8bb037f88ed2 Uploaded
melissacline
parents:
diff changeset
5 <requirements>
8bb037f88ed2 Uploaded
melissacline
parents:
diff changeset
6 <requirement type="package" version="1.0">installXena</requirement>
8bb037f88ed2 Uploaded
melissacline
parents:
diff changeset
7 </requirements>
8bb037f88ed2 Uploaded
melissacline
parents:
diff changeset
8 <command interpreter="python">
41
02b0824c7d60 Download data from any hub in the federated xena platform
jingchunzhu <jingchunzhu@gmail.com>
parents: 40
diff changeset
9 #if $hub.dataHub == "https://genome-cancer.ucsc.edu/proj/public/xena":
02b0824c7d60 Download data from any hub in the federated xena platform
jingchunzhu <jingchunzhu@gmail.com>
parents: 40
diff changeset
10 xenaGetDataset.py $hub.dataHub $dataset $dataFile
02b0824c7d60 Download data from any hub in the federated xena platform
jingchunzhu <jingchunzhu@gmail.com>
parents: 40
diff changeset
11 #elif $hub.customDataHub:
02b0824c7d60 Download data from any hub in the federated xena platform
jingchunzhu <jingchunzhu@gmail.com>
parents: 40
diff changeset
12 getXenaData.py $hub.customDataHub $dataset $dataFile
02b0824c7d60 Download data from any hub in the federated xena platform
jingchunzhu <jingchunzhu@gmail.com>
parents: 40
diff changeset
13 #else
02b0824c7d60 Download data from any hub in the federated xena platform
jingchunzhu <jingchunzhu@gmail.com>
parents: 40
diff changeset
14 getXenaData.py $hub.dataHub $dataset $dataFile
02b0824c7d60 Download data from any hub in the federated xena platform
jingchunzhu <jingchunzhu@gmail.com>
parents: 40
diff changeset
15 #end if
0
8bb037f88ed2 Uploaded
melissacline
parents:
diff changeset
16 </command>
8bb037f88ed2 Uploaded
melissacline
parents:
diff changeset
17 <inputs>
41
02b0824c7d60 Download data from any hub in the federated xena platform
jingchunzhu <jingchunzhu@gmail.com>
parents: 40
diff changeset
18 <conditional name="hub">
02b0824c7d60 Download data from any hub in the federated xena platform
jingchunzhu <jingchunzhu@gmail.com>
parents: 40
diff changeset
19 <param type="select" name="dataHub" label="Data Hub" optional="false">
02b0824c7d60 Download data from any hub in the federated xena platform
jingchunzhu <jingchunzhu@gmail.com>
parents: 40
diff changeset
20 <option value="https://genome-cancer.ucsc.edu/proj/public/xena"/>
02b0824c7d60 Download data from any hub in the federated xena platform
jingchunzhu <jingchunzhu@gmail.com>
parents: 40
diff changeset
21 <option value="datahub">Enter a different hub</option>
02b0824c7d60 Download data from any hub in the federated xena platform
jingchunzhu <jingchunzhu@gmail.com>
parents: 40
diff changeset
22 </param>
02b0824c7d60 Download data from any hub in the federated xena platform
jingchunzhu <jingchunzhu@gmail.com>
parents: 40
diff changeset
23 <when value ="https://genome-cancer.ucsc.edu/proj/public/xena"/>
02b0824c7d60 Download data from any hub in the federated xena platform
jingchunzhu <jingchunzhu@gmail.com>
parents: 40
diff changeset
24 <when value ="datahub">
02b0824c7d60 Download data from any hub in the federated xena platform
jingchunzhu <jingchunzhu@gmail.com>
parents: 40
diff changeset
25 <param type="text" name ="customDataHub" label="Hub url" optional="false"/>
02b0824c7d60 Download data from any hub in the federated xena platform
jingchunzhu <jingchunzhu@gmail.com>
parents: 40
diff changeset
26 </when>
02b0824c7d60 Download data from any hub in the federated xena platform
jingchunzhu <jingchunzhu@gmail.com>
parents: 40
diff changeset
27 </conditional>
0
8bb037f88ed2 Uploaded
melissacline
parents:
diff changeset
28 <param type="text" name="dataset" label="Dataset ID" optional="false"/>
8bb037f88ed2 Uploaded
melissacline
parents:
diff changeset
29 </inputs>
8bb037f88ed2 Uploaded
melissacline
parents:
diff changeset
30 <outputs>
41
02b0824c7d60 Download data from any hub in the federated xena platform
jingchunzhu <jingchunzhu@gmail.com>
parents: 40
diff changeset
31 <!-- <data format="txt" name="metadataFile" label="${dataset}.json"/> -->
0
8bb037f88ed2 Uploaded
melissacline
parents:
diff changeset
32 <data format="tabular" name="dataFile" label="${dataset}" />
8bb037f88ed2 Uploaded
melissacline
parents:
diff changeset
33 </outputs>
8bb037f88ed2 Uploaded
melissacline
parents:
diff changeset
34 <help>
41
02b0824c7d60 Download data from any hub in the federated xena platform
jingchunzhu <jingchunzhu@gmail.com>
parents: 40
diff changeset
35 Given the data hub name and the dataset id, download the dataset into this Galaxy. Xena dataset id can be obtained through the Explore Data in Xena tool.
0
8bb037f88ed2 Uploaded
melissacline
parents:
diff changeset
36 </help>
8bb037f88ed2 Uploaded
melissacline
parents:
diff changeset
37 </tool>