view display_applications/proteomics/ProtXml.xml @ 20:300fc3aa6954 draft default tip

planemo upload for repository https://github.com/iracooke/proteomics-datatypes commit 298f29ddf450b5821c22cae53615f03d96334d32
author iracooke
date Thu, 04 Jun 2015 08:10:37 -0400
parents 6ca516faacfc
children
line wrap: on
line source

<display id="proteomics_protxml" version="1.0.0" name="view protXML 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=protxml</url>
        <param type="data" name="prot_file" viewable="False" format="protxml"/>
        <param type="data" dataset="prot_file" name="protxml_file" format="protxml" viewable="False" />
        <param type="template" name="encoded_filename" strip="True" >
            #import binascii
            ${binascii.hexlify( $protxml_file.file_name )}
        </param>
        <param type="template" name="galaxy_url" strip="True" >
                ${BASE_URL.split(":")[1][2:]}
        </param>
    </dynamic_links>
</display>