DSSPparser

parse protein secondary structure; dssp file; DSSP api interface; transform PDB format to dssp format


Keywords
Bioinformation, DSSP
License
MIT
Install
pip install DSSPparser==0.1.3

Documentation

DSSPparser

PyPI - Version PyPI - Python Version GitHub - LICENSE Build Status codecov

DSSPparser is an easy tool to parse dssp file, and can transform PDB format file to dssp format file by dssp,also support the tansfrom between the PDB id and dssp format, hssp format and sequence.

Install

stabel verison

pip install DSSPparser

lastest version

pip install git+https://github.com/neolei/DSSPparser.git

Examples

parse dssp file to pandas.dataframe

from DSSPparser import parseDSSP
parser = parseDSSP('2GW9.dssp')
parser.parse()
pddict = parser.dictTodataframe()

Transform between the PDB format and dssp format

  • Note: please install the DSSP software.
conda install -c salilab dssp
from DSSPparser import pdbToxssp_local
result = pdbToxssp_local("2GW9")

License

Released under the MIT license.