Obtaining high-quality figures from UCSC Genome Browser

The UCSC Genome Browser is widely used for genomic data visualization. Being a web-based application, it works in an internet browser like Firefox or Chrome and shows a schematic representation of a genome in low resolution that is enough for a screen. However, journals often require high-resolution figures for manuscripts to be submitted or published. The UCSC Genome Browser provides an opportunity to export such figures.

To download a current view of the genome browser, choose the menu item View > PDF/PS on the top of the browser webpage


and click on the link Download the current browser graphic in EPS.


The downloaded EPS file can be inserted in a manuscript or converted to other format. For example, one may easily convert it to the PNG format using ImageMagick in the following way.

convert -density 600 figure.eps -background white -flatten figure.png

Note that we add the white background to the produced figure by specifying the following options: -background white -flatten, otherwise we would obtain a PNG file with a transparent background. Resolution (in dpi) of the output figure is given by the -density option. Below is the high-resolution figure obtained with the specified parameters.


Leave a Reply

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out /  Change )

Google+ photo

You are commenting using your Google+ account. Log Out /  Change )

Twitter picture

You are commenting using your Twitter account. Log Out /  Change )

Facebook photo

You are commenting using your Facebook account. Log Out /  Change )


Connecting to %s