view ucsc_xena_datapages.xml @ 12:80e588115eae

Fixed the URL for the UCSC Xena datapages tool
author melissacline
date Mon, 16 Mar 2015 19:05:29 -0700
parents 8c7cb04577bd 87d4ed062e27
children be73a33f333b
line wrap: on
line source

<?xml version="1.0"?>
<!--
    If the value of 'URL_method' is 'get', the request will consist of the value of 'URL' coming back in
    the initial response.  If value of 'URL_method' is 'post', any additional params coming back in the
    initial response ( in addition to 'URL' ) will be encoded and appended to URL and a post will be performed.
-->
<tool name="Explore Data in Xena" id="ucsc_xena_datapages" tool_type="data_source">
    <description>Browse the UCSC Xena Data Pages.</description>
    <command interpreter="python">ucsc_xena_download.py $genomic $clinical $__app__.config.output_size_limit</command>   
    <inputs action="https://genome-cancer.ucsc.edu/proj/site/hgHeatmap-cavm/datapages" check_values="false" method="get">
        <display>go to UCSC Xena Browser $GALAXY_URL</display>
        <param name="GALAXY_URL" type="baseurl" value="/tool_runner" />
        <param name="tool_id" type="hidden" value="ucsc_xena_datapages" />
    </inputs>
    <request_param_translation>
        <request_param galaxy_name="URL_method" remote_name="URL_method" missing="get" />
        <request_param galaxy_name="URL" remote_name="URL" missing="" />
    </request_param_translation>
    <uihints minwidth="800"/>
    <outputs>
        <data name="genomic" format="tabular" label="#echo $URL.rsplit('/',1)[1].rsplit('.',1)[0]+' genomic'" />
        <data name="clinical" format="tabular" label="#echo $URL.rsplit('/',1)[1].rsplit('.',1)[0]+' clinical'"/>
    </outputs>
    <options sanitize="False" refresh="True"/>
</tool>