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 pasd.selectTools
 
pasd.selectTools
index


 
# stereospecific selection conversion
#
# WARNING: this is specific to Xplor-NIH protein atom naming conventions!
#

 
Functions
       
makeSelectionNonStereoSpecific(sel)
Converts, eg. (leu hd1*) to (leu hd*)
 
Argument is an atomSel.AtomSel.
 
Returns a selection string.
segidResidKeysInSelection(selection)
Return list of string keys of the form segid#resid
stereoPartnerForSelection(sel)
converts, eg., (leu hd1*) to (leu hd2*)
 
Returns ( selString, message )

 
Data
        methylSelectionString = '(\n (resn ALA and name HB*) or\n (resn VAL and n...T and name HE*) or \n (resn THR and name HG2*)\n)\n'
stereoSets = {'IUPAC': {'ARG': [('HB3', 'HB2', 'HB*'), ('HG3', 'HG2', 'HG*'), ('HD3', 'HD2', 'HD*')], 'ASN': [('HB3', 'HB2', 'HB*'), ('HD21', 'HD22', 'HD2*')], 'ASP': [('HB3', 'HB2', 'HB*')], 'CYS': [('HB3', 'HB2', 'HB*')], 'GLN': [('HB3', 'HB2', 'HB*'), ('HG3', 'HG2', 'HG*'), ('HE21', 'HE22', 'HE2*')], 'GLU': [('HB3', 'HB2', 'HB*'), ('HG3', 'HG2', 'HG*')], 'GLY': [('HA3', 'HA2', 'HA*')], 'HIS': [('HB3', 'HB2', 'HB*')], 'ILE': [('HG3', 'HG2', 'HG*')], 'LEU': [('HB3', 'HB2', 'HB*'), ('CD1', 'CD2', 'CD*'), ('HD1*', 'HD2*', 'HD*')], ...}, 'XPLOR': {'ARG': [('HB1', 'HB2', 'HB*'), ('HG1', 'HG2', 'HG*'), ('HD1', 'HD2', 'HD*')], 'ASN': [('HB1', 'HB2', 'HB*'), ('HD21', 'HD22', 'HD2*')], 'ASP': [('HB1', 'HB2', 'HB*')], 'CYS': [('HB1', 'HB2', 'HB*')], 'GLN': [('HB1', 'HB2', 'HB*'), ('HG1', 'HG2', 'HG*'), ('HE21', 'HE22', 'HE2*')], 'GLU': [('HB1', 'HB2', 'HB*'), ('HG1', 'HG2', 'HG*')], 'GLY': [('HA1', 'HA2', 'HA*')], 'HIS': [('HB1', 'HB2', 'HB*')], 'ILE': [('HG1', 'HG2', 'HG*')], 'LEU': [('HB1', 'HB2', 'HB*'), ('CD1', 'CD2', 'CD*'), ('HD1*', 'HD2*', 'HD*')], ...}}
  • Privacy Policy
  • Freedom of Information Act
  • Accessibility
  • Disclaimers
  • Copyright
  • Vulnerability Disclosure Policy
  • U.S. Department of Health and Human Services
  • National Institutes of Health