Files
galaxy/tools/data_source/biomart.xml
T
Daniel Blankenberg b2e2b801ea Enhance data_source.py to take advantage of the content length when known. If content length provided by external application is
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.
2009-08-03 12:02:54 -04:00

42 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.
TODO: Hack to get biomart to work - the 'add_to_URL' param can be eliminated when the Biomart team encodes URL prior to sending, meanwhile
everything including and beyond the first '&' is truncated from URL. They said they'll let us know when this is fixed at their end.
-->
<tool name="BioMart" id="biomart" tool_type="data_source" URL_method="get" version="1.0.1">
<description>Central server</description>
<command interpreter="python">data_source.py $output $__app__.config.output_size_limit</command>
<inputs action="http://www.biomart.org/biomart/martview" check_values="false" method="get" target="_top">
<display>go to BioMart Central $GALAXY_URL</display>
<param name="GALAXY_URL" type="baseurl" value="/tool_runner/biomart" />
</inputs>
<request_param_translation>
<request_param galaxy_name="URL" remote_name="URL" missing="">
<add_to_url>
<param_from_source name="_export" missing="1" />
<param_from_source name="GALAXY_URL" missing="0" />
</add_to_url>
</request_param>
<request_param galaxy_name="data_type" remote_name="exportView_outputformat" missing="tabular" >
<data_type_translation>
<format galaxy_format="tabular" remote_format="TSV" />
</data_type_translation>
</request_param>
<request_param galaxy_name="dbkey" remote_name="dbkey" missing="?" />
<request_param galaxy_name="organism" remote_name="organism" missing="" />
<request_param galaxy_name="table" remote_name="table" missing="" />
<request_param galaxy_name="description" remote_name="description" missing="" />
<request_param galaxy_name="name" remote_name="name" missing="Biomart query" />
<request_param galaxy_name="info" remote_name="info" missing="" />
</request_param_translation>
<uihints minwidth="800"/>
<outputs>
<data name="output" format="tabular" />
</outputs>
<options sanitize="False" refresh="True"/>
</tool>