V21: Creating and managing multiple gene sets

From wubrowse wiki
Jump to: navigation, search

Monday, July 22, 2013

Version 21 features the all-new gene set creating and management functions.

Create a gene set

Click the "Apps" button, then select "Gene set" option to see following panel:

V21- Creating and managing multiple gene sets 0 1.png

Click the "Add new gene set" button:

V21- Creating and managing multiple gene sets 1 2.png

To use the default list of genes, simply click Submit button, a new gene set will be added:

V21- Creating and managing multiple gene sets 2 3.png

To add additional gene sets, click the Add button again. Let's try "BED file" option this time:

V21- Creating and managing multiple gene sets 3 3.png

You can upload a BED file and get a "gene set" with all the regions in the file. In fact, you have freedom to use any format for your text file, not restricted to BED or GFF or whatever. You only need to specify column index of required fields to load it.

Once a text file is loaded, it will be shown as a second entry:

V21- Creating and managing multiple gene sets 4 1.png

Additionally you can query and load a KEGG pathway as the third method.

Manage/edit a gene set

Click (left-click) on a gene set entry to get available options:

V21- Creating and managing multiple gene sets 5 1.png

Choose the first option "View and edit" to get following panel:

V21- Creating and managing multiple gene sets 6 1.png

As indicated, you can use options in this panel to edit this gene set, including re-ordering, switch gene model, mark and delete items, add new items, change flanking regions, and rename this set.

Click button Done to hide the editing options.

Run gene set view

Click a gene set and choose Gene set view option:

V21- Creating and managing multiple gene sets 7 1.png

The browser will run Gene set view using the genes or coordinates in this gene set. To quit Gene set view, click the "Turn off" button pointed by the cursor in the screenshot:

V21- Creating and managing multiple gene sets 8 1.png

Note: to add flanking regions to the gene set view (or to add/remove items and such), you need to perform edit to the gene set, then re-run Gene set view using the updated set.

Use gene set in other apps

You can choose a gene set and send it to any other appropriate apps. Simply click the gene set and choose the option that corresponds to the desired app. From the app's configuration panel (if available) you can also find the option to choose gene set.

Extra: gene sets from datahub

You can put a gene set in your datahub descriptor file. Click this link to see the sample hg19 datahub now hosting two gene sets:


Click this link to display this datahub and load the gene sets defined in this hub (go to Gene set management panel to check it out):


The sample hub file contains description on how to write a gene set. Very simply, just enclose your gene set inside a pair of keywords: genesetstart and genesetend. The browser will try to use all contents between this two keywords as a gene set.

This makes sure that your gene set will always be there unless you change it, because it doesn't rely on session database to store.

Finally a few notable points:

All your gene sets can be saved in a session (and recovered by it). By contrast, with URL parameter you can only keep one gene set. You can save multiple gene sets with a datahub (but you need to put it on the web). When a gene set is sent to an app (e.g. Gene set view), it duplicates a copy of itself and is separate from the set that is running the app. So if you modified the gene set, the change will *not* be automatically reflected in the app, but you need to re-submit the gene set to the app again to get updated results. Gene Set View operation panel is no longer around. Due to some hard changes with the new gene set function, sessions with Gene set view saved prior to Version 21 release might not be correctly recovered. We apologize for any inconvenience! We recommend the use of datahub to encode gene set which should be both stable and convenient.

You can get the source code from dropbox, or our server.

A very brief list of steps to install mirrors of our Browser is now available. It is rather sketchy and imcomplete and we will try to improve it.