sql2pdb

pdb2sql_base.sql2pdb(tablename='atom', **kwargs)[source]

Convert SQL data to PDB formatted lines.

Parameters

kwargs

argument to select atoms, dict value must be list, e.g.:

  • name = [‘CA’, ‘O’]

  • no_name = [‘CA’, ‘C’]

  • chainID = [‘A’]

  • no_chainID = [‘A’]

Returns

list – pdb-format lines