mirror of
https://github.com/galaxyproject/galaxy.git
synced 2026-09-21 13:50:20 +08:00
greater than config.output_size_limit, no data will be retrieved and an error message will be provided to the user. Tools using this script have been updated to provide the max file size on the command line. Resolves ticket #93.
41 lines
2.3 KiB
XML
41 lines
2.3 KiB
XML
<?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="UCSC Test" id="ucsc_table_direct_test1" tool_type="data_source" URL_method="post">
|
|
<description>table browser</description>
|
|
<command interpreter="python">data_source.py $output $__app__.config.output_size_limit</command>
|
|
<inputs action="http://genome-test.cse.ucsc.edu/cgi-bin/hgTables" check_values="false" method="get">
|
|
<display>go to UCSC Table Browser $GALAXY_URL</display>
|
|
<param name="GALAXY_URL" type="baseurl" value="/tool_runner" />
|
|
<param name="tool_id" type="hidden" value="ucsc_table_direct_test1" />
|
|
<param name="sendToGalaxy" type="hidden" value="1" />
|
|
<param name="hgta_compressType" type="hidden" value="none" />
|
|
<param name="hgta_outputType" type="hidden" value="bed" />
|
|
</inputs>
|
|
<request_param_translation>
|
|
<request_param galaxy_name="URL" remote_name="URL" missing="" />
|
|
<request_param galaxy_name="dbkey" remote_name="db" missing="?" />
|
|
<request_param galaxy_name="organism" remote_name="org" missing="unknown species" />
|
|
<request_param galaxy_name="table" remote_name="hgta_track" missing="" />
|
|
<request_param galaxy_name="description" remote_name="hgta_regionType" missing="" />
|
|
<request_param galaxy_name="data_type" remote_name="hgta_outputType" missing="tabular" >
|
|
<data_type_translation>
|
|
<format galaxy_format="tabular" remote_format="primaryTable" />
|
|
<format galaxy_format="tabular" remote_format="selectedFields" />
|
|
<format galaxy_format="wig" remote_format="wigdata" />
|
|
<format galaxy_format="interval" remote_format="tab" />
|
|
<format galaxy_format="html" remote_format="hyperlinks" />
|
|
<format galaxy_format="fasta" remote_format="sequence" />
|
|
</data_type_translation>
|
|
</request_param>
|
|
</request_param_translation>
|
|
<uihints minwidth="800"/>
|
|
<outputs>
|
|
<data name="output" format="tabular" />
|
|
</outputs>
|
|
<options sanitize="False" refresh="True"/>
|
|
</tool>
|