Metadata-Version: 2.1
Name: DSSPparser
Version: 0.1.3
Summary: parse protein secondary structure; dssp file; DSSP api interface; transform PDB format to dssp format
Home-page: https://github.com/wangleiofficial/DSSPparser
Author: wanglei
Author-email: wanglei94@hust.edu.cn
Maintainer: wanglei
License: MIT
Keywords: Bioinformation,DSSP
Classifier: Intended Audience :: Developers
Classifier: Intended Audience :: Science/Research
Classifier: License :: OSI Approved :: MIT License
Classifier: Operating System :: OS Independent
Classifier: Programming Language :: Python :: 2.7
Classifier: Programming Language :: Python :: 3.3
Classifier: Programming Language :: Python :: 3.4
Classifier: Programming Language :: Python :: 3.5
Description-Content-Type: text/markdown
License-File: LICENSE.txt

# DSSPparser

[![PyPI - Version](https://img.shields.io/pypi/v/DSSPparser.svg?style=flat)](https://pypi.org/project/DSSPparser/)
[![PyPI - Python Version](https://img.shields.io/pypi/pyversions/DSSPparser.svg)](https://pypi.org/project/DSSPparser/)
[![GitHub - LICENSE](https://img.shields.io/github/license/neolei/DSSPparser.svg?style=flat)](./LICENSE.txt)
[![Build Status](https://travis-ci.org/neolei/DSSPparser.svg?branch=master)](https://travis-ci.org/neolei/DSSPparser)
[![codecov](https://codecov.io/gh/neolei/DSSPparser/branch/master/graph/badge.svg)](https://codecov.io/gh/neolei/DSSPparser)


DSSPparser is an easy tool to parse dssp file, and can transform PDB format file to dssp format file by [dssp](https://anaconda.org/salilab/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("2GW9")
```

## License

Released under the MIT license.
