Mercurial > repos > deepakjadmin > mayatool3_test3
comparison mayachemtools/docs/modules/txt/MolecularDescriptors.txt @ 0:73ae111cf86f draft
Uploaded
| author | deepakjadmin |
|---|---|
| date | Wed, 20 Jan 2016 11:55:01 -0500 |
| parents | |
| children |
comparison
equal
deleted
inserted
replaced
| -1:000000000000 | 0:73ae111cf86f |
|---|---|
| 1 NAME | |
| 2 MolecularDescriptors - MolecularDescriptors class | |
| 3 | |
| 4 SYNOPSIS | |
| 5 use MolecularDescriptors::MolecularDescriptors; | |
| 6 | |
| 7 use MolecularDescriptors::MolecularDescriptors qw(:all); | |
| 8 | |
| 9 DESCRIPTION | |
| 10 MolecularDescriptors base class used to derive all other molecular | |
| 11 descriptors classes provides the following methods: | |
| 12 | |
| 13 new, AddDescriptorNames, AddDescriptorValues, GetDescriptorNames, | |
| 14 GetDescriptorNamesAndValues, GetDescriptorValueByName, | |
| 15 GetDescriptorValues, IsDescriptorsGenerationSuccessful, | |
| 16 SetDescriptorNames, SetDescriptorValues, SetMolecule, SetType | |
| 17 | |
| 18 MolecularDescriptors class is derived from ObjectProperty base class | |
| 19 which provides methods not explicitly defined in Fingerprints or | |
| 20 ObjectProperty classes using Perl's AUTOLOAD functionality. These | |
| 21 methods are generated on-the-fly for a specified object property: | |
| 22 | |
| 23 Set<PropertyName>(<PropertyValue>); | |
| 24 $PropertyValue = Get<PropertyName>(); | |
| 25 Delete<PropertyName>(); | |
| 26 | |
| 27 METHODS | |
| 28 new | |
| 29 $NewMolecularDescriptors = new MolecularDescriptors:: | |
| 30 MolecularDescriptors(%NamesAndValues); | |
| 31 | |
| 32 Using specified *MolecularDescriptors* property names and values | |
| 33 hash, new method creates a new object and returns a reference to | |
| 34 newly created MolecularDescriptors object. By default, following | |
| 35 properties are initialized: | |
| 36 | |
| 37 Molecule = ''; | |
| 38 Type = ''; | |
| 39 | |
| 40 AddDescriptorNames | |
| 41 $MolecularDescriptors->AddDescriptorNames(@Name); | |
| 42 | |
| 43 Adds specified descriptor *Names* to the list of available | |
| 44 descriptor names and returns *MolecularDescriptors*. | |
| 45 | |
| 46 AddDescriptorValues | |
| 47 $MolecularDescriptors->AddDescriptorValues(@Values); | |
| 48 | |
| 49 Adds specified descriptor *Values* to the list of calculated | |
| 50 descriptor values and returns *MolecularDescriptors*. | |
| 51 | |
| 52 GetDescriptorNames | |
| 53 @Names = $MolecularDescriptors->GetDescriptorNames(); | |
| 54 | |
| 55 Returns an array containing all available descriptor names. | |
| 56 | |
| 57 GetDescriptorNamesAndValues | |
| 58 %NamesAndValuesReturn = $MolecularDescriptors-> | |
| 59 GetDescriptorNamesAndValues(); | |
| 60 | |
| 61 Returns a hash containing all available descriptor names and | |
| 62 calculated values. | |
| 63 | |
| 64 GetDescriptorValueByName | |
| 65 $Value = $MolecularDescriptors-> | |
| 66 GetDescriptorValueByName($Name); | |
| 67 | |
| 68 Returns calculated value for a specified descriptor name. A string | |
| 69 None is returned for unknown descriptor names or for those | |
| 70 descriptors whose values haven't been calculated. | |
| 71 | |
| 72 GetDescriptorValues | |
| 73 @Values = $MolecularDescriptors->GetDescriptorValues(); | |
| 74 | |
| 75 Returns an array containing calculated descriptor values for all | |
| 76 available descriptors. Unless CalculateDescriptorsValues method has | |
| 77 been successfully invoked on a *MolecularDescriptors* object, value | |
| 78 of each descriptor corresponds to string None. | |
| 79 | |
| 80 IsDescriptorsGenerationSuccessful | |
| 81 $Status = $MolecularDescriptors-> | |
| 82 IsDescriptorsGenerationSuccessful(); | |
| 83 | |
| 84 Returns 1 or 0 based on whether molecular descriptors generation was | |
| 85 successful. For a successful molecular descriptors calculation, all | |
| 86 available descriptors must have a values other than a string *None* | |
| 87 which are set by CalculateDescriptorsValues method after successful | |
| 88 completion of descriptors calculation. | |
| 89 | |
| 90 SetDescriptorNames | |
| 91 $MolecularDescriptors->SetDescriptorNames(@Names); | |
| 92 | |
| 93 Sets names of available descriptors to specified names and returns | |
| 94 *MolecularDescriptors*. | |
| 95 | |
| 96 SetDescriptorValues | |
| 97 $MolecularDescriptors->SetDescriptorValues(@Values); | |
| 98 | |
| 99 Sets values of available descriptors to specified values and returns | |
| 100 *MolecularDescriptors*. | |
| 101 | |
| 102 SetMolecule | |
| 103 $MolecularDescriptors->SetMolecule($Molecule); | |
| 104 | |
| 105 Sets molecule to use during calculation of molecular descriptors and | |
| 106 returns *MolecularDescriptors*. | |
| 107 | |
| 108 SetType | |
| 109 $MolecularDescriptors->SetType($Type); | |
| 110 | |
| 111 Sets *Type* for *MolecularDescriptors* object and returns | |
| 112 *MolecularDescriptors*. | |
| 113 | |
| 114 AUTHOR | |
| 115 Manish Sud <msud@san.rr.com> | |
| 116 | |
| 117 SEE ALSO | |
| 118 MolecularDescriptorsGenerator.pm | |
| 119 | |
| 120 COPYRIGHT | |
| 121 Copyright (C) 2015 Manish Sud. All rights reserved. | |
| 122 | |
| 123 This file is part of MayaChemTools. | |
| 124 | |
| 125 MayaChemTools is free software; you can redistribute it and/or modify it | |
| 126 under the terms of the GNU Lesser General Public License as published by | |
| 127 the Free Software Foundation; either version 3 of the License, or (at | |
| 128 your option) any later version. | |
| 129 |
