pnat
Network Analysis Tool around Python-Igraph Library for graph-theoretic parameters evaluation offering a variety of functions useful for bioinformatics including community detection and interactive visualisation of graph offering menu-driven simple to use an approach ( Initial version of code : https://github.com/nitinp14920914/igraphtool)
Table of contents
Installation
Dependencies
python2.7/3.6
Matplotlib v3.1.1
python-igraph v0.7.1.post6
Networkx v2.3
pyvis v0.1.7.0
Matplotlib
Debian / Ubuntu : sudo apt-get install python-matplotlib
Fedora / Redhat : sudo yum install python-matplotlib
for pip
python -m pip install -U pip setuptools
python -m pip install matplotlib
python -m pip install pyvis
python-igraph
Debian / Ubuntu : sudo apt-get install python-igraph
Fedora / Redhat : sudo yum install python-igraph
using pip
pip install python-igraph
NetworkX
python -m pip install networkx
Pyvis
python -m pip install pyvis
List of Files
pnat.py
readme
Network Analysis Tool Usage
Usage
python pnat.py -format filename
For help
python pnat.py -h or --help
-
Enter the function number you want
-
It Returns output for a selected function
-
Network output files are written in graphml format
-
A directory named temp is created on very first initialisation of script
-
There is also a ./temp directory associated with pnat.py where plots/figures/are exported and saved
List of Functions
usage -format [filename]
format: adjacencncy matrix -adj edgelist -edgelist graphml -graphml lgl -lgl random network -random
=========== Feature List v1.0 =====================
Parameter Evaluation........................###
Degree Distribution Histogram...........(1)
Centrality :
* Eigenvector centrality........(2)
* Betweenness centrality........(3)
Average path length.....................(4)
Degree distribution.....................(5)
Clustering coefficient..................(6)
* Average Clustering coefficient[1]
* Each-nodes Clustering coeff. [2]
Shortest path between two nodes.........(7)
Shortest path between all nodes.........(8)
Degree distribution power law...........(9)
Functional motifs......................(10)
Modularity.............................(13)
Connectivity :
vertex * For given two vertex..(14)
*Overall................(15)
Edge * For given two vertex..(16)
*Overall................(17)
No. of clusters........................(18)
Diameter...............................(23)
Average path length....................(24)
Giant_component Extraction.............(25)
Know-your Graph.............................###
Maximum degree nodes.... ........... . (30)
Minimum degree nodes.... ........... .(31)
Neighbour vertex :
* For two specified vertes.....(11)
* For all vertex of graph......(12)
Node label from its node id(Every node)(20)
Node label from its node id(Every node)(21)
Saving/Writing Graph........................###
Adjacency matrix.......................(19)
Edgelist...............................(22)
Interactive Plot.......................(34)
Editing Graph Data .........................###
Add vertex(single).............. .. (26)
Add vertices(many).................. (27)
Delete vertex(single)................ .(28)
Delete vertices(many).... ........... .(29)
Deleting all nodes saving in file .....(32)
Community Detection/Structure.......... .###
Community Detection/Structure..........(33)
* Community_walktrap [1]
* Compare_communities [2]
* Community_edge_betweenness [3]
* Community_infomap [4]
* Community_label_propagation [5]
Contact Information
For any trouble and query feel free we would love to respond
Metadata
Release files for pnat 1.0
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Actions Reset |
|---|---|---|---|---|
| pnat-1.0-py3-none-any.whl | Python 3 | none | any | Details for pnat-1.0-py3-none-any.whl |
Release files / pnat-1.0-py3-none-any.whl
| Download URL | pnat-1.0-py3-none-any.whl |
|---|---|
| Size | 7.7 kB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
c3ebe0eb4ffb059ad534e49ba1cea51aacecaa6addac8bfce447cb0bb01ef22b
|
|
BLAKE2b-256 checksum How to use checksums |
f3b57f990add4a49d381f7531cd8bc086be6f69ac1bce0229d8e2fa4467774d5
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/3.1.1 pkginfo/1.5.0.1 requests/2.22.0 setuptools/42.0.2 requests-toolbelt/0.9.1 tqdm/4.40.2 CPython/3.7.0
|
Security for pnat 1.0
Provenance
Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.
No provenance found
None of the files in this release were uploaded with provenance metadata.
A note on package security
PyPI is a repository for distributing packages, not a service for auditing them. While third-party security researchers and our staff do their best to detect and remove malicious packages, PyPI cannot guarantee the quality, security or suitability of any given package.
To learn more about protecting yourself from malicious actors, visit our package security documentation.