Skip to main content
U.S. flag

An official website of the United States government

Here’s how you know

Official government website icon

Official websites use .gov
A .gov website belongs to an official government organization in the United States.

icon-https

Secure .gov websites use HTTPS
A lock ( Lock Locked padlock icon )or https:// means you’ve safely connected to the .gov website. Share sensitive information only on official, secure websites.

NIH: National Institute of Diabetes and Digestive and Kidney Diseases NIH: National Institute of Diabetes and Digestive and Kidney Diseases
bit Xplor-NIH VMD-XPLOR
Pydoc: module cifTools
 
cifTools
index


 

 
Functions
       
addToAtomSite(dataBlock, selection='known', model=None, occupancies=None, bfactors=None, coordPrecision=3, addICode=False)
Given a dataBlock with an existing atom_site category created by
genAtomSite, add additional entries corresponding to an additional
PDB model.  The occupancies, bfactors and addICode arguments must
match those passed to genAtomSite.
genAtomSite(selection='known', model=None, occupancies=None, bfactors=None, coordPrecision=3, occupancyPrecision=3, bfactorPrecision=3, addICode=False, dataBlock=None)
Given the atomSel.AtomSel selection, return a CifDatablock
with an atom_site category added.
 
Fields not populated are simply not written.
 
If specified, occupancies and bfactors must be arrays with the same length
as selection.
 
The number of digits after the decimal of the output coordinates is given
by coordPrecision.
 
If dataBlock is not specified, a new CifDatablock is created.
models(filename=None, cifString=None)
Given a filename of a mmCif file or a string with mmCif contents,
return a sorted list of unique pdbx_PDB_model_num entries in the atom_site
category.
  • Privacy Policy
  • Freedom of Information Act
  • Accessibility
  • Disclaimers
  • Copyright
  • Vulnerability Disclosure Policy
  • U.S. Department of Health and Human Services
  • National Institutes of Health