GV

GeezerVison

The World Wide Web, restored to 800 pixels of glory.

Home|About|Gaming cabinet|Archives|How it works|Starter sites

On this site

  • Sign in
  • ActionsCI/CD and automation
  • CodespacesCloud development environments
  • All Features
  • Documentation
  • Training
  • Certifications
  • Build with Copilot
  • Customize Copilot
  • Integrations
  • Trending repos
  • GitHub Sponsors
  • Developer articles
  • Enterprises

This view

  • Original page
  • New address

GeezerVison is showing github.com — GitHub - DeepRank/pdb2sql: Fast and versatile biomolecular structure PDB file parser using SQL queries

BranchesTags
Open more actions menu

Latest commit

 

History

398 Commits
398 Commits

Folders and files

NameName
Last commit message
Last commit date
.github
.github
 
 
docs
docs
 
 
example
example
 
 
paper
paper
 
 
pdb2sql
pdb2sql
 
 
test
test
 
 
.gitignore
.gitignore
 
 
.prospector.yml
.prospector.yml
 
 
.readthedocs.yml
.readthedocs.yml
 
 
.zenodo.json
.zenodo.json
 
 
CHANGELOG.md
CHANGELOG.md
 
 
CITATION.cff
CITATION.cff
 
 
CODE_OF_CONDUCT.rst
CODE_OF_CONDUCT.rst
 
 
CONTRIBUTING.rst
CONTRIBUTING.rst
 
 
LICENSE
LICENSE
 
 
MANIFEST.in
MANIFEST.in
 
 
NOTICE
NOTICE
 
 
README.md
README.md
 
 
makefile
makefile
 
 
setup.py
setup.py
 
 

Repository files navigation

PDB2SQL

PyPI DOI RSD Build_Test Coverage Status Codacy Badge Documentation Status DOI

pdb2sql is a Python package that leverage SQL queries to parse, manipulate and process PDB files. It provides:

  • a powerful pdb2sql object to convert PDB data in SQL database
  • strcuture transformation functions (rotations, translations...)
  • useful capablities to
    • calculate structure interface (contact atoms and residues)
    • calculate structure similarity (iRMSD, lRMSD, FNAT, DockQ...)

Installation

pip install pdb2sql

Documentation

The documentation of the package alongside small tutorial can be found at :

  • https://pdb2sql.readthedocs.io

Quick Example

pdb2sql easily allows to load a PDB file in an object. Once loaded, the data can be parsed using SQL queries. To facilitate the adoption of the tool simple methods have been developped to wrap the SQL queries in simple methods. For example obtaining the positions of all carbon, nitrogen and oxygen atoms of chain A from all residues but VAL and LEU, one can use :

from pdb2sql import pdb2sql
pdb = pdb2sql('1AK4.pdb')
atoms = pdb.get('x,y,z',
                name = ['C','N', 'O'],
                no_resName = ['VAL','LEU'],
                chainID = 'A')

About

Fast and versatile biomolecular structure PDB file parser using SQL queries

pdb2sql.readthedocs.io

Resources

Readme
Apache-2.0 license

Contributing

Contributing
Activity
Custom properties

Stars

24 stars

Watchers

3 watching

Forks

11 forks
Report repository

Releases

Packages

Used by

Contributors

Languages

You are visitor 01402503 — GeezerVison does not store the pages you look up.
Best viewed with Netscape Navigator 4.7 or Internet Explorer 6 at 800×600. No cookies required.