> 
> You can even make a page where the user clicks on a link that will
> go and post that superset url to the hgCustom or hgTracks cgi.
> Here is an example link:
> http://hgwdev.cse.ucsc.edu/cgi-bin/hgTracks?db=hg18&position=chr11:116199665-116209156&hgt.customText=http://myserver.edu/coolSuperSetX
> 

Indeed this is more or less what galaxy does to serve bigwig and bam tracks in 
the proper display_application

<display id="ucsc_bigwig" 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="True" />
        <param type="template" name="track" viewable="True" 
strip_https="True">track type=bigWig name="${bigwig_file.name}" 
bigDataUrl=${bigwig_file.url} db=${bigwig_file.dbkey} visibility=Full 
windowingFunction=mean maxHeightPixels=128:32:11</param>
    </dynamic_links>
</display>



Center for Genomic Science of IIT@SEMM

Davide Cittaro, PhD
Postdoc Senior
[email protected]

site: http://genomics.iit.it/
follow us : http://twitter.com/IITalk
find us : http://www.facebook.com/IITalk
Via Adamello 16, 20139 Milan
t: +39 02 574303007
f: +39 02 94375991

Legal Disclaimer
This electronic message contains information that is confidential. The 
information is intended for the use of the addressee only. If you are not the 
addressee we would appreciate your notification in this respect. Please note 
that any disclosure, copy, distribution or use of the contents of this message 
is prohibited and may be unlawful. We have taken every reasonable precaution to 
ensure that any kind of attachment to this e-mail has been swept for viruses. 
However, we cannot accept liability for any damage sustained as a result of 
software viruses and would advise you to carry out your own virus checks before 
opening any attachment. Legal Disclaimer
Questo messaggio Email contiene informazioni confidenziali riservate ai soli 
destinatari. Qualora veniate in possesso di tali informazioni senza essere 
definito come destinatario vi preghiamo di leggere le seguenti note. Ogni 
apertura, copia, distribuzione del contenuto del messaggio e dei suoi allegati 
è proibito e potrebbe violare le presenti leggi. Abbiamo attivato ogni 
possibile e ragionevole precauzione per assicurare che gli allegati non 
contengano virus. Comunque non assumeremo alcuna responsabilità  per ogni 
eventuale danno causato da virus software e simili in quanto è onere del 
destinatario verificarne l'assenza in ogni allegato attuando propri 
indipendenti controlli.




_______________________________________________
Genome maillist  -  [email protected]
https://lists.soe.ucsc.edu/mailman/listinfo/genome

Reply via email to