<tool id="regionDb" name="RegionDb-Import">
<description>Import from regionDb</description>
<command interpreter="python">../data_source/data_source.py $output $__app__.config.output_size_limit</command>
<display>Display-Text</display>
<param name="GALAXY_URL" type="baseurl" value="/tool_runner" />
<param name="tool_id" type="hidden" value="regionDb" />
</inputs>
<request_param_translation>
<request_param galaxy_name="URL" remote_name="URL" missing=""/>
<request_param galaxy_name="URL_method" remote_name="URL_method" missing="get" />
<request_param galaxy_name="name" remote_name="name" missing="Biomart test query" />
</request_param_translation>
<outputs>
<data name="regionDb File" format="bed" label="regionDb import" />
</outputs>
<help>
**What it does**
import ...
</help>
</tool>
what actually works is, if i try to receive biomart data with this request.
my question is: was there some extra hack to get the biomart tool to run? i found some lines in the lib/galaxy/web/controllers/tool_runner.py which confirm that assumption:
#Hack to get biomart to work, ideally, we could pass tool_id to biomart and receive it back
CGI Variables
CONTENT_LENGTH '-1'
CONTENT_TYPE 'application/x-www-form-urlencoded'
HTTP_ACCEPT 'text/html,application/xhtml+xml,application/xml;q=0.9,*/*;q=0.8'
HTTP_ACCEPT_CHARSET 'ISO-8859-1,utf-8;q=0.7,*;q=0.7'
HTTP_ACCEPT_ENCODING 'gzip,deflate'
HTTP_ACCEPT_LANGUAGE 'en-us,en;q=0.5'
HTTP_CONNECTION 'Keep-Alive'
HTTP_COOKIE 'galaxysession=c6ca0ddb55be603af8ffade046cb8ca7fe7a18f326db29b947c846a3b24831e1362e15c491e90b43'
HTTP_HOST 'gen43'
HTTP_REFERER 'http://localhost:8888/index2.php?GALAXY_URL=http%3A//gen43/galaxy/tool_runner&tool_id=regionDb'
HTTP_USER_AGENT 'Mozilla/5.0 (Macintosh; U; Intel Mac OS X 10.6; en-US; rv:1.9.2.3) Gecko/20100401 Firefox/3.6.3'
HTTP_VIA '1.1 gen43.imp.univie.ac.at'
PATH_INFO '/tool_runner/regionDb'
QUERY_STRING 'type=text&name=new%20history%20entry&URL=http://localhost:8888/getfile.php'
REMOTE_ADDR '10.42.111.27'
REQUEST_METHOD 'POST'
SCRIPT_NAME '/galaxy'
SERVER_NAME 'gen43.imp.univie.ac.at'
SERVER_PORT '9191'
SERVER_PROTOCOL 'HTTP/1.1'
Configuration
__file__ '/projects/solexadst/serverData/galaxy-devel/universe_wsgi.webapp.ini'
apache_xsendfile 'False'
brand 'GenAu-Epx Development!!!'
cookie_path '/galaxy'
debug 'TRUE'
enable_api 'True'
enable_job_running 'False'
enable_pages 'True'
here '/projects/solexadst/serverData/galaxy-devel'
log_level 'DEBUG'
new_user_dataset_access_role_default_private 'True'
remote_user_logout_href '/logout'
remote_user_maildomain 'genau.at'
require_login 'True'
set_metadata_externally 'True'
static_cache_time '360'
static_dir '/projects/solexadst/serverData/galaxy-devel/static/'
static_enabled 'True'
static_favicon_dir '/projects/solexadst/serverData/galaxy-devel/static/favicon.ico'
static_images_dir '/projects/solexadst/serverData/galaxy-devel/static/images'
static_scripts_dir '/projects/solexadst/serverData/galaxy-devel/static/scripts/'
static_style_dir '/projects/solexadst/serverData/galaxy-devel/static/june_2007_style/blue'
upstream_gzip 'False'
use_interactive 'False'
use_remote_user 'True'