Mercurial > repos > melissacline > ucsc_xena_platform
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 |
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 | 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 | 4 </description> |
5 <requirements> | |
6 <requirement type="package" version="1.0">installXena</requirement> | |
7 </requirements> | |
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 | 16 </command> |
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 | 28 <param type="text" name="dataset" label="Dataset ID" optional="false"/> |
29 </inputs> | |
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 | 32 <data format="tabular" name="dataFile" label="${dataset}" /> |
33 </outputs> | |
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 | 36 </help> |
37 </tool> |