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

  next up previous contents index  Xplor-NIH home Documentation

Next: Example: Plane and Point Up: Harmonic Coordinate Restraints Previous: Requirements

Example: Point Restraints

The following example shows how to restrain a subset (in this case the ${C}^{\alpha}$ atoms) of the coordinates in “file1" to the coordinates in “file2":
coordinates @file1
coordinates disposition=reference @file2
vector do ( harmonic=20.0 ) ( name ca )
vector do ( harmonic=0.0 )  ( not name ca )
restraints harmonic exponent=2 end  
flags include harm end
This sequence of statements can be inserted anywhere after the molecular structure is defined. Note that the FLAGs statement is actually not needed, because the restraints statement has the HARM flag already turned on.



Xplor-NIH 2025-03-21
  • Privacy Policy
  • Freedom of Information Act
  • Accessibility
  • Disclaimers
  • Copyright
  • Vulnerability Disclosure Policy
  • U.S. Department of Health and Human Services
  • National Institutes of Health