Created
June 27, 2014 18:35
-
-
Save alexkalderimis/202a8f50a47f75995ea8 to your computer and use it in GitHub Desktop.
Minimal generic data source
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<?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="Generic Data Source" id="data_source" tool_type="data_source" > | |
<description>generic data source</description> | |
<command interpreter="python">data_source.py $output $__app__.config.output_size_limit</command> | |
<inputs check_values="false" > | |
</inputs> | |
<request_param_translation> | |
<request_param galaxy_name="URL_method" remote_name="URL_method" missing="post" /> | |
<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="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="" /> | |
<request_param galaxy_name="info" remote_name="info" missing="" /> | |
<request_param galaxy_name="data_type" remote_name="data_type" missing="auto" > | |
<value_translation> | |
<value galaxy_value="auto" remote_value="txt" /> <!-- auto-detect if the service provides 'txt' --> | |
</value_translation> | |
</request_param> | |
</request_param_translation> | |
<outputs> | |
<data name="output" format="txt" /> | |
</outputs> | |
<options sanitize="False" refresh="True" no_ui="True"/> | |
</tool> |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment