Skip to main content
Help us improve PyPI by participating in user testing. All experience levels needed!

Network Analysis of Protein Adaptation (intra-protein residue coevolution network construction and analysis)

Project description

NAPA - Network Analysis of Protein Adaptation

The NAPA package performs intra-protein residue coevolution network construction and analysis.

The package supports two input types:

  1. A FASTA alignment of (functionally related) homologous protein sequences
  2. A FASTA alignment of (functionally related) homologous protein sequences AND a Phylogenetic Tree ensemble (trees in newick format)

NAPA produces the following outputs:

  1. A mutation pair network (undirected for alignment only, directed/undirected for phylogeny ensemble)
  2. Network analysis - network communities, network node centralities, network path centralities


Please see the documentation on github for complete usage details.


Use pip to install the napa package:

$ pip install napa

NAPA depends on several other packages and these will be installed automatically by pip if they are not already installed.

Required packages:

  • numpy
  • scipy
  • joblib
  • networkx
  • ete2
  • pyyaml

Note the pip scipy installation can sometimes have issues. If so, alternate methods of installing scipy may be preferable. See scipy install for details. Then rerun pip install napa.

Project details

Release history Release notifications

This version
History Node


History Node


History Node


History Node


History Node


History Node


Download files

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

Filename, size & hash SHA256 hash help File type Python version Upload date
napa-1.3.tar.gz (37.7 kB) Copy SHA256 hash SHA256 Source None Apr 26, 2018

Supported by

Elastic Elastic Search Pingdom Pingdom Monitoring Google Google BigQuery Sentry Sentry Error logging CloudAMQP CloudAMQP RabbitMQ AWS AWS Cloud computing Fastly Fastly CDN DigiCert DigiCert EV certificate StatusPage StatusPage Status page