Skip to main content

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)

Project description

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

Project details


Release history Release notifications | RSS feed

This version

1.0

Download files

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

Source Distributions

No source distribution files available for this release.See tutorial on generating distribution archives.

Built Distribution

pnat-1.0-py3-none-any.whl (7.7 kB view details)

Uploaded Python 3

File details

Details for the file pnat-1.0-py3-none-any.whl.

File metadata

  • Download URL: pnat-1.0-py3-none-any.whl
  • Upload date:
  • Size: 7.7 kB
  • Tags: Python 3
  • Uploaded using 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

File hashes

Hashes for pnat-1.0-py3-none-any.whl
Algorithm Hash digest
SHA256 c3ebe0eb4ffb059ad534e49ba1cea51aacecaa6addac8bfce447cb0bb01ef22b
MD5 8595ad76a9ba135476c94a076dc1e528
BLAKE2b-256 f3b57f990add4a49d381f7531cd8bc086be6f69ac1bce0229d8e2fa4467774d5

See more details on using hashes here.

Supported by

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