Skip to content

Latest commit

 

History

History
48 lines (35 loc) · 1.38 KB

README.md

File metadata and controls

48 lines (35 loc) · 1.38 KB

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.