The following tutorial has been modified from the Cytoscape Wiki to specifically address working with networks created by the Enzyme Function Initative (EFI). To view Cytoscape 3's extensive tutorial pages, please go here.
Go to http://www.cytoscape.org/download.html and download a copy of Cytoscape. Check that your machine is running an up-to-date and correct (32-bit or 64-bit to match your Windows OS) version of Java Runtime Environment, to ensure successful installation of Cytoscape.
Before starting, you will need a dataset in the form of an xgmml file. Here is an example file for you to begin with if you do not have one already. Launch Cytoscape. You should see a window that looks like this:
Load your network file into Cytoscape by selecting File → Import → Network → File... and navigating to the location of your .xgmml file. Once loaded, click OK on the Import Network popup window. The example file consists of 497 edges observed between 60 proteins, which you can see in the left-hand pane.
Now your screen should look like this:
The initial view is not informative, but this is normal. Under the Layout menu, select yFiles Layouts → Organic. After a brief calculation, your screen should look like this:
On the Cytoscape canvas (the blue window showing the network graphic), you can select single nodes by clicking with the mouse or multiple nodes by holding shift and clicking. You may also click and hold in the white space to drag out a rectangle which will select multiple nodes within a given area. Notice that if you right click (control+click on Mac) on any node, you will get a sub-menu to carry out node-specific actions or access external links, such as External Links → Sequences and Proteins → UniProt.
Notice that at the very bottom of this window is the Data Panel. It looks like this:
Select a few nodes and you will see protein-specific information ("Node Attributes") appear in the data table. You can use the icons on the upper left to choose which attributes to display. As shortcuts, the third icon and the fourth icon will display all or none of the attributes, respectively. Double click (single click on Windows) the top of any column to sort the attributes in numerical or alphabetical order. You may also detach the data panel by clicking the icon in the upper right hand corner.
You can search by Node/Edge Attributes using the Select tab at the top of the Control Panel. Click the "plus sign" button and select "Column Filter". From the "Choose column..." dropdown menu, select the node or edge attribute by which you wish to filter (in the below example, Node: organism). At the bottom of the Control Panel, be sure to select "Apply Automatically" in order to watch your selection criteria filter the nodes and thus Table Panel information in real time. Type into the empty field your search criteria (example, Streptomyces) and the network will filter accordingly.
A node that matches the search will be highlighted (default, yellow) in the network and also appear in the Table Panel.
There are many options for changing the network visually. Begin by selecting the Style tab of the Control Panel. By default the Style tab displays, and allows you to change basic visual properties such as node shape, line thickness, and backgroud color. While you can adjust the visual properties of any feature, below is the basic process of changing node Fill Color.
There may be times when you want to view a network at an e-value more stringent than the one you used to generate the network. This can be done within Cytoscape instead of having to re-compute the network altogether.
ALTERNATIVELY - if you deselect the "Apply Automatically" option, you can input the "-log10(E)" lower and upper limits manually with finer resolution and greater accuracy than using the scroll bar.
Cytoscape can save all workspace states, including networks, attributes, visual styles, properties, and window sizes, into a session file (.cys). To save as a session, click the Save Session "floppy disk" icon on the toolbar and a .cys file will be saved.
To open the session file, click the Open Session "file folder" icon on the toolbar. A warning pop-up window will be shown. Click OK and select a session file. By doing this, everything will be restored automatically from the file.
Click here to contact us for help, reporting issues, or suggestions.