1obrotate(1)                 User's Reference Manual                obrotate(1)
2

NAME

4     obrotate — batch-rotate dihedral angles matching SMARTS patterns
5

SYNOPSIS

7     obrotate 'SMARTS-pattern' filename atom1 atom2 atom3 atom4 angle
8

DESCRIPTION

10     The obrotate program rotates the torsional (dihedral) angle of a speci‐
11     fied bond in molecules to that defined by the user. In other words, it
12     does the same as a user setting an angle in a molecular modelling pack‐
13     age, but much faster and in batch mode (i.e. across multiple molecules in
14     a file).
15
16     The four atom IDs required are indexes into the SMARTS pattern, which
17     starts at atom 0 (zero). The angle supplied is in degrees. The two atoms
18     used to set the dihedral angle <atom1> and <atom4> do not need to be con‐
19     nected to the atoms of the bond <atom2> and <atom3> in any way.
20
21     The order of the atoms matters -- the portion of the molecule attached to
22     <atom1> and <atom2> remain fixed, but the portion bonded to <atom3> and &
23     <atom4> moves.
24

EXAMPLES

26     Let's say that you want to define the conformation of a large number of
27     molecules with a pyridyl scaffold and substituted with an aliphatic chain
28     at the 3-position, for example for docking or 3D-QSAR purposes.
29
30     To set the value of the first dihedral angle to 90 degrees:
31           obrotate 'c1ccncc1CCC' pyridines.sdf 5 6 7 8 90
32
33     Here 6 and 7 define the bond to rotate in the SMARTS patter, i.e., c1-C
34     and atoms 5 and 8 define the particular dihedral angle to rotate.
35
36     Since the atoms to define the dihedral do not need to be directly con‐
37     nected, the nitrogen in the pyridine can be used:
38           obrotate 'c1ccncc1CCC' pyridines.sdf 4 6 7 8 90
39
40     Keep the pyridyl ring fixed and moves the aliphatic chain:
41           obrotate 'c1ccncc1CCC' pyridines.sdf 5 6 7 8 90
42
43     Keep the aliphatic chain fixed and move the pyridyl ring:
44           obrotate 'c1ccncc1CCC' pyridines.sdf 8 7 6 5 90
45

SEE ALSO

47     babel(1), obchiral(1), obfit(1), obgrep(1), obprop(1), obrotate(1).
48
49     The web pages for Open Babel can be found at: <http://openbabel.org/>
50
51     A guide for constructing SMARTS patterns can be found at:
52     <http://www.daylight.com/dayhtml/doc/theory/theory.smarts.html>
53

AUTHORS

55     The obgrep program was contributed by Fabien Fontaine
56
57     Open Babel is developed by a cast of many, including currrent maintainers
58     Geoff Hutchison, Chris Morley, Michael Banck, and innumerable others who
59     have contributed fixes and additions.  For more contributors to Open
60     Babel, see <http://openbabel.org/wiki/THANKS>
61
63     Copyright (C) 1998-2001 by OpenEye Scientific Software, Inc.
64     Some portions Copyright (C) 2001-2005 by Geoffrey R. Hutchison and other
65     contributors.
66
67      This program is free software; you can redistribute it and/or modify it
68     under the terms of the GNU General Public License as published by the
69     Free Software Foundation version 2 of the License.
70
71      This program is distributed in the hope that it will be useful, but
72     WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABIL‐
73     ITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public
74     License for more details.
75
76Open Babel 2.2                   July 4, 2008                   Open Babel 2.2
Impressum