Discussion:
[Gmod-gbrowse] Balloon click function
Nathan Weeks
2015-04-03 17:03:13 UTC
Permalink
Hi Vaneet,

The issue may be that GBrowse configuration files are in the
Bio::Graphics::FeatureFile format, which needs one or more spaces in
the first column to continue the "value" (in this case, callback
definition) on multiple lines. See:

http://search.cpan.org/dist/Bio-Graphics-2.39/lib/Bio/Graphics/FeatureFile.pm#Formatting_Entries

You would need to indent the closing brace, as well as any code that
appears within:

balloon click = sub{
}

Regards,

--
Nathan Weeks
IT Specialist
USDA-ARS Corn Insects and Crop Genetics Research Unit
Crop Genome Informatics Laboratory
Iowa State University
http://weeks.public.iastate.edu/
----------------------------------------------------------------------
Message: 1
Date: Mon, 23 Mar 2015 22:54:00 +0000
Subject: [Gmod-gbrowse] Balloon click function
Content-Type: text/plain; charset="us-ascii"
Hello,
I'm trying to add some links via tool tip for several tracks or as it's called normally in the code the "balloon click" function. These tracks are bigwig tracks. For some reason simply trying to add that code to the respective configuration files causes the whole genome browser page not to be displayed, returns an "Internal Server error" page instead which I've seen before sometimes when some code cannot process properly from the .conf file.
balloon click = sub{
}
This function and the same code that I'm trying to paste has worked for other types of tracks like gene model tracks, so I'm just wondering whether the Bigwig tracks simply don't accept 'balloon click' as a function or not? Is it not possible to add balloons or tool tips to bigwig tracks, if so how is it properly done?
Thanks,
Vaneet
Vaneet Lotay
Xenbase Bioinformatician
724 ICT Building - University of Calgary
2500 University Drive NW
Calgary AB T2N 1N4
CANADA
-------------- next part --------------
An HTML attachment was scrubbed...
Vaneet Lotay
2015-04-03 22:13:22 UTC
Permalink
Thanks for replying, you're right about the indent on the closing brace of the balloon function...thats what it was. Gbrowse is pretty finicky about these things clearly.

Vaneet



Sent from my Samsung device


-------- Original message --------
From: Nathan Weeks <***@iastate.edu>
Date: 04-03-2015 12:03 PM (GMT-06:00)
To: Vaneet Lotay <***@ucalgary.ca>
Cc: gmod-***@lists.sourceforge.net
Subject: Re: [Gmod-gbrowse] Balloon click function

Hi Vaneet,

The issue may be that GBrowse configuration files are in the
Bio::Graphics::FeatureFile format, which needs one or more spaces in
the first column to continue the "value" (in this case, callback
definition) on multiple lines. See:

http://search.cpan.org/dist/Bio-Graphics-2.39/lib/Bio/Graphics/FeatureFile.pm#Formatting_Entries

You would need to indent the closing brace, as well as any code that
appears within:

balloon click = sub{
}

Regards,

--
Nathan Weeks
IT Specialist
USDA-ARS Corn Insects and Crop Genetics Research Unit
Crop Genome Informatics Laboratory
Iowa State University
http://weeks.public.iastate.edu/
----------------------------------------------------------------------
Message: 1
Date: Mon, 23 Mar 2015 22:54:00 +0000
Subject: [Gmod-gbrowse] Balloon click function
Content-Type: text/plain; charset="us-ascii"
Hello,
I'm trying to add some links via tool tip for several tracks or as it's called normally in the code the "balloon click" function. These tracks are bigwig tracks. For some reason simply trying to add that code to the respective configuration files causes the whole genome browser page not to be displayed, returns an "Internal Server error" page instead which I've seen before sometimes when some code cannot process properly from the .conf file.
balloon click = sub{
}
This function and the same code that I'm trying to paste has worked for other types of tracks like gene model tracks, so I'm just wondering whether the Bigwig tracks simply don't accept 'balloon click' as a function or not? Is it not possible to add balloons or tool tips to bigwig tracks, if so how is it properly done?
Thanks,
Vaneet
Vaneet Lotay
Xenbase Bioinformatician
724 ICT Building - University of Calgary
2500 University Drive NW
Calgary AB T2N 1N4
CANADA
-------------- next part --------------
An HTML attachment was scrubbed...
Loading...