use MolecularDescriptors::TPSADescriptors qw(:all);
TPSADescriptors class provides the following methods:
new, GenerateDescriptors, GetDescriptorNames, StringifyTPSADescriptors
TPSADescriptors is derived from MolecularDescriptors class which in turn is derived from ObjectProperty base class that provides methods not explicitly defined in TPSADescriptors, MolecularDescriptors or ObjectProperty classes using Perl's AUTOLOAD functionality. These methods are generated on-the-fly for a specified object property:
After Topological Polar Surface Area (TPSA) atom types [ Ref 90-91 ] has been assigned to appropriate atoms in a molecule using AtomTypes::TPSAAtomTypes.pm module, TPSA value is calculated by adding up contributions of each appropriate atom type.
By default, MayaChemTools only uses nitrogen and oxygen atoms during calculation of TPSA and ignores phosphorous and sulfur atoms. [ Ref 90 - 91 ]
Using specified TPSADescriptors property names and values hash, new method creates a new object and returns a reference to newly created TPSADescriptors object. By default, the following properties are initialized:
Calculate TPSA value for a molecule and returns TPSADescriptors.
Returns all available descriptor names as an array.
Returns a string containing information about TPSADescriptors object.
Copyright (C) 2019 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.