changeset 29:58a735eab9a9 default tip

Uploaded
author rico
date Thu, 05 Apr 2012 15:24:16 -0400
parents 700472442995
children
files bigwig_pos.xml
diffstat 1 files changed, 16 insertions(+), 0 deletions(-) [+]
line wrap: on
line diff
--- /dev/null	Thu Jan 01 00:00:00 1970 +0000
+++ b/bigwig_pos.xml	Thu Apr 05 15:24:16 2012 -0400
@@ -0,0 +1,16 @@
+<display id="ucsc_bigwig_pos" version="1.0.0" name="display at UCSC">
+    <!-- Load links from file: one line to one link -->
+    <dynamic_links from_file="tool-data/shared/ucsc/ucsc_build_sites.txt" skip_startswith="#" id="0" name="0">
+        <!-- Define parameters by column from file, allow splitting on builds -->
+        <dynamic_param name="site_id" value="0"/>
+        <dynamic_param name="ucsc_link" value="1"/>
+        <dynamic_param name="builds" value="2" split="True" separator="," />
+        <!-- Filter out some of the links based upon matching site_id to a Galaxy application configuration parameter and by dataset dbkey -->
+        <filter>${site_id in $APP.config.ucsc_display_sites}</filter>
+        <filter>${dataset.dbkey in $builds}</filter>
+        <!-- We define url and params as normal, but values defined in dynamic_param are available by specified name -->
+        <url>${ucsc_link}db=${qp($bigwig_file.dbkey)}&amp;hgt.customText=${qp($track.url)}</url>
+        <param type="data" name="bigwig_file" url="galaxy_${DATASET_HASH}.bigwig" strip_https="False" />
+        <param type="template" name="track" viewable="True" strip_https="False">track type=bigWig name="${bigwig_file.name}" bigDataUrl=${bigwig_file.url} db=${bigwig_file.dbkey}</param>
+    </dynamic_links>
+</display>