![]() |
| Previous TOC Next | TopologicalPharmacophoreAtomPairsFingerprints.pl | Code | PDF | PDFGreen | PDFA4 | PDFA4Green |
TopologicalPharmacophoreAtomPairsFingerprints.pl - Generate topological pharmacophore atom pairs fingerprints for SD files
TopologicalPharmacophoreAtomPairsFingerprints.pl SDFile(s)...
TopologicalPharmacophoreAtomPairsFingerprints.pl [-a, --AtomTypesToUse ''AtomType1, AtomType2...''] [--AtomTypesWeight ''AtomType1, Weight1, AtomType2, Weight2...''] [--CompoundID DataFieldName or LabelPrefixString] [--CompoundIDLabel text] [--CompoundIDMode] [--DataFields ''FieldLabel1, FieldLabel2,...''] [-d, --DataFieldsMode All | Common | Specify | CompoundID] [-f, --Filter Yes | No] [--FingerprintsLabelMode FingerprintsLabelOnly | FingerprintsLabelWithIDs] [--FingerprintsLabel text] [--FuzzifyAtomPairsCount Yes | No] [--FuzzificationMode FuzzyBinning | FuzzyBinSmoothing] [--FuzzificationMethodology FuzzyBinning | FuzzyBinSmoothing] [--FuzzFactor number] [-h, --help] [-k, --KeepLargestComponent Yes | No] [--MinDistance number] [--MaxDistance number] [-n, --NormalizationMethodology None | ByHeavyAtomsCount | ByAtomTypesCount] [--OutDelim comma | tab | semicolon] [--output SD | text | both] [-o, --overwrite] [-q, --quote Yes | No] [-r, --root RootName] [--ValuesPrecision number] [-v, --VectorStringFormat ValuesString, IDsAndValuesString | IDsAndValuesPairsString | ValuesAndIDsString | ValuesAndIDsPairsString] [-w, --WorkingDir dirname] SDFile(s)...
Generate topological pharmacophore atom pairs fingerprints [ Ref 60-62, Ref 65, Ref 68 ] for SDFile(s) and create appropriate SD or CSV/TSV text file(s) containing fingerprints vector strings corresponding to molecular fingerprints.
Multiple SDFile names are separated by spaces. The valid file extensions are .sdf and .sd. All other file names are ignored. All the SD files in a current directory can be specified either by *.sdf or the current directory name.
Based on the values specified for --AtomTypesToUse, pharmacophore atom types are assigned to all non-hydrogen atoms in a molecule and a distance matrix is generated. A pharmacophore atom pairs basis set is initialized for all unique possible pairs within --MinDistance and --MaxDistance range.
Using distance matrix and pharmacohore atom types, occurrence of unique pharmacohore atom pairs is counted. The contribution of each atom type to atom pair interaction is optionally weighted by specified --AtomTypesWeight before assigning its count to appropriate distance bin. Based on --NormalizationMethodology option, pharmacophore atom pairs count is optionally normalized. Additionally, pharmacohore atom pairs count is optionally fuzzified before or after the normalization controlled by values of --FuzzifyAtomPairsCount, --FuzzificationMode, --FuzzificationMethodology and --FuzzFactor options.
The final pharmacophore atom pairs count along with atom pair identifiers involving all non-hydrogen atoms, with optional normalization and fuzzification, constitute pharmacophore topological atom pairs fingerprints of the molecule.
The current release of MayaChemTools generates the following types of topological pharmacophore atom pairs fingerprints vector strings:
Possible values for pharmacophore atom types are: Ar, CA, H, HBA, HBD, Hal, NI, PI, RA. Default value [ Ref 60-62 ] : HBD,HBA,PI,NI,H.
The pharmacophore atom types abbreviations correspond to:
AtomTypes::FunctionalClassAtomTypes module is used to assign pharmacophore atom types. It uses following definitions [ Ref 60-61, Ref 65-66 ]:
The weight values allow to increase the importance of specific pharmacophore atom type in the generated fingerprints. A weight value of 0 for an atom type eliminates its contribution to atom pair count where as weight value of 2 doubles its contribution.
For DataField value of --CompoundIDMode option, it corresponds to datafield label name whose value is used as compound ID; otherwise, it's a prefix string used for generating compound IDs like LabelPrefixString<Number>. Default value, Cmpd, generates compound IDs which look like Cmpd<Number>.
Examples for DataField value of --CompoundIDMode:
Examples for LabelPrefix or MolNameOrLabelPrefix value of --CompoundIDMode:
The value specified above generates compound IDs which correspond to Compound<Number> instead of default value of Cmpd<Number>.
Possible values: DataField | MolName | LabelPrefix | MolNameOrLabelPrefix. Default value: LabelPrefix.
For MolNameAndLabelPrefix value of --CompoundIDMode, molname line in SDFile(s) takes precedence over sequential compound IDs generated using LabelPrefix and only empty molname values are replaced with sequential compound IDs.
This is only used for CompoundID value of --DataFieldsMode option.
This is only used for Specify value of --DataFieldsMode option.
Examples:
By default, compound data is checked before calculating fingerprints and compounds containing atom data corresponding to non-element symbols or no atom data are ignored.
Possible values: FingerprintsLabelOnly | FingerprintsLabelWithIDs. Default value: FingerprintsLabelOnly.
Topological atom pairs IDs appended to --FingerprintsLabel value during FingerprintsLabelWithIDs values of --FingerprintsLabelMode correspond to atom pair count values in fingerprint vector string.
In conjunction with values for options --FuzzifyAtomPairsCount, --FuzzificationMode and --FuzzFactor, --FuzzificationMethodology option is used to fuzzify pharmacophore atom pairs count.
Let:
Then:
For FuzzyBinning:
For FuzzyBinSmoothing:
In both fuzzification schemes, a value of 0 for FF implies no fuzzification of occurrence counts. A value of 1 during FuzzyBinning corresponds to maximum fuzzification of occurrence counts; however, a value of 1 during FuzzyBinSmoothing ends up completely distributing the value over the previous and next distance bins.
So for default value of --FuzzFactor (FF) 0.15, the occurrence count of pharmacohore atom pairs at distance Dn during FuzzyBinning is left unchanged and the counts at distances Dn -1 and Dn + 1 are incremented by PPxyDn * 0.15.
And during FuzzyBinSmoothing the occurrence counts at Distance Dn is scaled back using multiplicative factor of (1 - 2*0.15) and the occurrence counts at distances Dn -1 and Dn + 1 are incremented by PPxyDn * 0.15. In otherwords, occurrence bin count is smoothed out by distributing it over the previous and next distance value.
For molecules containing multiple connected components, fingerprints can be generated in two different ways: use all connected components or just the largest connected component. By default, all atoms except for the largest connected component are deleted before generation of fingerprints.
Examples:
To generate topological pharmacophore atom pairs fingerprints corresponding to distances from 1 through 10 using default atom types with no weighting, normalization, and fuzzification of atom pairs count and create a SampleTPAPFP.csv file containing sequential compound IDs along with fingerprints vector strings data in ValuesString format, type:
To generate topological pharmacophore atom pairs fingerprints corresponding to distances from 1 through 10 using default atom types with no weighting, normalization, and fuzzification of atom pairs count and create both SampleTPAPFP.csv and SampleTPAPFP.sdf files containing sequential compound IDs in CSV file along with fingerprints vector strings data in ValuesString format, type:
To generate topological pharmacophore atom pairs fingerprints corresponding to distances from 1 through 10 using default atom types with no weighting, normalization, and fuzzification of atom pairs count and create a SampleTPAPFP.csv file containing sequential compound IDs along with fingerprints vector strings data in IDsAndValuesPairsString format, type:
To generate topological pharmacophore atom pairs fingerprints corresponding to distances from 1 through 6 using default atom types with no weighting, normalization, and fuzzification of atom pairs count and create a SampleTPAPFP.csv file containing sequential compound IDs along with fingerprints vector strings data in ValuesString format, type:
To generate topological pharmacophore atom pairs fingerprints corresponding to distances from 1 through 10 using ''HBD,HBA,PI,NI'' atom types with double the weighting for ''HBD,HBA'' and normalization by HeavyAtomCount but no fuzzification of atom pairs count and create a SampleTPAPFP.csv file containing sequential compound IDs along with fingerprints vector strings data in ValuesString format, type:
To generate topological pharmacophore atom pairs fingerprints corresponding to distances from 1 through 10 using ''HBD,HBA,PI,NI,H'' atom types with no weighting of atom types and normalization but with fuzzification of atom pairs count using FuzzyBinning methodology with FuzzFactor value 0.15 and create a SampleTPAPFP.csv file containing sequential compound IDs along with fingerprints vector strings data in ValuesString format, type:
To generate topological pharmacophore atom pairs fingerprints corresponding to distances from 1 through 10 using default atom types with no weighting, normalization, and fuzzification of atom pairs count and create a SampleTPAPFP.csv file containing compound ID from molecule name line along with fingerprints vector strings data, type:
To generate topological pharmacophore atom pairs fingerprints corresponding to distances from 1 through 10 using default atom types with no weighting, normalization, and fuzzification of atom pairs count and create a SampleTPAPFP.csv file containing compound IDs using specified data field along with fingerprints vector strings data, type:
To generate topological pharmacophore atom pairs fingerprints corresponding to distances from 1 through 10 using default atom types with no weighting, normalization, and fuzzification of atom pairs count and create a SampleTPAPFP.csv file containing compound ID using combination of molecule name line and an explicit compound prefix along with fingerprints vector strings data, type:
To generate topological pharmacophore atom pairs fingerprints corresponding to distances from 1 through 10 using default atom types with no weighting, normalization, and fuzzification of atom pairs count and create a SampleTPAPFP.csv file containing specific data fields columns along with fingerprints vector strings data, type:
To generate topological pharmacophore atom pairs fingerprints corresponding to distances from 1 through 10 using default atom types with no weighting, normalization, and fuzzification of atom pairs count and create a SampleTPAPFP.csv file containing common data fields columns along with fingerprints vector strings data, type:
To generate topological pharmacophore atom pairs fingerprints corresponding to distances from 1 through 10 using default atom types with no weighting, normalization, and fuzzification of atom pairs count and create both SampleTPAPFP.csv and SampleTPAPFP.sdf files containing all data fields columns in CSV file along with fingerprints data, type:
InfoFingerprintsSDFiles.pl, InfoFingerprintsTextFiles.pl,  SimilarityMatrixSDFiles.pl, SimilarityMatrixTextFiles.pl, AtomNeighborhoodsFingerprints.pl,  ExtendedConnectivityFingerprints.pl, MACCSKeysFingerprints.pl, PathLengthFingerprints.pl,  TopologicalAtomPairsFingerprints.pl, TopologicalAtomTorsionsFingerprints.pl,  TopologicalPharmacophoreAtomTripletsFingerprints.pl
Copyright (C) 2004-2010 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.