figshare
Browse

Python tool: Protein network program

software
posted on 2025-10-25, 14:20 authored by Sarah AliSarah Ali
<p dir="ltr">Protein Network Viewer:</p><p dir="ltr">A Python program for building and visualizing connections between two or more proteins.<br>Users can input protein names separated by commas, click the "Generate Network" button, and the program identifies and highlights the most connected proteins (hubs) within the network.</p><p dir="ltr">Features:</p><ul><li>Build protein interaction networks from Python.</li><li>Highlight highly connected proteins (main proteins are shown in red).</li><li>Export results as PNG (network image) and CSV (interaction data).</li><li>Select different network layouts: spring, circular, shell.</li></ul><p dir="ltr">Requirements:</p><ul><li>Python 3.x</li><li>Required Python libraries:pip install requests networkx matplotlib</li><li>Operating system: Windows, Mac, or Linux (depending on your Python setup)</li></ul><p dir="ltr">Usage:</p><ul><li>Download the source code from this repository.</li><li>Run the program using Python:python src/proteinnet.py</li><li>Input protein names separated by commas.</li><li>Click "Generate Network" to visualize interactions.</li><li>Save the network as PNG or save the report as CSV.</li></ul><p dir="ltr">Example:</p><ul><li>Input: ProteinA, ProteinB, ProteinC</li><li>Output: A network visualization highlighting interactions and showing the most connected proteins.</li></ul><p dir="ltr">⚠️ Copyright & Usage</p><ul><li>This code developed by Sarah Ali.</li><li>You are welcome to study, use, or modify the code for personal or educational purposes, but you must give credit to the original author.</li></ul><p dir="ltr">Notes:</p><ul><li>Main proteins (the ones you entered) are shown in red in the network.</li><li>The report includes the top interactions, node counts, edge counts, and the most connected protein.</li></ul><p></p>

History

Usage metrics

    Licence

    Exports

    RefWorks
    BibTeX
    Ref. manager
    Endnote
    DataCite
    NLM
    DC