view xenaGetDataset.xml @ 49:8da6920a39ac

add hg19 assembly in xena_import
author jingchunzhu
date Sun, 09 Aug 2015 23:23:58 -0700
parents cdba6c63dce5
children bb840cc2603d
line wrap: on
line source

<tool id="xenaGetDataset"  name="Get Data from Xena" version="0.0.2">
  <description>
    Download individual dataset from the federated Xena platfrom
  </description>
  <requirements>
    <requirement type="package" version="1.0">installXena</requirement>
  </requirements>
  <command interpreter="python">
    #if $hub.dataHub == "https://genome-cancer.ucsc.edu/proj/public/xena":
        xenaGetDataset.py $hub.dataHub $dataset $dataFile
    #elif $hub.customDataHub:
        getXenaData.py $hub.customDataHub $dataset $dataFile
    #else
        getXenaData.py $hub.dataHub $dataset $dataFile
    #end if
  </command>
  <inputs>
    <conditional name="hub">
      <param type="select" name="dataHub" label="Data Hub" optional="false">
	<option value="https://genome-cancer.ucsc.edu/proj/public/xena"/>
	<option value="datahub">Enter a different hub</option>
      </param>
      <when value ="https://genome-cancer.ucsc.edu/proj/public/xena"/>
      <when value ="datahub">
	<param type="text" name ="customDataHub" label="Hub url" optional="false"/>
      </when>
    </conditional>  
    <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." />
  </inputs>
  <outputs>
    <!-- <data format="txt" name="metadataFile" label="${dataset}.json"/> -->
    <data format="tabular" name="dataFile" label="${dataset}" />
  </outputs>
  <help>
    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.
  </help>
</tool>