Skip to main content

Cytoscape Automation API

Project description

py4cytoscape

This project recreates the R-based RCy3 Cytoscape Automation library as a Python package. The idea is to allow a Cytoscape workflow to be written in one language (R or Python) and translated to another language (Python or R) without having to learn different Cytoscape interfaces. The previous Cytoscape Python interface (Py2Cytoscape) has different features than the Cytoscape R library, and is therefore deprecated.

Additionally, this project attempts to maintain the same function signatures, return values, function implementation and module structure as the RCy3, thereby enabling smooth maintenance and evolution of both RCy3 and py4cytoscape.

This project uses PyCharm because of its excellent code management and debugging features.

Over time, py4cytoscape functionality should match RCy3 functionality. Once that occurs, novel Py2Cytoscape functions will be added to both as appropriate. The official Automation API definition met by both RCy3 and py4cytoscape is here. The API is versioned, and you can see which API version RCy3 or py4cytoscape implements by executing the cytoscape_version_info() or cytoscapeVersionInfo() function.

An overall scorecard comparing Py2Cytoscape, RCy3 and py4cytoscape can be found here. Pay close attention to columns E and F, which show how much of RCy3 is reflected in py4cytoscape.

Documentation

To understand the API structure and see calling examples, see the py4cytoscape documentation.

Quick Start

The quickest way to see py4cytoscape in action is via the Overview of py4cytoscape Jupyter-based workflow.

You can avoid installing Python or py4cytoscape by clicking on the Open in Colab button, and running the Python workflow in the Google Cloud, though you will still have to install Cytoscape on your workstation.

You can follow the notes in the Jupyter Notebook as the workflow automates Cytoscape execution.

How to install and test

For an explanation of py4cytoscape installation and testing, see the INSTALL.rst file.

How to learn more about py4cytoscape

A broad set of Cytoscape Automation samples and tutorials is available on the Cytoscape Automation Wiki.

How to configure logging

py4cytoscape logging is based on the Python logging package, which is based on the Java logging framework.

For an explanation of log configuration and use, see the LOGGING.rst file.

How to build and release

py4cytoscape maintainers can build a new release using the process in BUILDING.rst.

How to test

py4cytoscape has extensive test suites. Maintainers can learn more about testing in the TESTING.rst file.

License

py4cytoscape is released under the MIT License (see LICENSE.rst file):

    Copyright (c) 2018-2022 The Cytoscape Consortium
    Barry Demchak <bdemchak@ucsd.edu>

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

py4cytoscape-1.10.0.tar.gz (246.2 kB view details)

Uploaded Source

Built Distribution

py4cytoscape-1.10.0-py3-none-any.whl (181.2 kB view details)

Uploaded Python 3

File details

Details for the file py4cytoscape-1.10.0.tar.gz.

File metadata

  • Download URL: py4cytoscape-1.10.0.tar.gz
  • Upload date:
  • Size: 246.2 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/5.1.1 CPython/3.8.0

File hashes

Hashes for py4cytoscape-1.10.0.tar.gz
Algorithm Hash digest
SHA256 6f739598b98222f47be4e59002639925c9be248cb0df94fb72a22099160aa732
MD5 7c6eae26aab01dce7190895c5bc85482
BLAKE2b-256 96a56eff63ebaff9aa89ab0d28b7ffeffbdb1441d43084b7fb8baab80d5a44ff

See more details on using hashes here.

File details

Details for the file py4cytoscape-1.10.0-py3-none-any.whl.

File metadata

File hashes

Hashes for py4cytoscape-1.10.0-py3-none-any.whl
Algorithm Hash digest
SHA256 f05107bdb3791b9a4bddac02d7204a4fb808e50460f1d06a17c0beb1368e8817
MD5 62f144f0a077c3f1ab193ffc30bd7fd0
BLAKE2b-256 3eae6d6b90c6e1ea8479a3e964fa5f5dd15c7251e982c31e405a381c1a485d51

See more details on using hashes here.

Supported by

AWS AWS Cloud computing and Security Sponsor Datadog Datadog Monitoring Fastly Fastly CDN Google Google Download Analytics Microsoft Microsoft PSF Sponsor Pingdom Pingdom Monitoring Sentry Sentry Error logging StatusPage StatusPage Status page