0
|
1 NAME
|
|
2 RotatableBondsDescriptors
|
|
3
|
|
4 SYNOPSIS
|
|
5 use MolecularDescriptors::RotatableBondsDescriptors;
|
|
6
|
|
7 use MolecularDescriptors::RotatableBondsDescriptors qw(:all);
|
|
8
|
|
9 DESCRIPTION
|
|
10 RotatableBondsDescriptors class provides the following methods:
|
|
11
|
|
12 new, GenerateDescriptors, GetDescriptorNames,
|
|
13 StringifyRotatableBondsDescriptors
|
|
14
|
|
15 RotatableBondsDescriptors is derived from MolecularDescriptors class
|
|
16 which in turn is derived from ObjectProperty base class that provides
|
|
17 methods not explicitly defined in RotatableBondsDescriptors,
|
|
18 MolecularDescriptors or ObjectProperty classes using Perl's AUTOLOAD
|
|
19 functionality. These methods are generated on-the-fly for a specified
|
|
20 object property:
|
|
21
|
|
22 Set<PropertyName>(<PropertyValue>);
|
|
23 $PropertyValue = Get<PropertyName>();
|
|
24 Delete<PropertyName>();
|
|
25
|
|
26 A rotatable bond [ Ref 92 ] is defined as any single bond which is not
|
|
27 in a ring and involves only non-hydrogen atoms. By default, the
|
|
28 following types of single bonds are not considered rotatable bonds:
|
|
29
|
|
30 o Terminal bonds
|
|
31 o Bonds attached to triple bonds
|
|
32 o Amide C-N bonds
|
|
33 o Thioamide C-N bond bonds
|
|
34 o Sulfonamide S-N bonds
|
|
35
|
|
36 METHODS
|
|
37 new
|
|
38 $RotatableBondsDescriptors = new MolecularDescriptors::
|
|
39 RotatableBondsDescriptors(
|
|
40 %NamesAndValues);
|
|
41
|
|
42 Using specified *RotatableBondsDescriptors* property names and
|
|
43 values hash, new method creates a new object and returns a reference
|
|
44 to newly created RotatableBondsDescriptors object. By default, the
|
|
45 following properties are initialized:
|
|
46
|
|
47 Molecule = ''
|
|
48 Type = 'RotatableBonds'
|
|
49 IgnoreTerminalBonds = 1
|
|
50 IgnoreBondsToTripleBonds = 1
|
|
51 IgnoreAmideBonds = 1
|
|
52 IgnoreThioamideBonds = 1
|
|
53 IgnoreSulfonamideBonds = 1
|
|
54 @DescriptorNames = ('RotatableBonds')
|
|
55 @DescriptorValues = ('None')
|
|
56
|
|
57 Examples:
|
|
58
|
|
59 $RotatableBondsDescriptors = new MolecularDescriptors::
|
|
60 RotatableBondsDescriptors();
|
|
61
|
|
62 $RotatableBondsDescriptors = new MolecularDescriptors::
|
|
63 RotatableBondsDescriptors(
|
|
64 'IgnoreAmideBonds' => 0,
|
|
65 'IgnoreThioamideBonds' => 0,
|
|
66 'IgnoreSulfonamideBonds' => 0);
|
|
67
|
|
68 $RotatableBondsDescriptors->SetMolecule($Molecule);
|
|
69 $RotatableBondsDescriptors->GenerateDescriptors();
|
|
70 print "RotatableBondsDescriptors: $RotatableBondsDescriptors\n";
|
|
71
|
|
72 GenerateDescriptors
|
|
73 $RotatableBondsDescriptors->GenerateDescriptors();
|
|
74
|
|
75 Calculates number of rotatable bonds descriptors in a molecule and
|
|
76 returns *RotatableBondsDescriptors*.
|
|
77
|
|
78 GetDescriptorNames
|
|
79 @DescriptorNames = $RotatableBondsDescriptors->GetDescriptorNames();
|
|
80 @DescriptorNames = MolecularDescriptors::RotatableBondsDescriptors::
|
|
81 GetDescriptorNames();
|
|
82
|
|
83 Returns all available descriptor names as an array.
|
|
84
|
|
85 StringifyRotatableBondsDescriptors
|
|
86 $String = $RotatableBondsDescriptors->StringifyRotatableBondsDescriptors();
|
|
87
|
|
88 Returns a string containing information about
|
|
89 *RotatableBondsDescriptors* object.
|
|
90
|
|
91 AUTHOR
|
|
92 Manish Sud <msud@san.rr.com>
|
|
93
|
|
94 SEE ALSO
|
|
95 MolecularDescriptors.pm, MolecularDescriptorsGenerator.pm
|
|
96
|
|
97 COPYRIGHT
|
|
98 Copyright (C) 2015 Manish Sud. All rights reserved.
|
|
99
|
|
100 This file is part of MayaChemTools.
|
|
101
|
|
102 MayaChemTools is free software; you can redistribute it and/or modify it
|
|
103 under the terms of the GNU Lesser General Public License as published by
|
|
104 the Free Software Foundation; either version 3 of the License, or (at
|
|
105 your option) any later version.
|
|
106
|