Files
galaxy/display_applications/genetrack.xml
T

19 lines
1.2 KiB
XML

<display id="genetrack_interval" version="1.0.0" name="view in">
<link id="genetrack" name="GeneTrack">
<url target_frame="galaxy_main">http://genetrack.g2.bx.psu.edu/galaxy?filename=${encoded_filename.qp}&amp;hashkey=${hash_key.qp}&amp;input=${qp(str($genetrack_file.id))}&amp;GALAXY_URL=${galaxy_url.qp}</url>
<param type="data" name="bed_file" viewable="False" format="bed6,genetrack"/> <!-- for now, we'll explicitly take care of the multi-step conversion; walk genetrack datatype down as a conversion of genetrack to genetrack doesn't exist and would likely be pointless -->
<param type="data" dataset="bed_file" name="genetrack_file" format="genetrack" viewable="False" />
<param type="template" name="galaxy_url" strip="True" >
${BASE_URL}/tool_runner?tool_id=predict2genetrack
</param>
<param type="template" name="hash_key" strip="True" >
#from galaxy.util.hash_util import hmac_new
${hmac_new( $APP.config.tool_secret, $genetrack_file.file_name )}
</param>
<param type="template" name="encoded_filename" strip="True" >
#import binascii
${binascii.hexlify( $genetrack_file.file_name )}
</param>
</link>
</display>