pdbio: PDB input/output

Input/output for PDB files

parse_mmCIF_file(whole_file, log=None, explode=True)
whole_file
A buffer containing the whole mmCIF file
log
A file-like object open for writing that warnings/errors and other information will be written to
explode
Controls whether NMR ensembles will be handled as separate models (True) or as one model with multiple coordinate sets (False)

Returns a structaccess.StructBlob.

read_pdb_file(f, log=None, explode=True)
f
A file-like object open for reading containing the PDB info
log
A file-like object open for writing that warnings/errors and other information will be written to
explode
Controls whether NMR ensembles will be handled as separate models (True) or as one model with multiple coordinate sets (False)

Returns a structaccess.StructBlob.

This Page