Blast2GO Blog

b

Generate a Venn Diagram in Blast2GO

When running a pairwise differential expression analysis, I was interested in rapidly visualise the genes that overlap between KOvsCtrl, TretvsCtrl and KOvsTret comparisons.
The Venn Diagram tool offered by Blast2GO allows selecting multiple ID lists or ID value lists in text or B2G format to draw the intersection of the elements of the lists.
These ID lists can easily be generated within Blast2GO. It is possible to do all in one place, without the need to go back and forth between Blast2GO and a text editor.
Propotional Venn Daigram

The ID list containing the identifiers of up-regulated genes for each comparison can be created within Blast2GO. The Venn Diagram will show the overlaps (common genes) and differences between the gene lists.

To create an ID list of UP or DOWN regulated genes from the DiffExpr project (.b2g), please do the following:

  1. Filter the table by the Tags column. It can be filtered by UP, DOWN or both UP and DOWN regulated genes.
  2. Mark all filtered entries by Ctrl+A (Windows and Linux) or Apple + A (Mac).
  3. Right-click on the SeqName column and click on the Create ID list of the column: Name option in the context menu (Figure 1). A new tab will open with the ID list of your entries.
  4. Save the list as a b2g project (go to File --> Save).
  5. The Venn Diagram tool is available under Tools.
  6. Browse either for the saved ID lists or for the folder where these have been saved (Figure 2)
  7. Click Run and the Venn Diagram will be created (Figure 3)

 

Create ID list in Blast2GO

Figure 1: Create ID list of up-regulated genes in Blast2GO.

 

Browse ID list folder

Figure 2: Folder where the ID lists have been saved

 

Venn Daigram

Figure 3: Venn Diagram of up-regulated genes in 3 different conditions (KO, Treatment, Control).

 

Note: See Blast2GO user manual for more information on the Venn Diagram parameters.

FORUM

Join our Blast2GO Google Group