Creating Hi-Res Screenshots in JBrowse

higher-res screenshot of JBrowse

While the new genome browser (JBrowse) implemented at WormBase has several advantages, like faster browsing and a faceted track selector, it does lack a few features from the venerable GBrowse instance that has been at WormBase for many years.  While we and the JBrowse developers are working on addressing those minor shortcomings, this article is about how to circumvent one of those issues now.  

JBrowse lacks the ability to make a high resolution image like GBrowse.  While taking a screenshot can sometimes result in an acceptable image (for example, Macs with a retina display work pretty well), the result is not always suitable for publication or putting on a poster.  The method described here still does not allow for making an SVG image, but it does allow for higher quality PNG images than just taking a screenshot and also allows for the creation of a PDF document with the image in it.  Unfortunately, this method requires downloading a tool where we must edit one of the source files and then execute it on the command line.  While this is a little bit of a hassle, once it is set up, creating screenshots is quite easy.

[Read more…]