annotate display_applications/proteomics/ProtXml.xml @ 3:255b5b6ec617 draft default tip

Better defaults for omssa
author Ira Cooke <iracooke@gmail.com>
date Mon, 23 Jul 2012 14:48:31 +1000
parents a929e27eb203
children
Ignore whitespace changes - Everywhere: Within whitespace: At end of lines:
rev   line source
0
a929e27eb203 Uploaded
iracooke
parents:
diff changeset
1 <display id="proteomics_protxml" version="1.0.0" name="view protXML in">
a929e27eb203 Uploaded
iracooke
parents:
diff changeset
2 <dynamic_links from_file="tool-data/protk_display_site.txt" skip_startswith="#" id="0" name="0">
a929e27eb203 Uploaded
iracooke
parents:
diff changeset
3 <!-- Define parameters by column from file -->
a929e27eb203 Uploaded
iracooke
parents:
diff changeset
4 <dynamic_param name="site_id" value="0"/>
a929e27eb203 Uploaded
iracooke
parents:
diff changeset
5 <dynamic_param name="site_url" value="1"/>
a929e27eb203 Uploaded
iracooke
parents:
diff changeset
6 <!-- We define url and params as normal, but values defined in dynamic_param are available by specified name -->
a929e27eb203 Uploaded
iracooke
parents:
diff changeset
7 <url target_frame="galaxy_main">${site_url}/init_local?file=${encoded_filename.qp}&amp;type=protxml</url>
a929e27eb203 Uploaded
iracooke
parents:
diff changeset
8 <param type="data" name="prot_file" viewable="False" format="protXML"/>
a929e27eb203 Uploaded
iracooke
parents:
diff changeset
9 <param type="data" dataset="prot_file" name="protxml_file" format="protXML" viewable="False" />
a929e27eb203 Uploaded
iracooke
parents:
diff changeset
10 <param type="template" name="encoded_filename" strip="True" >
a929e27eb203 Uploaded
iracooke
parents:
diff changeset
11 #import binascii
a929e27eb203 Uploaded
iracooke
parents:
diff changeset
12 ${binascii.hexlify( $protxml_file.file_name )}
a929e27eb203 Uploaded
iracooke
parents:
diff changeset
13 </param>
a929e27eb203 Uploaded
iracooke
parents:
diff changeset
14 <param type="template" name="galaxy_url" strip="True" >
a929e27eb203 Uploaded
iracooke
parents:
diff changeset
15 ${BASE_URL.split(":")[1][2:]}
a929e27eb203 Uploaded
iracooke
parents:
diff changeset
16 </param>
a929e27eb203 Uploaded
iracooke
parents:
diff changeset
17 </dynamic_links>
a929e27eb203 Uploaded
iracooke
parents:
diff changeset
18 </display>