view display_applications/proteomics/PepXml.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
line wrap: on
line source

<display id="proteomics_pepxml" version="1.0.0" name="view pepXML in">
	<dynamic_links from_file="tool-data/protk_display_site.txt" skip_startswith="#" id="0" name="0">
        <!-- Define parameters by column from file -->
        <dynamic_param name="site_id" value="0"/>
        <dynamic_param name="site_url" value="1"/>
        <!-- We define url and params as normal, but values defined in dynamic_param are available by specified name -->
        <url target_frame="galaxy_main">${site_url}/init_local?file=${encoded_filename.qp}&amp;type=pepxml</url>
        <param type="data" name="pep_file" viewable="False" format="pepXML"/>
        <param type="data" dataset="pep_file" name="pepxml_file" format="pepXML" viewable="False" />
        <param type="template" name="encoded_filename" strip="True" >
            #import binascii
            ${binascii.hexlify( $pepxml_file.file_name )}
        </param>
        <param type="template" name="galaxy_url" strip="True" >
                ${BASE_URL.split(":")[1][2:]}
        </param>
    </dynamic_links>
</display>