Skip to main content

A Python package for biological network analysis

Project description

RISK Network


Python pypiv License DOI Downloads Platforms

RISK (RISK Infers Spatial Kinships) is a next-generation tool designed to streamline the analysis of biological and non-biological networks. RISK enhances network analysis with its modular architecture, extensive file format support, and advanced clustering algorithms. It simplifies the creation of publication-quality figures, making it an important tool for researchers across disciplines.

Documentation and Tutorial

  • Documentation: Comprehensive documentation is available [here](Documentation link).
  • Tutorial: An interactive Jupyter notebook tutorial can be found here. We highly recommend new users to consult the documentation and tutorial early on to fully leverage RISK's capabilities.

Installation

RISK is compatible with Python 3.8 and later versions and operates on all major operating systems. Install RISK via pip:

pip install risk-network

Features

  • Comprehensive Network Analysis: Analyze biological networks such as protein–protein interaction (PPI) and gene regulatory networks, as well as non-biological networks.
  • Advanced Clustering Algorithms: Utilize algorithms like Louvain, Markov Clustering, Spinglass, and more to identify key functional modules.
  • Flexible Visualization: Generate clear, publication-quality figures with customizable node and edge attributes, including colors, shapes, sizes, and labels.
  • Efficient Data Handling: Optimized for large datasets, supporting multiple file formats such as JSON, CSV, TSV, Excel, Cytoscape, and GPickle.
  • Statistical Analysis: Integrated statistical tests, including hypergeometric, permutation, and Poisson tests, to assess the significance of enriched regions.
  • Cross-Domain Applicability: Suitable for network analysis across biological and non-biological domains, including social and communication networks.

Example Usage

We applied RISK to a Saccharomyces cerevisiae protein–protein interaction network, revealing both established and novel functional relationships. The visualization below highlights key biological processes such as ribosomal assembly and mitochondrial organization.

RISK Main Figure

RISK successfully detected both known and novel functional clusters within the yeast interactome. Clusters related to Golgi transport and actin nucleation were clearly defined and closely located, showcasing RISK's ability to map well-characterized interactions. Additionally, RISK identified links between mRNA processing pathways and vesicle trafficking proteins, consistent with recent studies demonstrating the role of vesicles in mRNA localization and stability.

Citation

If you use RISK in your research, please cite the following:

Horecka, et al., "RISK: a next-generation tool for biological network annotation and visualization", [Journal Name], 2024. DOI: 10.1234/zenodo.xxxxxxx

Software Architecture and Implementation

RISK features a streamlined, modular architecture designed to meet diverse research needs. Each module focuses on a specific task—such as network input/output, statistical analysis, or visualization—ensuring ease of adaptation and extension. This design enhances flexibility and reduces development overhead for users integrating RISK into their workflows.

Supported Data Formats

  • Input/Output: JSON, CSV, TSV, Excel, Cytoscape, GPickle.
  • Visualization Outputs: SVG, PNG, PDF.

Clustering Algorithms

  • Available Algorithms:
    • Greedy Modularity
    • Label Propagation
    • Louvain
    • Markov Clustering
    • Spinglass
    • Walktrap
  • Distance Metrics: Supports both spherical and Euclidean distance metrics.

Statistical Tests

  • Hypergeometric Test
  • Permutation Test (single- or multi-process modes)
  • Poisson Test

Performance and Efficiency

In benchmarking tests using the yeast interactome network, RISK demonstrated substantial improvements over previous tools in both computational performance and memory efficiency. RISK processed the dataset approximately 3.25 times faster, reducing CPU time by 69%, and required 25% less peak memory usage, underscoring its efficient utilization of computational resources.

Contributing

We welcome contributions from the community. Please use the following resources:

Support

If you encounter issues or have suggestions for new features, please use the Issues Tracker on GitHub.

License

RISK is freely available as open-source software under the GNU General Public License v3.0.


Note: For detailed documentation and to access the interactive tutorial, please visit the links provided in the Documentation and Tutorial section.

Project details


Release history Release notifications | RSS feed

Download files

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

Source Distribution

risk_network-0.0.9b6.tar.gz (103.1 kB view details)

Uploaded Source

Built Distribution

risk_network-0.0.9b6-py3-none-any.whl (102.2 kB view details)

Uploaded Python 3

File details

Details for the file risk_network-0.0.9b6.tar.gz.

File metadata

  • Download URL: risk_network-0.0.9b6.tar.gz
  • Upload date:
  • Size: 103.1 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/5.1.1 CPython/3.8.12

File hashes

Hashes for risk_network-0.0.9b6.tar.gz
Algorithm Hash digest
SHA256 8fa29e03757a043f98d2e449626bf940668a2f0c7c398ff25bf8c687b0c3991c
MD5 6ef42f4ae01b2ade961b0899ef3d1595
BLAKE2b-256 bff26e9717660eb17fa603cb6fbae88c85e94972860a6537ba40976b6fea867c

See more details on using hashes here.

File details

Details for the file risk_network-0.0.9b6-py3-none-any.whl.

File metadata

File hashes

Hashes for risk_network-0.0.9b6-py3-none-any.whl
Algorithm Hash digest
SHA256 4067345cacc532539bac6d04b5dfe303a2570394fdc093fe7d70f647edb031a4
MD5 b6e5db0cbf6f5407c367a7a2d141adf3
BLAKE2b-256 b1294fb79b74bc75ba06c8746fbf568c871fc2ba17d24eb46d78d02c9e880468

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