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
genSurf

genSurf

Generate surf output for VMD.

Usage: genSurf [options] <file.surf>

options:

-R <val>   - specify probe radius in Angstroms. [1.4]
-E <val>   - specify maxTessLen parameter - smaller for higher fidelity [6].
-W <val>   - ignored.

In input .surf file consists of one line per atom in the format:

index radius x y z

where index is a 0-offset counter, radius, x,y,z, denote radius and atomic position, respectively.

The output file name is that of the input with suffix '.tri' appended. The output format is:

index
V1x V1y V1z N1x N1y N1z
V2x V2y V2z N2x N2y N2z
V3x V3y V3z N3x N3y N3z

where index is the atom index and Via and Nia specify the three triangle vertices and normals in the three Cartesian dimensions. For each triangle of each atom, the sequence above is repeated.

Additional common options

  • Privacy Policy
  • Freedom of Information Act
  • Accessibility
  • Disclaimers
  • Copyright
  • Vulnerability Disclosure Policy
  • U.S. Department of Health and Human Services
  • National Institutes of Health