mirror of
https://github.com/galaxyproject/galaxy.git
synced 2026-10-16 07:19:13 +08:00
17 lines
1.3 KiB
XML
17 lines
1.3 KiB
XML
<display id="ucsc_bigbed" version="1.0.0" name="display at UCSC">
|
|
<!-- Load links from file: one line to one link -->
|
|
<dynamic_links site_type="ucsc" 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.datatypes_registry.get_display_sites('ucsc')}</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($bigbed_file.dbkey)}&hgt.customText=${qp($track.url)}</url>
|
|
<param type="data" name="bigbed_file" url="galaxy_${DATASET_HASH}.bigbed" />
|
|
<param type="template" name="track" viewable="True">track type="bigBed" name="${bigbed_file.name.replace( '\\', '\\\\' ).replace( '"', '\\"' )}" bigDataUrl="${bigbed_file.url}" db="${bigbed_file.dbkey}"</param>
|
|
</dynamic_links>
|
|
</display>
|