Cytoscape Web: an interactive web-based network browser (original) (raw)

Journal Article

,

Banting and Best Department of Medical Research, Donnelly Centre for Cellular and Biomolecular Research, University of Toronto, 160 College Street, Toronto, ON M5S 3E1, Canada

Search for other works by this author on:

,

Banting and Best Department of Medical Research, Donnelly Centre for Cellular and Biomolecular Research, University of Toronto, 160 College Street, Toronto, ON M5S 3E1, Canada

Search for other works by this author on:

,

Banting and Best Department of Medical Research, Donnelly Centre for Cellular and Biomolecular Research, University of Toronto, 160 College Street, Toronto, ON M5S 3E1, Canada

Search for other works by this author on:

,

Banting and Best Department of Medical Research, Donnelly Centre for Cellular and Biomolecular Research, University of Toronto, 160 College Street, Toronto, ON M5S 3E1, Canada

Search for other works by this author on:

,

Banting and Best Department of Medical Research, Donnelly Centre for Cellular and Biomolecular Research, University of Toronto, 160 College Street, Toronto, ON M5S 3E1, Canada

Search for other works by this author on:

Banting and Best Department of Medical Research, Donnelly Centre for Cellular and Biomolecular Research, University of Toronto, 160 College Street, Toronto, ON M5S 3E1, Canada

* To whom correspondence should be addressed.

Search for other works by this author on:

Revision received:

01 July 2010

Cite

Christian T. Lopes, Max Franz, Farzana Kazi, Sylva L. Donaldson, Quaid Morris, Gary D. Bader, Cytoscape Web: an interactive web-based network browser, Bioinformatics, Volume 26, Issue 18, September 2010, Pages 2347–2348, https://doi.org/10.1093/bioinformatics/btq430
Close

Navbar Search Filter Mobile Enter search term Search

Abstract

Summary: Cytoscape Web is a web-based network visualization tool–modeled after Cytoscape–which is open source, interactive, customizable and easily integrated into web sites. Multiple file exchange formats can be used to load data into Cytoscape Web, including GraphML, XGMML and SIF.

Availability and Implementation: Cytoscape Web is implemented in Flex/ActionScript with a JavaScript API and is freely available at http://cytoscapeweb.cytoscape.org/

Contact: gary.bader@utoronto.ca

Supplementary information: Supplementary data are available at Bioinformatics online.

1 INTRODUCTION

Increasing amounts of high-throughput data are being collected, stored, shared and analyzed on the web, highlighting the need for effective web-based data visualization. Network visualization components are especially valuable to help researchers interpret their data as part of data analysis tools. However, current web-based network visualization components lack many useful features of their desktop counterparts. Medusa (Hooper and Bork, 2005) is a Java applet originally used in the STRING database (Jensen et al., 2009) and by many other web sites for network visualization, but lacks advanced features, such as detailed customization of the network view. jSquid (Klammer et al., 2008) expands Medusa's functionality, but does not provide an easy way for the client web site to change and interact with the network view after it has been rendered. TouchGraph (http://www.touchgraph.com/navigator.html) is another Java applet for network visualization, but provides only one mode of network interaction designed for exploration and is not easily customizable. yFiles Flex (http://www.yworks.com/en/products_yfilesflex_about.html) is a rich Internet application with a feature-rich user interface, an architecture that balances client/server work and supports efficient data communication. This commercial software is customizable within the bounds of the code already written, but is not open source. Cytoscape (http://www.cytoscape.org/) is an open source Java network visualization and analysis tool that provides a large array of useful features (Shannon et al., 2003), but is not specifically designed for use on the web except via Java WebStart or as a library to generate static network images for web display. The field of network visualization is lacking an interactive, easily customizable, open source, web-based visualization component.

Cytoscape Web is an interactive, web-based network visualization tool, modeled after the popular Cytoscape software (Fig. 1). Using basic programming skills, Cytoscape Web can be customized and incorporated into any web site. Cytoscape Web is not intended as a replacement for the Cytoscape desktop application, for example, it contains none of the plugin architecture functionality of Cytoscape; instead it is intended as a low overhead tool to add network visualization to a web application.

A Cytoscape Web network with a customized visual style.

Fig. 1.

A Cytoscape Web network with a customized visual style.

2 IMPLEMENTATION

