Code Monkey home page Code Monkey logo

pconpy's Introduction

PConPy

Overview

1ubq CA-CA distance map 1ubq CA-CA contact map

This is the official repository for the redevelopment of PConPy. The original (now obsolete) source code associated with the article is accessible from the legacy branch of this repository.

About

A contact map is a 2D representation of protein structure that illustrates the presence or absence of contacts between individual amino acids. This enables the rapid visual exploratory data analysis of structural features without 3D rendering software. Additionally, the underlying 2D matrix of a contact map, known as a contact matrix, can naturally be used as numeric input in subsequent automated knowledge discovery or machine learning tasks. PConPy generates publication-quality renderings of contact maps, and the related distance- and hydrogen bond maps.

Publication

Please consider citing our paper if you found PConPy to be useful in your research:

  • H. K. Ho, M. Kuiper and K. Ramamohanarao, "PConPy—a Python module for generating 2D protein maps", Bioinformatics, vol. 24, no. 24, pp. 2934-2935, 2008. [article]

Installation

Dependencies

PConPy was developed using Python 2.7 using the following libraries:

  • NumPy
  • BioPython
  • Matplotlib
  • docopt

which can be installed via apt-get using Ubuntu:

sudo apt-get install python-numpy python-biopython python-matplotlib python-docopt

or via the Anaconda Python Distribution:

conda install numpy biopython matplotlib pip
pip install docopt

DSSP

PConPy uses the DSSP secondary structure assignment program to obtain inter-residue hydrogen bond information. The DSSP executable needs to be installed into your system path and renamed to dssp, it can be downloaded from:

  • ftp://ftp.cmbi.ru.nl/pub/software/dssp/

Example usage

Generate a PDF contact map using the CA-CA distance measure:

python ./pconpy/pconpy.py cmap 8.0 --pdb ./tests/pdb_files/1ubq.pdb \
          --chains A --output 1ubqA_cmap.pdf --measure CA 

Generate a PNG distance map using the min. VDW distance measure:

python ./pconpy/pconpy.py dmap --pdb ./tests/pdb_files/3erd.pdb \
          --chains B,C --output 3erdBC_dmap.png --measure minvdw

Generate a plain-text hydrogen bond matrix:

python ./pconpy/pconpy.py hbmap --pdb ./tests/pdb_files/1ubq.pdb \
          --chains A --plaintext --output 1ubq.txt

Who's using PConPy?

  • B. Konopka, M. Ciombor, M. Kurczynska and M. Kotulska, "Automated Procedure for Contact-Map-Based Protein Structure Reconstruction", The Journal of Membrane Biology, vol. 247, no. 5, pp. 409-420, 2014. [article]

  • A. Stivala, A. Wirth and P. Stuckey, Tableau-based protein substructure search using quadratic programming, BMC Bioinformatics, vol. 10, no. 1, p. 153, 2009. [article]

Useful links

  • Peter Cock's (@peterjc) tutorial covers the basics of PDB file parsing and visualisation using the powerful Biopython library.

Contributors

See CONTRIBUTORS.md

pconpy's People

Contributors

kianho avatar doron0220 avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.