Fingerprints - Fingerprints class
use Fingerprints::Fingerprints qw(:all);
Fingerprints class provides the following methods:
new, FoldFingerprintsByBitDensity, FoldFingerprintsBySize, GetFingerprintBitsAsBinaryString, GetFingerprintBitsAsHexadecimalString, GetFingerprintBitsAsRawBinaryString, GetFingerprintsVectorValueIDs, GetFingerprintsVectorValues, IsFingerprintsGenerationSuccessful, SetFingerprintsBitVector, SetFingerprintsVector, SetFingerprintsVectorType, SetMolecule, SetSize, SetType, SetVectorType
Fingerprints class is used as a base class for various specific fingerprint classes such as AtomNeighborhoodsFingerprints, AtomTypesFingerprints, EStateIndiciesFingerprints, PathLengthFingerprints, ExtendedConnectivityFingerprints, MACCSKeys and so on. It implements functionality common to fingerprint classes.
Fingerprints class is derived from ObjectProperty base class which provides methods not explicitly defined in Fingerprints or ObjectProperty classes using Perl's AUTOLOAD functionality. These methods are generated on-the-fly for a specified object property:
Fingerprints class uses FingerprintsBitVector class to provide bits manipulation functionality.
Using specified Fingerprints property names and values hash, new method creates a new object and returns a reference to newly created Fingerprints object. By default, following properties are initialized:
Folds fingerprints by recursively reducing its size by half until bit density is greater than or equal to specified BitDensity and returns Fingerprints.
Fold fingerprints by recursively reducing its size by half until size is less than or equal to specified Size and returns Fingerprints. By default, value Size is checked to make sure it's:
Returns fingerprints as a binary ASCII string containing 0s and 1s.
Returns fingerprints as a hexadecimal string
Returns fingerprints as a raw binary string containing packed bit values for each byte.
Returns fingerprints vector value IDs as an array or reference to an array.
Returns fingerprints vector values as an array or reference to an array.
Returns 1 or 0 based on whether fingerprints were successfully generated.
Sets FingerprintsBitVector object for Fingerprints and returns Fingerprints.
Sets FingerprintsVector object for Fingerprints and returns Fingerprints.
Sets FingerprintsVector type for Fingerprints and returns Fingerprints. Possible VectorType values: OrderedNumericalValues, NumericalValues or AlphaNumericalValues.
Sets Molecule object for Fingerprints and returns Fingerprints.
Sets Size of fingerprints and returns Fingerprints.
Sets Type of fingerprints and returns Fingerprints.
Sets Type of fingerprints vector and returns Fingerprints. Possible Type values: FingerprintsBitVector or FingerprintsVector.
FingerprintsStringUtil.pm, AtomNeighborhoodsFingerprints.pm, AtomTypesFingerprints.pm, EStateIndiciesFingerprints.pm, ExtendedConnectivityFingerprints.pm, MACCSKeys.pm, PathLengthFingerprints.pm, TopologicalAtomPairsFingerprints.pm, TopologicalAtomTripletsFingerprints.pm, TopologicalAtomTorsionsFingerprints.pm, TopologicalPharmacophoreAtomPairsFingerprints.pm, TopologicalPharmacophoreAtomTripletsFingerprints.pm
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.