Help:DataVisualizationInCytoscape

From WikiPathways

(Difference between revisions)
Jump to: navigation, search
(Identifier mapping with BridgeDb)
(Identifier mapping with BridgeDb)
Line 84: Line 84:
* With one of the networks selected, go to '''Apps > BridegDb > Map Identifiers'''.  
* With one of the networks selected, go to '''Apps > BridegDb > Map Identifiers'''.  
* In the BridgeDb interface, open the drop-down under '''Source ID Type(s)''', and select Ensembl, Entrez Gene and MGI in the list of identifier types.
* In the BridgeDb interface, open the drop-down under '''Source ID Type(s)''', and select Ensembl, Entrez Gene and MGI in the list of identifier types.
 +
* In the '''Source Column in Node Table''', select '''XrefId''', which is the column that contains the identifier for WikiPathways.
 +
* In the '''Target ID Type''', select Ensembl. The '''Target Column in Node Table''' will default to '''Ensembl''', which will be a new column in the ''''Table Panel''' for the pathway.
 +
* Finally, in the '''All Target ID(s) or First Only?''' drop-down, select '''Keep the first target ID only'''.
 +
 +
The interface should now look like this:
 +
 +
[[Image:BridgeDbMapping.png|left|]]<br clear="all" />
 +
 +
* Click '''OK''' to run the mapping. When the mapping is complete, you will get a message stating how many identifiers were converted, and a question about running additional mapping. Click '''No''' to close BridgeDb.
 +
 +
* Repeat the mapping process with the Urea cycle pathway.
=== Data import ===
=== Data import ===

Revision as of 21:05, 11 January 2016

UNDER CONSTRUCTION

This tutorial describes how to visualize experimental data on WikiPathways in Cytoscape. After importing the data, it is mapped to standard identifiers using BridgeDb. A visual style is created, and the data is visualized on pathways imported from WikiPathways.

Contents

Installation

Cytoscape

Cytoscape Apps

  • In Cytoscape, open the App Manager under Apps > App Manager.

  • In the search field, type WikiPathways to search for the WikiPathways app. In the search results, select the WikiPathways app and click Install.
  • Next, find and install the BridgeDb app in the same way. When the installation is complete, click Close to exit the App Manager.

Alternatively, Cytoscape apps can be installed directly from the Cytoscape App Store. If Cytoscape is open on your computer, you can click Install on the relevant app page, and the app will install.

WikiPathways app

BridgeDb app

Data import and mapping

Download the data

For this tutorial, we will use an example dataset describing intestinal changes in response to fasting. The data is in the form of a text file.

The experimental data for this tutorial can be found here: Starvation_dataset_trans.txt.

Open pathways

Based on over-representation analysis, 4 pathways have been identified as significant for this dataset. To start, we will open these pathways.

  • Go to File > Import > Network > Public Databases.... In the Data Source drop-down, select WikiPathways.

  • Check the box for Only and select Mus musculus in the species drop-down.
  • In the search field, type in Electron Transport Chain. Click Enter to search.

  • In the pathway results, select the Electron Transport Chain and either double-click on the entry to open, or click ont he Import as Pathway button at the bottom right. Once opened, the pathway should look like this:

  • Repeat the steps above to import the following three additional pathways: Oxidative phosphorylation, Proteasome degradation and Urea cycle and metabolism of amino groups.
  • You should now have all 4 pathways open in Cytoscape:

Identifier mapping with BridgeDb

Since the data is annotated with Ensembl identifiers and the pathways have a mix of identifiers, the pathways need to be mapped to Ensembl before the data can be visualized. The BridgeDb app does exactly this, given a mapping file. Before performing the mapping, we have to import the appropriate mapping file to BridegDb.

  • Open the BridgeDb app under Apps > BridegDb > Manage ID Mapping Resources.

BridgeDb works with mapping information from various sources. For example, y ou can either download a database here, and after extracting it you can select it under Databases in the ID Mapping Resouces Configuration interface. You can also supply a local or remote mapping file. For this tutorial, we will use Web Services for the mappings.

  • Click on the Web Services entry in the list of ID mapping sources.
  • In the Webservice-based ID Mapping Resources Configuration interface, select BridegDb web service in the drop-down.

  • In the Base URL of BridgeDb web service drop-down, select the entry for mouse. Click OK to continue.

You will see a listing of supported ID systems. We are now ready to perform the mapping.


  • Close the ID Mapping Source Configuration interface.

We are now ready to map the identifiers from the pathways to Ensembl. BridgeDb works best when you know the type of identifier to map from (Source).

  • To find out which identifier type(s) is used in your pathway, first select all nodes on the pathway by clicking and dragging to select the entire pathway. Selected nodes will turn yellow.
  • Immediately below the network view in Cytoscape is the Table Panel. Expand the table either by clicking dragging on the table border, or by click on the Float Window icon on the right end of the Table Panel border.
  • The identifier types for data nodes are listed in the XrefDatasource column. The 4 pathways in this tutorial are annotated with a mix of Entrez Gene, MGI and Ensembl identifiers.

  • With one of the networks selected, go to Apps > BridegDb > Map Identifiers.
  • In the BridgeDb interface, open the drop-down under Source ID Type(s), and select Ensembl, Entrez Gene and MGI in the list of identifier types.
  • In the Source Column in Node Table, select XrefId, which is the column that contains the identifier for WikiPathways.
  • In the Target ID Type, select Ensembl. The Target Column in Node Table will default to Ensembl, which will be a new column in the 'Table Panel for the pathway.
  • Finally, in the All Target ID(s) or First Only? drop-down, select Keep the first target ID only.

The interface should now look like this:


  • Click OK to run the mapping. When the mapping is complete, you will get a message stating how many identifiers were converted, and a question about running additional mapping. Click No to close BridgeDb.
  • Repeat the mapping process with the Urea cycle pathway.

Data import

  • To import the experimental data, select File > Import > Table > File.... Select the starvation_dataset_trans.txt file and click Open.
  • Select the pathway collection created earlier to import the data to......
  • Select the appropriate key column......

Viewing data on pathways

Open WikiPathways in Cytoscape

Visual Styles

Personal tools