Create a dot surface representation color coded by sphere type.
usage:
sph-ms [options] mol.sph mol.dot [> output]
options:
-r probe_radius -- default 1.6 angstroms
-d dot_density -- default 6.0, larger for more dots
-s sphere_cut -- default none, only dots within this radius
-o X0 Y0 Z0 -- default origin, center used with -s option
-x X1 Y1 Z1 -- -o with -x (and no -s) cuts out a box
-e exclude.sph -- spheres whose surface is not output
(note: must be mutually exclusive with input *.sph)
-X -- force overwrite of dot output
These are used by the sph-ms script to create primitives.
Note: This is a modified (old) version of Mike Connolly's code, the one distributed with FRODO.
Create aromatic or sugar ring polygons as *.tri files. The 'radius' is the thickness of the polygonal prism.
usage:
pdb-pro-ring [options] input.pdb output.tri
pdb-nuc-ring [options] input.pdb output.tri
pdb-ribo-ring [options] input.pdb output.tri
pdb-hex-ring [options] input.pdb output.tri
Options:
-r radius -- default 'radius' is very small for a flat ring.
-c file.color -- only first three lines of 'file.color' are read
defaults to normal ribbons sequence colors.
Mimics Connolly's MSP program (see below) using marching cubes.
Create *.vet data structure to define surfaces.
Script checks for files and runs the 'sph-vet' program.
usage: cmc-vet [options] mol.sph mol.vet
Note: '-elec' requires charges in occupancy field.
See pdb-vet notes below.
Requires MSP. You might consider buying Mike Connolly's new Molecular Surface
Package for $850. The ribbons interface will display the surface in a variety of ways. Create MSP vertex/edge/triangle *.vet files from a *.pdb file. Should include polar hydrogens if you plan to estimate electrostatics.
Uses utility programs elec-vet and b-to-vet. usage:
Notes: To make a file for electrostatics calculations, I assume you have
X-PLOR/CNS all set up:
For CNS, the corresponing 'vector' statement is just:
Create display objects for ribbons from an MSP *.vet file. usage:
Puts B (default) or Q (-q) values in a vertex field 1..3(2)
of an MSP *.vet surface file. usage:
Estimate electrostatic potentials at vertices
of an MSP *.vet surface file.
Input PDB file must have partial charges in the occupancy position. usage:
Currently you must create intermediate data to create a surface. First,
create a FRODO *.dsn6-style electron density map from a set of spheres. The map
values range from 1.0 (inside) to 0.0 (outside, solvent). Use 'facets' with
a contour level of 0.2 to make an approximate accessible surface, and a
contour level of 0.8 to make an approximate molecular surface. Use 'tri-sph-tri'
and 'sph-color-tri' to color and cull triangles. usage:
Create a triangular isosurface (contour) from a FRODO *.dsn6-style electron density
map. These can be displayed as solids for surfaces made with 'access', or
as lines as is typical for real density maps. Smoothing will make it
look nicer, but will sacrifice some accuracy usage:
Display information about a CNS/Xplor ascii map. Should quickly tell you
if you have the right format and what a sensible contour.level should be usage: Display information about a FRODO *.dsn6-style map. Should quickly tell you
if you have the right format (see fix-linux-map below)
and what a sensible contour.level should be usage: Massage a Linux FRODO *.dsn6-style map to work with facets.
usage: Filter an input set of triangles, outputting only those within a radial
'-r' distance of any point in a set of neighboring spheres, or excluding
'-x' any point within the radial distance
(can only chose one of -r or -x) usage:
Sets each vertex color of the input triangles to the color of the nearest
sphere. usage:
Splits any multi-colored triangle such that each output triangle
is a single color.
usage: cmc-vet
options:
-r Probe.Radius [1.6]
-c Cube.size [1.0]
-A [default is to compute molecular surface]
-p file.pdb [required for -elec or -B options]
-E [false, don't compute electrostatics]
-B [false, don't add B field to VET]
-x x0 y0 z0 x1 y1 z1 [corners of box for limits, else all]
pdb-vet
pdb-vet [options] input.pdb output.vet
Options:
-r radius -- default 'radius' is 1.6 for personal preference.
-O -- compute analytical surface curvature.
Note: can take hours for proteins.
-E -- compute electrostatic potential.
Note: requires charges in occupancy field.
-B|Q -- assign either of these fields to each vertex.
{**input is 'dan_gen.pdb' **}
coor @dan_gen.pdb
vector do ( Q=charge) (all)
write coordinates output=my_q.pdb end
do (q=charge) (all)
vet-rib
vet-rib [options] input.vet output.file
Options:
-k colorInt -- All one color [6==cyan].
-s input.sph -- Color by sphere color.
Note: sphere file must be 1-1 with input PDB file.
-c range.color -- Color by range/color file,
based on one of the vertex values.
-v 1|2|3 -- Choose vertex field for coloring
[1==omega, 2==elec, 3==B|Q].
-r Rad -o Xc Yc Zc -- Spherical cutoff [None]
Examples:
vet-rib mol.vet mol-6.tri
vet-rib -k 2 mol.vet mol-2.tri
pdb-atom-sph mol.pdb mol-atom.sph
vet-rib -s mol-atom.sph mol.vet mol-atom.tri
pdb-res-sph mol.pdb mol-res.sph
vet-rib -s mol-res.sph mol.vet mol-res.tri
b-to-vet
b-to-rib [options] input.vet modified.vet
Options:
-1|2|3 -- [2] Choose VET vertex field for data destination.
-q -- Use occupancy field rather than B-factor field.
elec-vet
b-to-rib [options] Q.pdb modified.vet
Options:
-1|2|3 -- [3] Choose vertex field for data destination.
access
access [options] input.sph output.dsn6
Options:
-r probe.radius -- default 1.4 angstroms, higher values
(eg, 2.0) give a smoother surface.
-c cube.size -- default is 1.0 angstrom
-x x0 y0 z0 x1 y1 z1 -- defaults to whole cell,
else set limits of a box.
facets
facets [options] input.map output.tri
Options:
-k colorIndex -- default 6 (cyan).
-s nSmooth -- default 0 (# smoothing passes)
-t contour.level -- default is 0.5
-x x0 y0 z0 x1 y1 z1 -- defaults to whole cell
else set limits of a box.
xmapstat
xmapstat cns.mapdsn6stat
dsn6stat frodo.dsn6fix-linux-map
fix-linux-map old.dsn6 new.dsn6tri-sph-tri
tri-sph-tri [options] input.tri naybor.sph > output.tri
Options:
-r radial.distance -- default is 3.0 angstroms
-x radial.distance -- mutually exclusive to -r option
-X -- overwrite existing file
sph-color-tri
sph-color-tri input.tri colored.sph > colored.tri
tri-a-tri
tri-a-tri input.tri > output.tri