User Tools

Site Tools


command:embed

embed

“embed” delimits a block of data embedded in a PyMOL command script.

Usage

embed key [, type [, sentinel ]]

Arguments

key = string: unique indentifier for the data

type = pdb, mol, mol2, sdf, xplor

sentinel = string: a unique string signalling the end of the data {default: embed end}

Example

embed wats, pdb 
HETATM    1  O   WAT     1       2.573  -1.034  -1.721 
HETATM    2  H1  WAT     1       2.493  -1.949  -1.992 
HETATM    3  H2  WAT     1       2.160  -0.537  -2.427 
HETATM    4  O   WAT     2       0.705   0.744   0.160 
HETATM    5  H1  WAT     2      -0.071   0.264   0.450 
HETATM    6  H2  WAT     2       1.356   0.064  -0.014 
embed end 

Notes

Only text data formats can be used with embed

See Also

command/embed.txt · Last modified: 2013/08/19 21:01 (external edit)