Cytoscape Web is a client-side component that requires no server-side implementation, and allows developers to choose any server-side technology, if necessary. The main network display component of Cytoscape Web is implemented in Flex/ActionScript, but a JavaScript application programming interface (API) is provided so all the customization and interaction with the network view can be easily built in JavaScript without needing to change and compile the Flash code. This architecture has the advantage of using the Flash platform to implement complex and interactive vector images that behave consistently across major browsers, but without requiring the web site to be entirely built with this technology. In other words, the web site itself can rely on web standards (HTML, CSS and JavaScript) for embedding and interacting with Cytoscape Web. This design also offers the possibility of migrating the implementation to other technologies—such as scalable vector graphics (SVG) and HTML5—in the future without making major API changes. The choice of Flash rather than Java is motivated by the fact that Java applets can be slow to launch, require the download of the large Java runtime and make it difficult to create custom (non-Swing) user interfaces without writing low-level graphics code.

3 AVAILABLE FEATURES

3.1 Features

Similarly to Cytoscape, Cytoscape Web allows the client application to define a network of nodes and edges and customize their attributes. Data can be loaded into Cytoscape Web through one of the supported XML-based exchange formats (GraphML or XGMML) or a simple tab-delimited text (Cytoscape's SIF format). The network data can also be exported to any of the above-mentioned formats. The client can dynamically change node and edge visual styles (e.g. color, size and opacity), using any of the following methods: (i) specifying default visual properties for all elements; (ii) mapping node and edge attributes (e.g. name, interaction type and weight) to visual styles; and (iii) overriding default or mapped styles by setting a bypass style. For instance, different types of interactions can be mapped to edge colors (e.g. protein–protein to blue, protein–DNA to green), and the edge width can be used to represent interaction weight. Then the developer can use the bypass mechanism to create a first neighbors highlight feature, for example, by setting the nodes and edges that belong to the neighbor set to the color red. When the first neighbors' bypass is removed, the colors are automatically restored to their default or mapped values. These three options, combined with more than 20 visual properties for nodes and edges, provide flexibility and enable each Cytoscape Web-based application to define its own semantics, styles and features. For example, iRefWeb (http://wodaklab.org/iRefWeb/), an interface to the interaction Reference Index (iRefIndex) database (Razick et al., 2008), uses a basic implementation of Cytoscape Web to display all interactions in which a single query gene participates. Alternatively, GeneMANIA (http://www.genemania.org; Warde-Farley et al., 2010), a gene function prediction tool, uses a more complex implementation of Cytoscape Web to extend a user's input gene list and display interactions among the genes. Cytoscape Web communicates with the GeneMANIA server, mediated by client-side JavaScript, to display gene or network-specific highlights and associated information interactively.

Cytoscape Web's API can be used to implement the following features: a filter for nodes and edges, which temporarily removes the filtered out elements based on attribute data; functions for adding and deleting nodes and edges at runtime; the ability to export the whole network as an image, either to a PNG (Portable Network Graphics) file or to a publication quality vector format (PDF). Cytoscape Web provides the ability to pan and zoom the network and choose different network layouts, including force directed. The layout parameters can be customized, but if none of the available layouts produces the desired results, the web application can run an external layout algorithm—in JavaScript or on the server-side, for instance—and pass the results, via node positions, back to Cytoscape Web for visualization.

3.2 Performance

Cytoscape Web works best with small- to medium-sized networks, generally with up to a few hundred nodes and edges. Larger networks can be visualized, but the user interaction can become sluggish around 2000 elements (nodes or edges)—800 nodes and 1200 edges, for example (tested on an Apple laptop computer with 2 GHz dual core CPU and 4 GB RAM). Use of the force-directed layout is the major bottleneck in the initial rendering of a typical network. However, faster layouts are available and overall performance is dependent upon the client web site implementation and the end user configuration. Additional performance statistics for Cytoscape Web are available in the Supplementary Material.

3.3 Documentation

Cytoscape Web is actively developed as an open source project and is freely available at http://cytoscapeweb.cytoscape.org/. This web site includes a tutorial, with ready to use sample code, the API documentation and a showcase of major Cytoscape Web features. The online examples can be freely used as a template for building web sites containing Cytoscape Web.

3.4 Future directions

Future plans include the implementation of custom graphics for nodes and edges, additional network layouts and support for importing and closer integration with Cytoscape [e.g. importing/exporting networks in Cytoscape (.cys) file format].

ACKNOWLEDGEMENTS

Cytoscape is developed through an ongoing collaboration between the University of California at San Diego, the Institute for Systems Biology, Memorial Sloan-Kettering Cancer Center, Institut Pasteur, Agilent Technologies, Unilever, the University of Michigan, the University of California at San Francisco and the University of Toronto. We gratefully acknowledge the contributions of many Cytoscape developers who developed software that Cytoscape Web was based on. We thank the entire GeneMANIA team for support during the development of Cytoscape Web.

Funding: Genome Canada through the Ontario Genomics Institute (grant number 2007-OGI-TD-05); the U.S. National Institute of General Medical Sciences of the National Institutes of Health (grant number 2R01GM070743-06).

Conflict of Interest: none declared.

REFERENCES

Medusa: a simple tool for interaction graph analysis

,

Bioinformatics

,

2005

, vol.

21

(pg.

4432

-

4433

)

et al.

STRING 8–a global view on proteins and their functional interactions in 630 organisms

,

Nucleic Acids Res

,

2009

, vol.

37

(pg.

D412

-

D416

)

et al.

jSquid: a Java applet for graphical on-line network exploration

,

Bioinformatics

,

2008

, vol.

24

(pg.

1467

-

1468

)

et al.

iRefIndex: a consolidated protein interactions database with provenance

,

BMC Bioinformatics

,

2008

, vol.

9

pg.

405

et al.

Cytoscape: a software environment for integrated models of biomolecular interaction networks

,

Genome Res

,

2003

, vol.

13

(pg.

2498

-

2504

)

et al.

The GeneMANIA prediction server: biological network integration for gene prioritization and predicting gene function

,

Nucleic Acids Res

,

2010

, vol.

38

(pg.

W214

-

W220

)

Author notes

Associate Editor: Joaquin Dopazo

© The Author(s) 2010. Published by Oxford University Press.

This is an Open Access article distributed under the terms of the Creative Commons Attribution Non-Commercial License (http://creativecommons.org/licenses/by-nc/2.5), which permits unrestricted non-commercial use, distribution, and reproduction in any medium, provided the original work is properly cited.

Supplementary data

Citations

Views

Altmetric

Metrics

Total Views 6,387

4,887 Pageviews

1,500 PDF Downloads

Since 11/1/2016

Month: Total Views:
November 2016 3
December 2016 2
January 2017 9
February 2017 30
March 2017 14
April 2017 30
May 2017 29
June 2017 33
July 2017 21
August 2017 23
September 2017 30
October 2017 28
November 2017 23
December 2017 55
January 2018 54
February 2018 104
March 2018 97
April 2018 132
May 2018 72
June 2018 42
July 2018 46
August 2018 60
September 2018 49
October 2018 58
November 2018 67
December 2018 46
January 2019 56
February 2019 57
March 2019 76
April 2019 94
May 2019 73
June 2019 71
July 2019 83
August 2019 57
September 2019 52
October 2019 83
November 2019 76
December 2019 49
January 2020 50
February 2020 58
March 2020 54
April 2020 41
May 2020 24
June 2020 35
July 2020 51
August 2020 70
September 2020 52
October 2020 87
November 2020 70
December 2020 84
January 2021 65
February 2021 56
March 2021 99
April 2021 96
May 2021 72
June 2021 53
July 2021 72
August 2021 96
September 2021 50
October 2021 77
November 2021 107
December 2021 72
January 2022 67
February 2022 53
March 2022 97
April 2022 87
May 2022 80
June 2022 79
July 2022 75
August 2022 54
September 2022 80
October 2022 70
November 2022 89
December 2022 100
January 2023 90
February 2023 90
March 2023 100
April 2023 115
May 2023 80
June 2023 72
July 2023 79
August 2023 93
September 2023 80
October 2023 72
November 2023 69
December 2023 107
January 2024 106
February 2024 88
March 2024 136
April 2024 111
May 2024 107
June 2024 55
July 2024 60
August 2024 44
September 2024 49
October 2024 47
November 2024 31

Citations

566 Web of Science

×

Email alerts

Citing articles via

More from Oxford Academic