Differences between revisions 30 and 31
Revision 30 as of 2008-03-17 23:38:03
Size: 5638
Editor: KeiichiroOno
Comment:
Revision 31 as of 2008-03-19 19:39:46
Size: 7346
Editor: KeiichiroOno
Comment:
Deletions are marked like this. Additions are marked like this.
Line 91: Line 91:

== Import Attributes from External Database ==

Some of the web service clients can import attributes from external databases. BioMart client is an example. You can install it from Plugin Manager.

=== Import Additional ID Sets and Annotations from BioMart ===

attachment:biomart1.png

 * Load a network. In this example, we use ''galFiltered.sif'' in ''sampleData'' directory.
 * File → Import → Import Attributes from !BioMart...
 * Select '''Data Source'''. Since ''galFiltered.sif'' is a yeast network, select yeast dataset.
 * For '''Key Attribute''' section, select ''ID'' for '''Attribute''' and '''Data Type''' should be ''Ensemble Gene ID''. '''Attribute''' is the list of available attributes in current Cytoscape session and '''Data Type''' is the type of ID set of the attribute. In this case, Cytoscape uses ''ID'' as the key for mapping. Because the sample network ''galFiletred.sif'' uses ''Ensemble Gene ID'' for its node ID, like ''YOR072W'', you need to select ''Ensemble Gene ID'' for '''Data Type'''. So you need to know the type of ID set (''Entrez Gene ID'', ''UniProt Unified Acc. Number'', ''Ensemble Gene ID'', etc.) of the attribute selected in the '''Attribute''' box.
 * Select attributes you want to import. (Note: You cannot select too many attributes at once because !BioMart server has maximum number of selectable annotations.)
 * Press '''Import'''.
 * Now you can see the newly imported attributes on the Attribute Browser. You may see some attribute names ends with ''-TOP'' if there are multiple attribute values for a node. This is an attribute taken from the first entry of the original list attribute.

attachment:biomart2.png

Web Service Client Manager

Cytoscape 2.6.0 has a new feature called Web Service Client Manager. This is a framework to manage various kinds of web service clients in Cytoscape. By using web service clients, users can access remote datasources easily.

What is a Web Service?

Web service is a standardized, platform-independent mechanism for machines to interact over the network. These days, many major biological databases publishes their system with web service API:

This enables developers to write a program to access these services. Cytoscape core developer team have developed several sample web service clients using this framework. Currently, Cytoscape supports the following web services:

All of these clients are available as Plugins and users can install them through Plugin Manager.

In the following sections, users learn how to import network from extrenal databases.

Getting Started

To get started, select: File → Import → Network from web services...

attachment:file_import.png

Tip: View the [http://cbio.mskcc.org/~cerami/cytoscape/CytoWebServices.mov animation demo] for importing networks from web services.

Example #1: Retrieving Protein-Protein Interaction Networks from IntAct

  • Select: File → Import → Network from web services...

  • From the pull-down menu, select the IntAct Web Service Client.

  • Enter one or more search terms, such as BRCA1
  • Click the Search button.

attachment:intact_import.png

After confirming the download of interaction data, the network of BRCA1 will be imported and visualized.

Tip: Expanding the Network: Several of the Cytoscape web services provide additional options in the node context menu. To access these options, right-click on a node and select "Use Web Services." For example, in the screenshot to the right, we have loaded the BRCA1 network from IntAct, and have chosen to merge this node's neighbors into the existing network.

attachment:node_context2.png

Example #2: Retrieving Protein-Protein Interaction Networks from NCBI Entrez Gene

An entry of NCBI Entrez Gene has a section called Interactions. NCBI web service client uses this section to build networks.

  • Select: File → Import → Network from web services...

  • From the pull-down menu, select the NCBI Web Service Client.

  • Enter free-keywords. For example, type human muscular dystrophy.

  • Click the Search button.

attachment:entrez_import.png

In this example, edge color represents a data source type.

Note: since NCBI client extracts interaction data from a huge dataset, it takes a long time (30 sec. - 5 minutes, depends on machine spec. and network connection) to import large set of interactions.

Example #3: Retrieving Pathways and Networks from Pathway Commons

  • Select: File → Import → Network from web services...

  • From the pull-down menu, select the Pathway Commons Web Service Client.

Then, follow the three-step process outlined below:

attachment:3_steps.png

  • Step 1: Enter your search term; for example: BRCA1
  • Step 2: Select the protein or small molecule of interest. Full details regarding each molecule is shown in the bottom left panel.
  • Step 3: Download a specific pathway or interaction network.

Downloading Pathways and Interaction Networks

In Step 3, you can simply double-click on a pathway of interest, or click on the Interaction Networks tab. The Interaction Networks tab enables you to filter interactions by data source and/or interaction type. For example, you can choose to restrict your network to direct physical interactions from HPRD and MINT only:

attachment:intxn_filter.png

Pathway Commons Options

You can configure access options from the Options tab. There are two retrieval options:

  • Simplified Binary Model: Retrieve a simplified binary network, as inferred from the original BioPAX representation. In this representation, nodes within a network refer to physical entities only, and edges refer to inferred interactions.
  • Full Model: Retrieve the full model, as stored in the original BioPAX representation. In this representation, nodes within a network can refer to physical entities and interactions.

By default, the simplified binary model is selected.

Future Directions

As additional web service clients become available, they will be made available via the Cytoscape Plugin Manager. Once installed, these web service clients will be centrally accessible via the same steps defined above:

  • File → Import → Network from web services...

Import Attributes from External Database

Some of the web service clients can import attributes from external databases. BioMart client is an example. You can install it from Plugin Manager.

Import Additional ID Sets and Annotations from BioMart

attachment:biomart1.png

  • Load a network. In this example, we use galFiltered.sif in sampleData directory.

  • File → Import → Import Attributes from BioMart...

  • Select Data Source. Since galFiltered.sif is a yeast network, select yeast dataset.

  • For Key Attribute section, select ID for Attribute and Data Type should be Ensemble Gene ID. Attribute is the list of available attributes in current Cytoscape session and Data Type is the type of ID set of the attribute. In this case, Cytoscape uses ID as the key for mapping. Because the sample network galFiletred.sif uses Ensemble Gene ID for its node ID, like YOR072W, you need to select Ensemble Gene ID for Data Type. So you need to know the type of ID set (Entrez Gene ID, UniProt Unified Acc. Number, Ensemble Gene ID, etc.) of the attribute selected in the Attribute box.

  • Select attributes you want to import. (Note: You cannot select too many attributes at once because BioMart server has maximum number of selectable annotations.)

  • Press Import.

  • Now you can see the newly imported attributes on the Attribute Browser. You may see some attribute names ends with -TOP if there are multiple attribute values for a node. This is an attribute taken from the first entry of the original list attribute.

attachment:biomart2.png

Cytoscape_User_Manual/ImportingNetworksFromWebServices (last edited 2010-07-28 03:24:29 by KeiichiroOno)

Funding for Cytoscape is provided by a federal grant from the U.S. National Institute of General Medical Sciences (NIGMS) of the Na tional Institutes of Health (NIH) under award number GM070743-01. Corporate funding is provided through a contract from Unilever PLC.

MoinMoin Appliance - Powered by TurnKey Linux