1 | <display id="genetrack_interval" version="1.0.0" name="view in"> |
---|
2 | <link id="genetrack" name="GeneTrack"> |
---|
3 | <url target_frame="galaxy_main">http://genetrack.g2.bx.psu.edu/galaxy?filename=${encoded_filename.qp}&hashkey=${hash_key.qp}&input=${qp(str($genetrack_file.id))}&GALAXY_URL=${galaxy_url.qp}</url> |
---|
4 | <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 --> |
---|
5 | <param type="data" dataset="bed_file" name="genetrack_file" format="genetrack" viewable="False" /> |
---|
6 | <param type="template" name="galaxy_url" strip="True" > |
---|
7 | ${BASE_URL}/tool_runner?tool_id=predict2genetrack |
---|
8 | </param> |
---|
9 | <param type="template" name="hash_key" strip="True" > |
---|
10 | #from galaxy.util.hash_util import hmac_new |
---|
11 | ${hmac_new( $APP.config.tool_secret, $genetrack_file.file_name )} |
---|
12 | </param> |
---|
13 | <param type="template" name="encoded_filename" strip="True" > |
---|
14 | #import binascii |
---|
15 | ${binascii.hexlify( $genetrack_file.file_name )} |
---|
16 | </param> |
---|
17 | </link> |
---|
18 | </display> |
---|