Mercurial > repos > deepakjadmin > mayatool3_test2
comparison docs/modules/txt/TPSADescriptors.txt @ 0:4816e4a8ae95 draft default tip
Uploaded
| author | deepakjadmin |
|---|---|
| date | Wed, 20 Jan 2016 09:23:18 -0500 |
| parents | |
| children |
comparison
equal
deleted
inserted
replaced
| -1:000000000000 | 0:4816e4a8ae95 |
|---|---|
| 1 NAME | |
| 2 TPSADescriptors | |
| 3 | |
| 4 SYNOPSIS | |
| 5 use MolecularDescriptors::TPSADescriptors; | |
| 6 | |
| 7 use MolecularDescriptors::TPSADescriptors qw(:all); | |
| 8 | |
| 9 DESCRIPTION | |
| 10 TPSADescriptors class provides the following methods: | |
| 11 | |
| 12 new, GenerateDescriptors, GetDescriptorNames, StringifyTPSADescriptors | |
| 13 | |
| 14 TPSADescriptors is derived from MolecularDescriptors class which in turn | |
| 15 is derived from ObjectProperty base class that provides methods not | |
| 16 explicitly defined in TPSADescriptors, MolecularDescriptors or | |
| 17 ObjectProperty classes using Perl's AUTOLOAD functionality. These | |
| 18 methods are generated on-the-fly for a specified object property: | |
| 19 | |
| 20 Set<PropertyName>(<PropertyValue>); | |
| 21 $PropertyValue = Get<PropertyName>(); | |
| 22 Delete<PropertyName>(); | |
| 23 | |
| 24 After Topological Polar Surface Area (TPSA) atom types [ Ref 90-91 ] has | |
| 25 been assigned to appropriate atoms in a molecule using | |
| 26 AtomTypes::TPSAAtomTypes.pm module, TPSA value is calculated by adding | |
| 27 up contributions of each appropriate atom type. | |
| 28 | |
| 29 By default, MayaChemTools only uses nitrogen and oxygen atoms during | |
| 30 calculation of TPSA and ignores phosphorous and sulfur atoms. [ Ref 90 - | |
| 31 91 ] | |
| 32 | |
| 33 METHODS | |
| 34 new | |
| 35 $NewTPSADescriptors = new MolecularDescriptors::TPSADescriptors( | |
| 36 %NamesAndValues); | |
| 37 | |
| 38 Using specified *TPSADescriptors* property names and values hash, | |
| 39 new method creates a new object and returns a reference to newly | |
| 40 created TPSADescriptors object. By default, the following properties | |
| 41 are initialized: | |
| 42 | |
| 43 Molecule = '' | |
| 44 Type = 'TPSA' | |
| 45 IgnorePhosphorus = 1 | |
| 46 IgnoreSulfur = 1 | |
| 47 @DescriptorNames = ('TPSA') | |
| 48 @DescriptorValues = ('None') | |
| 49 | |
| 50 Examples: | |
| 51 | |
| 52 $TPSADescriptors = new MolecularDescriptors::TPSADescriptors( | |
| 53 'Molecule' => $Molecule); | |
| 54 | |
| 55 $TPSADescriptors = new MolecularDescriptors::TPSADescriptors(); | |
| 56 | |
| 57 $TPSADescriptors = new MolecularDescriptors::TPSADescriptors( | |
| 58 'IgnorePhosphorus' => 0, | |
| 59 'IgnoreSulfur' => 0); | |
| 60 | |
| 61 $TPSADescriptors->SetMolecule($Molecule); | |
| 62 $TPSADescriptors->GenerateDescriptors(); | |
| 63 print "TPSADescriptors: $TPSADescriptors\n"; | |
| 64 | |
| 65 GenerateDescriptors | |
| 66 $TPSADescriptors->GenerateDescriptors(); | |
| 67 | |
| 68 Calculate TPSA value for a molecule and returns *TPSADescriptors*. | |
| 69 | |
| 70 GetDescriptorNames | |
| 71 @DescriptorNames = $TPSADescriptors->GetDescriptorNames(); | |
| 72 @DescriptorNames = MolecularDescriptors::TPSADescriptors:: | |
| 73 GetDescriptorNames(); | |
| 74 | |
| 75 Returns all available descriptor names as an array. | |
| 76 | |
| 77 StringifyTPSADescriptors | |
| 78 $String = $TPSADescriptors->StringifyTPSADescriptors(); | |
| 79 | |
| 80 Returns a string containing information about *TPSADescriptors* | |
| 81 object. | |
| 82 | |
| 83 AUTHOR | |
| 84 Manish Sud <msud@san.rr.com> | |
| 85 | |
| 86 SEE ALSO | |
| 87 MolecularDescriptors.pm, MolecularDescriptorsGenerator.pm | |
| 88 | |
| 89 COPYRIGHT | |
| 90 Copyright (C) 2015 Manish Sud. All rights reserved. | |
| 91 | |
| 92 This file is part of MayaChemTools. | |
| 93 | |
| 94 MayaChemTools is free software; you can redistribute it and/or modify it | |
| 95 under the terms of the GNU Lesser General Public License as published by | |
| 96 the Free Software Foundation; either version 3 of the License, or (at | |
| 97 your option) any later version. | |
| 98 |
