Visualizers fixed for Java 7

Visualizers fixed for Java 7: If you have been following this blog, you will have seen the series of posts detailing workarounds for visualizer issues caused by Java updates. The good news is that we have made some fixes behind the scenes so that these should no longer be necessary going forward.  For the time being, these fixes are only available on our public server and its internal Broad-only counterpart.  We'll be rolling them out in the next release of GenePattern, however, so those of you who have your own locally-installed copy will have access as well.

Those previous blogs were, by necessity, rather heavy on the technical details.  This one will be much lighter in comparison.

For most users there is not much to do to enable the fix.  Launching any visualizer on the public server will bring up two warnings, the first asking whether you trust the GenePattern website to run Java...

...and the second asking whether you trust our visualizer launching application:

If you grant this access - and specifically if you check the "Do not show this again..." box in the second pop-up - then all visualizers on the server will work for you without asking you any further.  That is all that is required for most users.

Note that the pop-ups shown above are from Safari on Mac OS X 10.9 Mavericks and may differ slightly on other systems, though they should be very similar.  The first warning pop-up is especially subtle on Firefox; look closely at the top of your browser window for a black bar.

Special note for Safari users on Mavericks

Though the above steps should be enough on all other systems that we've seen, there are a few more details for Safari users on Mavericks.  

By default, Safari on Mavericks will not allow visualizers (or any other Java applets) to access the file system and do certain other activities unless the user sets their preferences to allow it.  This means, for example, that by default you can't save a heat map image in HeatMapViewer or load a list of genes in Multiplot Studio.  The visualizers will launch and mostly work but some functionality will be disabled.

To change this, choose Safari > Preferences in the menu bar, then choose the Security tab:

Click the Manage Website Settings... button to bring up the following screen:

Choose the selector next to the address of the public server (or whichever GenePattern server you are using) and select "Run in Unsafe Mode".  This will bring up one more pop-up asking whether you trust the website; if you agree to that, then the visualizers will be able to access the file system as before.

Note that you might need to restart Safari in order for these changes to take effect.

Notes for users of older versions of GenePattern

The fixes mentioned here will be included in the next release of GenePattern, version 3.8.2.  For users on older versions of GenePattern, some or all of the workarounds from our previous blogs still apply.  Just to recap:

Again, these workarounds only apply to users on older versions of GenePattern.  Public server users and those who update to the new version when it's available should not need to apply these.

Note that we have also released updated versions of HeatMapViewer, HierachicalClusteringViewer, CLSFileCreator and ComparativeMarkerSelectionViewer to improve the ease of use for users of these visualizers on older versions of GenePattern.