exportpdb

pdb2sql_base.exportpdb(fname, append=False, tablename='atom', **kwargs)[source]

Export a PDB file.

Parameters
  • fname (str) – output filename

  • append (bool) – append expored data to file or not

  • kwargs

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

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

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

    • chainID = [‘A’]

    • no_chainID = [‘A’]