Nathan Weeks
2015-04-03 17:03:13 UTC
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/
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...
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...