annotate tools/data_source/hapmapmart.xml @ 1:cdcb0ce84a1b

Uploaded
author xuebing
date Fri, 09 Mar 2012 19:45:15 -0500
parents 9071e359b9a3
children
Ignore whitespace changes - Everywhere: Within whitespace: At end of lines:
rev   line source
0
9071e359b9a3 Uploaded
xuebing
parents:
diff changeset
1 <?xml version="1.0"?>
9071e359b9a3 Uploaded
xuebing
parents:
diff changeset
2 <!--
9071e359b9a3 Uploaded
xuebing
parents:
diff changeset
3 hacked from biomart.xml - testing hapmap biomart - problem is going to be converting these to lped/pbed
9071e359b9a3 Uploaded
xuebing
parents:
diff changeset
4 the data returned will be in all sorts of different shapes - and the sample ids need to be obtained separately
9071e359b9a3 Uploaded
xuebing
parents:
diff changeset
5 to create reliable pedigrees. eesh...
9071e359b9a3 Uploaded
xuebing
parents:
diff changeset
6
9071e359b9a3 Uploaded
xuebing
parents:
diff changeset
7 If the value of 'URL_method' is 'get', the request will consist of the value of 'URL' coming back in
9071e359b9a3 Uploaded
xuebing
parents:
diff changeset
8 the initial response. If value of 'URL_method' is 'post', any additional params coming back in the
9071e359b9a3 Uploaded
xuebing
parents:
diff changeset
9 initial response ( in addition to 'URL' ) will be encoded and appended to URL and a post will be performed.
9071e359b9a3 Uploaded
xuebing
parents:
diff changeset
10
9071e359b9a3 Uploaded
xuebing
parents:
diff changeset
11 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
9071e359b9a3 Uploaded
xuebing
parents:
diff changeset
12 everything including and beyond the first '&' is truncated from URL. They said they'll let us know when this is fixed at their end.
9071e359b9a3 Uploaded
xuebing
parents:
diff changeset
13 -->
9071e359b9a3 Uploaded
xuebing
parents:
diff changeset
14 <tool name="HapMapMart" id="hapmapmart" tool_type="data_source" version="0.0.01">
9071e359b9a3 Uploaded
xuebing
parents:
diff changeset
15 <description>HapMap Biomart</description>
9071e359b9a3 Uploaded
xuebing
parents:
diff changeset
16 <command interpreter="python">data_source.py $output $__app__.config.output_size_limit</command>
9071e359b9a3 Uploaded
xuebing
parents:
diff changeset
17 <inputs action="http://hapmap.ncbi.nlm.nih.gov/biomart/martview" check_values="false" method="get" target="_top">
9071e359b9a3 Uploaded
xuebing
parents:
diff changeset
18 <display>go to HapMap BioMart $GALAXY_URL</display>
9071e359b9a3 Uploaded
xuebing
parents:
diff changeset
19 <param name="GALAXY_URL" type="baseurl" value="/tool_runner/hapmapmart" />
9071e359b9a3 Uploaded
xuebing
parents:
diff changeset
20 </inputs>
9071e359b9a3 Uploaded
xuebing
parents:
diff changeset
21 <request_param_translation>
9071e359b9a3 Uploaded
xuebing
parents:
diff changeset
22 <request_param galaxy_name="URL" remote_name="URL" missing="">
9071e359b9a3 Uploaded
xuebing
parents:
diff changeset
23 <append_param separator="&amp;" first_separator="?" join="=">
9071e359b9a3 Uploaded
xuebing
parents:
diff changeset
24 <value name="_export" missing="1" />
9071e359b9a3 Uploaded
xuebing
parents:
diff changeset
25 <value name="GALAXY_URL" missing="0" />
9071e359b9a3 Uploaded
xuebing
parents:
diff changeset
26 </append_param>
9071e359b9a3 Uploaded
xuebing
parents:
diff changeset
27 </request_param>
9071e359b9a3 Uploaded
xuebing
parents:
diff changeset
28 <request_param galaxy_name="data_type" remote_name="exportView_outputformat" missing="tabular" >
9071e359b9a3 Uploaded
xuebing
parents:
diff changeset
29 <value_translation>
9071e359b9a3 Uploaded
xuebing
parents:
diff changeset
30 <value galaxy_value="tabular" remote_value="TSV" />
9071e359b9a3 Uploaded
xuebing
parents:
diff changeset
31 </value_translation>
9071e359b9a3 Uploaded
xuebing
parents:
diff changeset
32 </request_param>
9071e359b9a3 Uploaded
xuebing
parents:
diff changeset
33 <request_param galaxy_name="URL_method" remote_name="URL_method" missing="get" />
9071e359b9a3 Uploaded
xuebing
parents:
diff changeset
34 <request_param galaxy_name="dbkey" remote_name="dbkey" missing="hg18" />
9071e359b9a3 Uploaded
xuebing
parents:
diff changeset
35 <request_param galaxy_name="organism" remote_name="organism" missing="human" />
9071e359b9a3 Uploaded
xuebing
parents:
diff changeset
36 <request_param galaxy_name="table" remote_name="table" missing="" />
9071e359b9a3 Uploaded
xuebing
parents:
diff changeset
37 <request_param galaxy_name="description" remote_name="description" missing="" />
9071e359b9a3 Uploaded
xuebing
parents:
diff changeset
38 <request_param galaxy_name="name" remote_name="name" missing="HapMap query" />
9071e359b9a3 Uploaded
xuebing
parents:
diff changeset
39 <request_param galaxy_name="info" remote_name="info" missing="" />
9071e359b9a3 Uploaded
xuebing
parents:
diff changeset
40 </request_param_translation>
9071e359b9a3 Uploaded
xuebing
parents:
diff changeset
41 <uihints minwidth="800"/>
9071e359b9a3 Uploaded
xuebing
parents:
diff changeset
42 <outputs>
9071e359b9a3 Uploaded
xuebing
parents:
diff changeset
43 <data name="output" format="tabular" />
9071e359b9a3 Uploaded
xuebing
parents:
diff changeset
44 </outputs>
9071e359b9a3 Uploaded
xuebing
parents:
diff changeset
45 <options sanitize="False" refresh="True"/>
9071e359b9a3 Uploaded
xuebing
parents:
diff changeset
46 </tool>