Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Add the missing bigwig xml file for the IGV display application
- Loading branch information
Showing
1 changed file
with
89 additions
and
0 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,89 @@ | ||
<?xml version="1.0" encoding="UTF-8"?> | ||
<display id="igv_bigwig" version="1.0.0" name="display with IGV"> | ||
|
||
<!-- Load links from file: one line to one link --> | ||
<dynamic_links from_file="tool-data/shared/igv/igv_build_sites.txt" skip_startswith="#" id="0" name="1"> | ||
|
||
<!-- Define parameters by column from file, allow splitting on builds --> | ||
<dynamic_param name="site_id" value="0"/> | ||
<dynamic_param name="site_name" value="1"/> | ||
<dynamic_param name="site_link" value="2"/> | ||
<dynamic_param name="site_dbkeys" value="3" split="True" separator=","/> | ||
<dynamic_param name="site_organisms" value="4" split="True" separator=","/> | ||
|
||
<!-- Filter out some of the links based upon matching site_dbkeys to dataset dbkey --> | ||
<!-- <filter>${dataset.dbkey in $site_dbkeys}</filter> --> | ||
|
||
<!-- We define url and params as normal, but values defined in dynamic_param are available by specified name --> | ||
<url>${redirect_url}</url> | ||
|
||
<param type="data" name="bigwig_file" url="galaxy_${DATASET_HASH}.bw" format="bigwig"/> | ||
|
||
<param type="template" name="jnlp" url="galaxy_${DATASET_HASH}.jnlp" viewable="True" mimetype="application/x-java-jnlp-file"><?xml version="1.0" encoding="utf-8"?> | ||
<jnlp | ||
spec="1.0+" | ||
codebase="${site_link}"> | ||
<information> | ||
<title>IGV 1.5</title> | ||
<vendor>The Broad Institute</vendor> | ||
<homepage href="http://www.broadinstitute.org/igv"/> | ||
<description>IGV Software</description> | ||
<description kind="short">IGV</description> | ||
</information> | ||
<security> | ||
<all-permissions/> | ||
</security> | ||
<resources> | ||
|
||
<j2se version="1.5+" initial-heap-size="256m" max-heap-size="1100m"/> | ||
<jar href="igv.jar" download="eager" main="true"/> | ||
<jar href="batik-codec.jar" download="eager"/> | ||
<property name="apple.laf.useScreenMenuBar" value="true"/> | ||
<property name="com.apple.mrj.application.growbox.intrudes" value="false"/> | ||
<property name="com.apple.mrj.application.live-resize" value="true"/> | ||
<property name="com.apple.macos.smallTabs" value="true"/> | ||
</resources> | ||
|
||
<resources os="Mac" arch="i386"> | ||
<property name="apple.awt.graphics.UseQuartz" value="false"/> | ||
<nativelib href="hdfnative-macintel.jar"/> | ||
</resources> | ||
|
||
<resources os="Mac" arch="ppc"> | ||
<property name="apple.awt.graphics.UseQuartz" value="false"/> | ||
<nativelib href="hdfnative-macppc.jar"/> | ||
</resources> | ||
|
||
<resources os="Mac" arch="PowerPC"> | ||
<property name="apple.awt.graphics.UseQuartz" value="false"/> | ||
<nativelib href="hdfnative-macppc.jar"/> | ||
</resources> | ||
|
||
<resources os="Windows"> | ||
<property name="sun.java2d.noddraw" value="true"/> | ||
<nativelib href="hdfnative-win.jar"/> | ||
</resources> | ||
|
||
<resources os="Linux"> | ||
<nativelib href="hdfnative-linux64.jar"/> | ||
</resources> | ||
|
||
<application-desc main-class="org.broad.igv.ui.IGVMainFrame"> | ||
<argument>${bigwig_file.url}</argument> | ||
</application-desc> | ||
</jnlp> | ||
</param> | ||
<param type="template" name="redirect_url" strip="True"> | ||
#if $site_id.startswith( 'local_' ) | ||
${site_link}?file=${bigwig_file.qp}&merge=true&name=${qp( $bigwig_file.name )} | ||
#elif $site_id.startswith( 'web_link_' ): | ||
${site_link}?sessionURL=${bigwig_file.qp}&merge=true&name=${qp( $bigwig_file.name )} | ||
#else: | ||
${jnlp.url} | ||
#end if | ||
</param> | ||
</dynamic_links> | ||
|
||
|
||
</display> | ||
<!-- Ann Black-Ziegelbein based on Dan Blankenberg --> |