comparison xenaGetDataset.xml @ 52:bb840cc2603d

better error handling
author jingchunzhu
date Thu, 13 Aug 2015 17:30:19 -0700
parents cdba6c63dce5
children
comparison
equal deleted inserted replaced
51:47926759295a 52:bb840cc2603d
5 <requirements> 5 <requirements>
6 <requirement type="package" version="1.0">installXena</requirement> 6 <requirement type="package" version="1.0">installXena</requirement>
7 </requirements> 7 </requirements>
8 <command interpreter="python"> 8 <command interpreter="python">
9 #if $hub.dataHub == "https://genome-cancer.ucsc.edu/proj/public/xena": 9 #if $hub.dataHub == "https://genome-cancer.ucsc.edu/proj/public/xena":
10 xenaGetDataset.py $hub.dataHub $dataset $dataFile 10 xenaGetDataset.py $hub.dataHub $dataset $dataFile $GALAXY_URL
11 #elif $hub.customDataHub: 11 #elif $hub.customDataHub:
12 getXenaData.py $hub.customDataHub $dataset $dataFile 12 getXenaData.py $hub.customDataHub $dataset $dataFile $GALAXY_URL
13 #else 13 #else
14 getXenaData.py $hub.dataHub $dataset $dataFile 14 getXenaData.py $hub.dataHub $dataset $dataFile $GALAXY_URL
15 #end if 15 #end if
16 </command> 16 </command>
17 <inputs> 17 <inputs>
18 <conditional name="hub"> 18 <conditional name="hub">
19 <param type="select" name="dataHub" label="Data Hub" optional="false"> 19 <param type="select" name="dataHub" label="Data Hub" optional="false">
23 <when value ="https://genome-cancer.ucsc.edu/proj/public/xena"/> 23 <when value ="https://genome-cancer.ucsc.edu/proj/public/xena"/>
24 <when value ="datahub"> 24 <when value ="datahub">
25 <param type="text" name ="customDataHub" label="Hub url" optional="false"/> 25 <param type="text" name ="customDataHub" label="Hub url" optional="false"/>
26 </when> 26 </when>
27 </conditional> 27 </conditional>
28 <param type="text" name="dataset" label="Dataset ID" optional="false" help="How do I find the dataset ID? Tools section-> UCSC Xena Platform -> Explore Data in Xena: It takes you to the xena data exploration page. Browser to find the cohort of your interest (e.g. TCGA Lung Adenocarcinoma), then click the cohort link, then find the dataset of your interest (e.g. LUAD exon expression (IlluminaHiSeq) ), click the dataset link to go to its own detailed page. Copy and paste from the dataset ID field." /> 28 <param type="text" name="dataset" label="Dataset ID" optional="false" help="How do I find the dataset ID? Tools section-> UCSC Xena Platform -> Explore Data in Xena: It takes you to the xena data exploration page. Browser to find the cohort of your interest (e.g. TCGA Lung Adenocarcinoma), then click the cohort link, then find the dataset of your interest (e.g. LUAD exon expression (IlluminaHiSeq) ), click the dataset link to go to its own detailed page. Copy and paste from the dataset ID field." />
29 <param name="GALAXY_URL" type="baseurl" />
29 </inputs> 30 </inputs>
30 <outputs> 31 <outputs>
31 <!-- <data format="txt" name="metadataFile" label="${dataset}.json"/> -->
32 <data format="tabular" name="dataFile" label="${dataset}" /> 32 <data format="tabular" name="dataFile" label="${dataset}" />
33 </outputs> 33 </outputs>
34 <stdio>
35 <exit_code range="1" level="fatal" description="Click the eyeball icon to see details." />
36 <exit_code range="2" level="fatal" description="Not enough input arguments" />
37 </stdio>
34 <help> 38 <help>
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. 39 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.
36 </help> 40 </help>
37 </tool> 41 </tool>