FunctionalClassAtomTypes
use AtomTypes::FunctionalClassAtomTypes;
use AtomTypes::FunctionalClassAtomTypes qw(:all);
FunctionalClassAtomTypes class provides the following methods:
new, AssignAtomTypes, GetAvailableFunctionalClasses, GetFunctionalClassesOrder, IsFunctionalClassAvailable, SetFunctionalClassesToUse, StringifyFunctionalClassAtomTypes
FunctionalClassAtomTypes is derived from AtomTypes class which in turn is derived from ObjectProperty base class that provides methods not explicitly defined in FunctionalClassAtomTypes, AtomTypes or ObjectProperty classes using Perl's AUTOLOAD functionality. These methods are generated on-the-fly for a specified object property:
Possible values for functional clas atom types are: Ar, CA, H, HBA, HBD, Hal, NI, PI, RA. Default value: HBD, HBA, PI, NI, Ar, Hal.
The functional calss atom types abbreviations correspond to:
FunctionalAtomTypes are assigned using the following definitions [ Ref 60-61, Ref 65-66 ]:
Notes:
Using specified FunctionalClassAtomTypes property names and values hash, new method creates a new object and returns a reference to newly created FunctionalClassAtomTypes object. By default, the following properties are initialized:
Examples:
Assigns functional class atom types to all the atoms in a molecule and returns FunctionalClassAtomTypes.
Returns available functional classes as a hash containing available functional classes and their description as key/value pairs.
Returns an array obtaining order of functional classes used to generate atom types.
Returns 1 or 0 based on whether atom types assignment was successfully performed. This method overrides the same method available in the base class AtomTypes.pm used to derived this class.
Returns 1 or 0 based on whether FunctionalClass is valid.
Set functional classes to use for generating and assigning atom types and returns FunctionalClassAtomTypes.
Returns a string containing information about FunctionalClassAtomTypes object.
AtomTypes.pm, AtomicInvariantsAtomTypes.pm, DREIDINGAtomTypes.pm, EStateAtomTypes.pm, MMFF94AtomTypes.pm, SLogPAtomTypes.pm, SYBYLAtomTypes.pm, TPSAAtomTypes.pm, UFFAtomTypes.pm
Copyright (C) 2024 Manish Sud. All rights reserved.
This file is part of MayaChemTools.
MayaChemTools is free software; you can redistribute it and/or modify it under the terms of the GNU Lesser General Public License as published by the Free Software Foundation; either version 3 of the License, or (at your option) any later version.