rdkit-headers 2022.3.3__py3-none-any.whl
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- rdkit_headers/__init__.py +13 -0
- rdkit_headers/include/rdkit/CIPLabeler/CIPLabeler.h +59 -0
- rdkit_headers/include/rdkit/CIPLabeler/TooManyNodesException.h +28 -0
- rdkit_headers/include/rdkit/Catalogs/Catalog.h +461 -0
- rdkit_headers/include/rdkit/Catalogs/CatalogEntry.h +48 -0
- rdkit_headers/include/rdkit/Catalogs/CatalogParams.h +42 -0
- rdkit_headers/include/rdkit/ChemicalFeatures/ChemicalFeature.h +38 -0
- rdkit_headers/include/rdkit/ChemicalFeatures/FreeChemicalFeature.h +97 -0
- rdkit_headers/include/rdkit/DataManip/MetricMatrixCalc/MetricFuncs.h +54 -0
- rdkit_headers/include/rdkit/DataManip/MetricMatrixCalc/MetricMatrixCalc.h +106 -0
- rdkit_headers/include/rdkit/DataStructs/BitOps.h +337 -0
- rdkit_headers/include/rdkit/DataStructs/BitVect.h +68 -0
- rdkit_headers/include/rdkit/DataStructs/BitVectUtils.h +35 -0
- rdkit_headers/include/rdkit/DataStructs/BitVects.h +25 -0
- rdkit_headers/include/rdkit/DataStructs/DatastructsException.h +31 -0
- rdkit_headers/include/rdkit/DataStructs/DatastructsStreamOps.h +72 -0
- rdkit_headers/include/rdkit/DataStructs/DiscreteDistMat.h +30 -0
- rdkit_headers/include/rdkit/DataStructs/DiscreteValueVect.h +146 -0
- rdkit_headers/include/rdkit/DataStructs/ExplicitBitVect.h +96 -0
- rdkit_headers/include/rdkit/DataStructs/FPBReader.h +281 -0
- rdkit_headers/include/rdkit/DataStructs/MultiFPBReader.h +213 -0
- rdkit_headers/include/rdkit/DataStructs/SparseBitVect.h +101 -0
- rdkit_headers/include/rdkit/DataStructs/SparseIntVect.h +571 -0
- rdkit_headers/include/rdkit/DataStructs/base64.h +41 -0
- rdkit_headers/include/rdkit/DistGeom/BoundsMatrix.h +121 -0
- rdkit_headers/include/rdkit/DistGeom/ChiralSet.h +58 -0
- rdkit_headers/include/rdkit/DistGeom/ChiralViolationContrib.h +96 -0
- rdkit_headers/include/rdkit/DistGeom/DistGeomUtils.h +195 -0
- rdkit_headers/include/rdkit/DistGeom/DistViolationContrib.h +54 -0
- rdkit_headers/include/rdkit/DistGeom/FourthDimContrib.h +65 -0
- rdkit_headers/include/rdkit/DistGeom/TriangleSmooth.h +36 -0
- rdkit_headers/include/rdkit/Features/Feature.h +96 -0
- rdkit_headers/include/rdkit/ForceField/Contrib.h +40 -0
- rdkit_headers/include/rdkit/ForceField/ForceField.h +253 -0
- rdkit_headers/include/rdkit/ForceField/MMFF/AngleBend.h +78 -0
- rdkit_headers/include/rdkit/ForceField/MMFF/AngleConstraint.h +64 -0
- rdkit_headers/include/rdkit/ForceField/MMFF/BondStretch.h +67 -0
- rdkit_headers/include/rdkit/ForceField/MMFF/Contribs.h +26 -0
- rdkit_headers/include/rdkit/ForceField/MMFF/DistanceConstraint.h +61 -0
- rdkit_headers/include/rdkit/ForceField/MMFF/Nonbonded.h +105 -0
- rdkit_headers/include/rdkit/ForceField/MMFF/OopBend.h +65 -0
- rdkit_headers/include/rdkit/ForceField/MMFF/Params.h +1134 -0
- rdkit_headers/include/rdkit/ForceField/MMFF/PositionConstraint.h +55 -0
- rdkit_headers/include/rdkit/ForceField/MMFF/StretchBend.h +70 -0
- rdkit_headers/include/rdkit/ForceField/MMFF/TorsionAngle.h +79 -0
- rdkit_headers/include/rdkit/ForceField/MMFF/TorsionConstraint.h +70 -0
- rdkit_headers/include/rdkit/ForceField/UFF/AngleBend.h +92 -0
- rdkit_headers/include/rdkit/ForceField/UFF/AngleConstraint.h +64 -0
- rdkit_headers/include/rdkit/ForceField/UFF/BondStretch.h +83 -0
- rdkit_headers/include/rdkit/ForceField/UFF/Contribs.h +23 -0
- rdkit_headers/include/rdkit/ForceField/UFF/DistanceConstraint.h +62 -0
- rdkit_headers/include/rdkit/ForceField/UFF/Inversion.h +81 -0
- rdkit_headers/include/rdkit/ForceField/UFF/Nonbonded.h +87 -0
- rdkit_headers/include/rdkit/ForceField/UFF/Params.h +153 -0
- rdkit_headers/include/rdkit/ForceField/UFF/PositionConstraint.h +55 -0
- rdkit_headers/include/rdkit/ForceField/UFF/TorsionAngle.h +115 -0
- rdkit_headers/include/rdkit/ForceField/UFF/TorsionConstraint.h +70 -0
- rdkit_headers/include/rdkit/Geometry/Grid3D.h +55 -0
- rdkit_headers/include/rdkit/Geometry/GridUtils.h +64 -0
- rdkit_headers/include/rdkit/Geometry/Transform.h +19 -0
- rdkit_headers/include/rdkit/Geometry/Transform2D.h +85 -0
- rdkit_headers/include/rdkit/Geometry/Transform3D.h +101 -0
- rdkit_headers/include/rdkit/Geometry/UniformGrid3D.h +217 -0
- rdkit_headers/include/rdkit/Geometry/Utils.h +97 -0
- rdkit_headers/include/rdkit/Geometry/point.h +585 -0
- rdkit_headers/include/rdkit/GraphMol/Abbreviations/Abbreviations.h +132 -0
- rdkit_headers/include/rdkit/GraphMol/Atom.h +449 -0
- rdkit_headers/include/rdkit/GraphMol/AtomIterators.h +212 -0
- rdkit_headers/include/rdkit/GraphMol/Bond.h +393 -0
- rdkit_headers/include/rdkit/GraphMol/BondIterators.h +75 -0
- rdkit_headers/include/rdkit/GraphMol/Canon.h +130 -0
- rdkit_headers/include/rdkit/GraphMol/ChemReactions/Enumerate/CartesianProduct.h +147 -0
- rdkit_headers/include/rdkit/GraphMol/ChemReactions/Enumerate/Enumerate.h +187 -0
- rdkit_headers/include/rdkit/GraphMol/ChemReactions/Enumerate/EnumerateBase.h +200 -0
- rdkit_headers/include/rdkit/GraphMol/ChemReactions/Enumerate/EnumerateTypes.h +59 -0
- rdkit_headers/include/rdkit/GraphMol/ChemReactions/Enumerate/EnumerationPickler.h +60 -0
- rdkit_headers/include/rdkit/GraphMol/ChemReactions/Enumerate/EnumerationStrategyBase.h +227 -0
- rdkit_headers/include/rdkit/GraphMol/ChemReactions/Enumerate/RandomSample.h +163 -0
- rdkit_headers/include/rdkit/GraphMol/ChemReactions/Enumerate/RandomSampleAllBBs.h +184 -0
- rdkit_headers/include/rdkit/GraphMol/ChemReactions/PreprocessRxn.h +64 -0
- rdkit_headers/include/rdkit/GraphMol/ChemReactions/Reaction.h +491 -0
- rdkit_headers/include/rdkit/GraphMol/ChemReactions/ReactionFingerprints.h +147 -0
- rdkit_headers/include/rdkit/GraphMol/ChemReactions/ReactionParser.h +274 -0
- rdkit_headers/include/rdkit/GraphMol/ChemReactions/ReactionPickler.h +119 -0
- rdkit_headers/include/rdkit/GraphMol/ChemReactions/ReactionRunner.h +116 -0
- rdkit_headers/include/rdkit/GraphMol/ChemReactions/ReactionUtils.h +74 -0
- rdkit_headers/include/rdkit/GraphMol/ChemReactions/SanitizeRxn.h +169 -0
- rdkit_headers/include/rdkit/GraphMol/ChemTransforms/ChemTransforms.h +270 -0
- rdkit_headers/include/rdkit/GraphMol/ChemTransforms/MolFragmenter.h +120 -0
- rdkit_headers/include/rdkit/GraphMol/Chirality.h +137 -0
- rdkit_headers/include/rdkit/GraphMol/Conformer.h +183 -0
- rdkit_headers/include/rdkit/GraphMol/CoordGen.h +195 -0
- rdkit_headers/include/rdkit/GraphMol/Depictor/DepictUtils.h +366 -0
- rdkit_headers/include/rdkit/GraphMol/Depictor/EmbeddedFrag.h +544 -0
- rdkit_headers/include/rdkit/GraphMol/Depictor/RDDepictor.h +284 -0
- rdkit_headers/include/rdkit/GraphMol/Deprotect/Deprotect.h +105 -0
- rdkit_headers/include/rdkit/GraphMol/Descriptors/AUTOCORR2D.h +49 -0
- rdkit_headers/include/rdkit/GraphMol/Descriptors/AUTOCORR3D.h +51 -0
- rdkit_headers/include/rdkit/GraphMol/Descriptors/AtomFeat.h +39 -0
- rdkit_headers/include/rdkit/GraphMol/Descriptors/BCUT.h +66 -0
- rdkit_headers/include/rdkit/GraphMol/Descriptors/ConnectivityDescriptors.h +211 -0
- rdkit_headers/include/rdkit/GraphMol/Descriptors/CoulombMat.h +42 -0
- rdkit_headers/include/rdkit/GraphMol/Descriptors/Crippen.h +137 -0
- rdkit_headers/include/rdkit/GraphMol/Descriptors/Data3Ddescriptors.h +55 -0
- rdkit_headers/include/rdkit/GraphMol/Descriptors/EEM.h +59 -0
- rdkit_headers/include/rdkit/GraphMol/Descriptors/GETAWAY.h +51 -0
- rdkit_headers/include/rdkit/GraphMol/Descriptors/Lipinski.h +169 -0
- rdkit_headers/include/rdkit/GraphMol/Descriptors/MORSE.h +50 -0
- rdkit_headers/include/rdkit/GraphMol/Descriptors/MQN.h +47 -0
- rdkit_headers/include/rdkit/GraphMol/Descriptors/MolData3Ddescriptors.h +62 -0
- rdkit_headers/include/rdkit/GraphMol/Descriptors/MolDescriptors.h +86 -0
- rdkit_headers/include/rdkit/GraphMol/Descriptors/MolDescriptors3D.h +25 -0
- rdkit_headers/include/rdkit/GraphMol/Descriptors/MolSurf.h +120 -0
- rdkit_headers/include/rdkit/GraphMol/Descriptors/PBF.h +60 -0
- rdkit_headers/include/rdkit/GraphMol/Descriptors/PMI.h +128 -0
- rdkit_headers/include/rdkit/GraphMol/Descriptors/Property.h +123 -0
- rdkit_headers/include/rdkit/GraphMol/Descriptors/RDF.h +52 -0
- rdkit_headers/include/rdkit/GraphMol/Descriptors/RegisterDescriptor.h +84 -0
- rdkit_headers/include/rdkit/GraphMol/Descriptors/USRDescriptor.h +137 -0
- rdkit_headers/include/rdkit/GraphMol/Descriptors/WHIM.h +51 -0
- rdkit_headers/include/rdkit/GraphMol/DistGeomHelpers/BoundsMatrixBuilder.h +77 -0
- rdkit_headers/include/rdkit/GraphMol/DistGeomHelpers/Embedder.h +437 -0
- rdkit_headers/include/rdkit/GraphMol/FMCS/FMCS.h +194 -0
- rdkit_headers/include/rdkit/GraphMol/FMCS/Graph.h +43 -0
- rdkit_headers/include/rdkit/GraphMol/FileParsers/FileParserUtils.h +231 -0
- rdkit_headers/include/rdkit/GraphMol/FileParsers/FileParsers.h +399 -0
- rdkit_headers/include/rdkit/GraphMol/FileParsers/GeneralFileReader.h +170 -0
- rdkit_headers/include/rdkit/GraphMol/FileParsers/MolFileStereochem.h +60 -0
- rdkit_headers/include/rdkit/GraphMol/FileParsers/MolSupplier.h +444 -0
- rdkit_headers/include/rdkit/GraphMol/FileParsers/MolWriters.h +338 -0
- rdkit_headers/include/rdkit/GraphMol/FileParsers/MultithreadedMolSupplier.h +102 -0
- rdkit_headers/include/rdkit/GraphMol/FileParsers/MultithreadedSDMolSupplier.h +65 -0
- rdkit_headers/include/rdkit/GraphMol/FileParsers/MultithreadedSmilesMolSupplier.h +66 -0
- rdkit_headers/include/rdkit/GraphMol/FileParsers/PNGParser.h +203 -0
- rdkit_headers/include/rdkit/GraphMol/FileParsers/SequenceParsers.h +117 -0
- rdkit_headers/include/rdkit/GraphMol/FileParsers/SequenceWriters.h +47 -0
- rdkit_headers/include/rdkit/GraphMol/FilterCatalog/FilterCatalog.h +260 -0
- rdkit_headers/include/rdkit/GraphMol/FilterCatalog/FilterCatalogEntry.h +276 -0
- rdkit_headers/include/rdkit/GraphMol/FilterCatalog/FilterMatcherBase.h +152 -0
- rdkit_headers/include/rdkit/GraphMol/FilterCatalog/FilterMatchers.h +576 -0
- rdkit_headers/include/rdkit/GraphMol/FilterCatalog/FunctionalGroupHierarchy.h +52 -0
- rdkit_headers/include/rdkit/GraphMol/Fingerprints/AtomPairGenerator.h +188 -0
- rdkit_headers/include/rdkit/GraphMol/Fingerprints/AtomPairs.h +268 -0
- rdkit_headers/include/rdkit/GraphMol/Fingerprints/FingerprintGenerator.h +372 -0
- rdkit_headers/include/rdkit/GraphMol/Fingerprints/FingerprintUtil.h +160 -0
- rdkit_headers/include/rdkit/GraphMol/Fingerprints/Fingerprints.h +167 -0
- rdkit_headers/include/rdkit/GraphMol/Fingerprints/MACCS.h +32 -0
- rdkit_headers/include/rdkit/GraphMol/Fingerprints/MHFP.h +285 -0
- rdkit_headers/include/rdkit/GraphMol/Fingerprints/MorganFingerprints.h +210 -0
- rdkit_headers/include/rdkit/GraphMol/Fingerprints/MorganGenerator.h +251 -0
- rdkit_headers/include/rdkit/GraphMol/Fingerprints/RDKitFPGenerator.h +162 -0
- rdkit_headers/include/rdkit/GraphMol/Fingerprints/TopologicalTorsionGenerator.h +127 -0
- rdkit_headers/include/rdkit/GraphMol/ForceFieldHelpers/CrystalFF/TorsionAngleM6.h +72 -0
- rdkit_headers/include/rdkit/GraphMol/ForceFieldHelpers/CrystalFF/TorsionPreferences.h +41 -0
- rdkit_headers/include/rdkit/GraphMol/ForceFieldHelpers/FFConvenience.h +130 -0
- rdkit_headers/include/rdkit/GraphMol/ForceFieldHelpers/MMFF/AtomTyper.h +236 -0
- rdkit_headers/include/rdkit/GraphMol/ForceFieldHelpers/MMFF/Builder.h +141 -0
- rdkit_headers/include/rdkit/GraphMol/ForceFieldHelpers/MMFF/MMFF.h +105 -0
- rdkit_headers/include/rdkit/GraphMol/ForceFieldHelpers/UFF/AtomTyper.h +57 -0
- rdkit_headers/include/rdkit/GraphMol/ForceFieldHelpers/UFF/Builder.h +129 -0
- rdkit_headers/include/rdkit/GraphMol/ForceFieldHelpers/UFF/UFF.h +82 -0
- rdkit_headers/include/rdkit/GraphMol/FragCatalog/FragCatGenerator.h +33 -0
- rdkit_headers/include/rdkit/GraphMol/FragCatalog/FragCatParams.h +94 -0
- rdkit_headers/include/rdkit/GraphMol/FragCatalog/FragCatalogEntry.h +136 -0
- rdkit_headers/include/rdkit/GraphMol/FragCatalog/FragCatalogUtils.h +62 -0
- rdkit_headers/include/rdkit/GraphMol/FragCatalog/FragFPGenerator.h +38 -0
- rdkit_headers/include/rdkit/GraphMol/GenericGroups/GenericGroups.h +301 -0
- rdkit_headers/include/rdkit/GraphMol/GraphMol.h +22 -0
- rdkit_headers/include/rdkit/GraphMol/MMPA/MMPA.h +81 -0
- rdkit_headers/include/rdkit/GraphMol/MolAlign/AlignMolecules.h +183 -0
- rdkit_headers/include/rdkit/GraphMol/MolAlign/O3AAlignMolecules.h +354 -0
- rdkit_headers/include/rdkit/GraphMol/MolBundle.h +121 -0
- rdkit_headers/include/rdkit/GraphMol/MolCatalog/MolCatalog.h +20 -0
- rdkit_headers/include/rdkit/GraphMol/MolCatalog/MolCatalogEntry.h +109 -0
- rdkit_headers/include/rdkit/GraphMol/MolCatalog/MolCatalogParams.h +40 -0
- rdkit_headers/include/rdkit/GraphMol/MolChemicalFeatures/FeatureParser.h +58 -0
- rdkit_headers/include/rdkit/GraphMol/MolChemicalFeatures/MolChemicalFeature.h +98 -0
- rdkit_headers/include/rdkit/GraphMol/MolChemicalFeatures/MolChemicalFeatureDef.h +68 -0
- rdkit_headers/include/rdkit/GraphMol/MolChemicalFeatures/MolChemicalFeatureFactory.h +78 -0
- rdkit_headers/include/rdkit/GraphMol/MolDraw2D/MolDraw2D.h +539 -0
- rdkit_headers/include/rdkit/GraphMol/MolDraw2D/MolDraw2DHelpers.h +284 -0
- rdkit_headers/include/rdkit/GraphMol/MolDraw2D/MolDraw2DJS.h +62 -0
- rdkit_headers/include/rdkit/GraphMol/MolDraw2D/MolDraw2DSVG.h +88 -0
- rdkit_headers/include/rdkit/GraphMol/MolDraw2D/MolDraw2DUtils.h +179 -0
- rdkit_headers/include/rdkit/GraphMol/MolDraw2D/MolDraw2Dwx.h +107 -0
- rdkit_headers/include/rdkit/GraphMol/MolEnumerator/LinkNode.h +159 -0
- rdkit_headers/include/rdkit/GraphMol/MolEnumerator/MolEnumerator.h +276 -0
- rdkit_headers/include/rdkit/GraphMol/MolHash/MolHash.h +12 -0
- rdkit_headers/include/rdkit/GraphMol/MolHash/nmmolhash.h +60 -0
- rdkit_headers/include/rdkit/GraphMol/MolInterchange/MolInterchange.h +93 -0
- rdkit_headers/include/rdkit/GraphMol/MolInterchange/details.h +49 -0
- rdkit_headers/include/rdkit/GraphMol/MolOps.h +1016 -0
- rdkit_headers/include/rdkit/GraphMol/MolPickler.h +314 -0
- rdkit_headers/include/rdkit/GraphMol/MolStandardize/AcidBaseCatalog/AcidBaseCatalogEntry.h +56 -0
- rdkit_headers/include/rdkit/GraphMol/MolStandardize/AcidBaseCatalog/AcidBaseCatalogParams.h +65 -0
- rdkit_headers/include/rdkit/GraphMol/MolStandardize/AcidBaseCatalog/AcidBaseCatalogUtils.h +37 -0
- rdkit_headers/include/rdkit/GraphMol/MolStandardize/Charge.h +145 -0
- rdkit_headers/include/rdkit/GraphMol/MolStandardize/Fragment.h +105 -0
- rdkit_headers/include/rdkit/GraphMol/MolStandardize/FragmentCatalog/FragmentCatalogEntry.h +60 -0
- rdkit_headers/include/rdkit/GraphMol/MolStandardize/FragmentCatalog/FragmentCatalogParams.h +63 -0
- rdkit_headers/include/rdkit/GraphMol/MolStandardize/FragmentCatalog/FragmentCatalogUtils.h +35 -0
- rdkit_headers/include/rdkit/GraphMol/MolStandardize/Metal.h +73 -0
- rdkit_headers/include/rdkit/GraphMol/MolStandardize/MolStandardize.h +178 -0
- rdkit_headers/include/rdkit/GraphMol/MolStandardize/Normalize.h +104 -0
- rdkit_headers/include/rdkit/GraphMol/MolStandardize/Tautomer.h +428 -0
- rdkit_headers/include/rdkit/GraphMol/MolStandardize/TautomerCatalog/TautomerCatalogEntry.h +59 -0
- rdkit_headers/include/rdkit/GraphMol/MolStandardize/TautomerCatalog/TautomerCatalogParams.h +69 -0
- rdkit_headers/include/rdkit/GraphMol/MolStandardize/TautomerCatalog/TautomerCatalogUtils.h +81 -0
- rdkit_headers/include/rdkit/GraphMol/MolStandardize/TransformCatalog/TransformCatalogEntry.h +57 -0
- rdkit_headers/include/rdkit/GraphMol/MolStandardize/TransformCatalog/TransformCatalogParams.h +66 -0
- rdkit_headers/include/rdkit/GraphMol/MolStandardize/TransformCatalog/TransformCatalogUtils.h +37 -0
- rdkit_headers/include/rdkit/GraphMol/MolStandardize/Validate.h +199 -0
- rdkit_headers/include/rdkit/GraphMol/MolTransforms/MolTransforms.h +222 -0
- rdkit_headers/include/rdkit/GraphMol/MonomerInfo.h +138 -0
- rdkit_headers/include/rdkit/GraphMol/PartialCharges/GasteigerCharges.h +27 -0
- rdkit_headers/include/rdkit/GraphMol/PartialCharges/GasteigerParams.h +86 -0
- rdkit_headers/include/rdkit/GraphMol/PeriodicTable.h +325 -0
- rdkit_headers/include/rdkit/GraphMol/QueryAtom.h +161 -0
- rdkit_headers/include/rdkit/GraphMol/QueryBond.h +146 -0
- rdkit_headers/include/rdkit/GraphMol/QueryOps.h +1110 -0
- rdkit_headers/include/rdkit/GraphMol/RDKitBase.h +35 -0
- rdkit_headers/include/rdkit/GraphMol/RDKitQueries.h +25 -0
- rdkit_headers/include/rdkit/GraphMol/RGroupDecomposition/RGroupDecomp.h +225 -0
- rdkit_headers/include/rdkit/GraphMol/ROMol.h +844 -0
- rdkit_headers/include/rdkit/GraphMol/RWMol.h +222 -0
- rdkit_headers/include/rdkit/GraphMol/ReducedGraphs/ReducedGraphs.h +85 -0
- rdkit_headers/include/rdkit/GraphMol/Resonance.h +236 -0
- rdkit_headers/include/rdkit/GraphMol/RingInfo.h +274 -0
- rdkit_headers/include/rdkit/GraphMol/Rings.h +90 -0
- rdkit_headers/include/rdkit/GraphMol/SLNParse/SLNAttribs.h +93 -0
- rdkit_headers/include/rdkit/GraphMol/SLNParse/SLNParse.h +70 -0
- rdkit_headers/include/rdkit/GraphMol/SLNParse/SLNParseOps.h +328 -0
- rdkit_headers/include/rdkit/GraphMol/SanitException.h +120 -0
- rdkit_headers/include/rdkit/GraphMol/ScaffoldNetwork/ScaffoldNetwork.h +195 -0
- rdkit_headers/include/rdkit/GraphMol/ShapeHelpers/ShapeEncoder.h +73 -0
- rdkit_headers/include/rdkit/GraphMol/ShapeHelpers/ShapeUtils.h +279 -0
- rdkit_headers/include/rdkit/GraphMol/SmilesParse/SmartsWrite.h +46 -0
- rdkit_headers/include/rdkit/GraphMol/SmilesParse/SmilesParse.h +160 -0
- rdkit_headers/include/rdkit/GraphMol/SmilesParse/SmilesParseOps.h +53 -0
- rdkit_headers/include/rdkit/GraphMol/SmilesParse/SmilesWrite.h +288 -0
- rdkit_headers/include/rdkit/GraphMol/SmilesParse/primes.h +18 -0
- rdkit_headers/include/rdkit/GraphMol/StereoGroup.h +74 -0
- rdkit_headers/include/rdkit/GraphMol/Subgraphs/SubgraphUtils.h +57 -0
- rdkit_headers/include/rdkit/GraphMol/Subgraphs/Subgraphs.h +154 -0
- rdkit_headers/include/rdkit/GraphMol/SubstanceGroup.h +297 -0
- rdkit_headers/include/rdkit/GraphMol/Substruct/SubstructMatch.h +232 -0
- rdkit_headers/include/rdkit/GraphMol/Substruct/SubstructUtils.h +44 -0
- rdkit_headers/include/rdkit/GraphMol/SubstructLibrary/PatternFactory.h +40 -0
- rdkit_headers/include/rdkit/GraphMol/SubstructLibrary/SubstructLibrary.h +951 -0
- rdkit_headers/include/rdkit/GraphMol/SubstructLibrary/SubstructLibrarySerialization.h +231 -0
- rdkit_headers/include/rdkit/GraphMol/TautomerQuery/TautomerQuery.h +104 -0
- rdkit_headers/include/rdkit/GraphMol/Trajectory/Snapshot.h +69 -0
- rdkit_headers/include/rdkit/GraphMol/Trajectory/Trajectory.h +105 -0
- rdkit_headers/include/rdkit/GraphMol/atomic_data.h +76 -0
- rdkit_headers/include/rdkit/GraphMol/details.h +15 -0
- rdkit_headers/include/rdkit/GraphMol/new_canon.h +772 -0
- rdkit_headers/include/rdkit/Numerics/Alignment/AlignPoints.h +49 -0
- rdkit_headers/include/rdkit/Numerics/Conrec.h +203 -0
- rdkit_headers/include/rdkit/Numerics/EigenSolvers/PowerEigenSolver.h +68 -0
- rdkit_headers/include/rdkit/Numerics/Matrix.h +347 -0
- rdkit_headers/include/rdkit/Numerics/Optimizer/BFGSOpt.h +397 -0
- rdkit_headers/include/rdkit/Numerics/SquareMatrix.h +89 -0
- rdkit_headers/include/rdkit/Numerics/SymmMatrix.h +361 -0
- rdkit_headers/include/rdkit/Numerics/Vector.h +327 -0
- rdkit_headers/include/rdkit/Query/AndQuery.h +57 -0
- rdkit_headers/include/rdkit/Query/EqualityQuery.h +88 -0
- rdkit_headers/include/rdkit/Query/GreaterEqualQuery.h +74 -0
- rdkit_headers/include/rdkit/Query/GreaterQuery.h +74 -0
- rdkit_headers/include/rdkit/Query/LessEqualQuery.h +75 -0
- rdkit_headers/include/rdkit/Query/LessQuery.h +74 -0
- rdkit_headers/include/rdkit/Query/NullQueryAlgebra.h +86 -0
- rdkit_headers/include/rdkit/Query/OrQuery.h +58 -0
- rdkit_headers/include/rdkit/Query/Query.h +210 -0
- rdkit_headers/include/rdkit/Query/QueryObjects.h +38 -0
- rdkit_headers/include/rdkit/Query/RangeQuery.h +116 -0
- rdkit_headers/include/rdkit/Query/SetQuery.h +87 -0
- rdkit_headers/include/rdkit/Query/XOrQuery.h +63 -0
- rdkit_headers/include/rdkit/RDGeneral/BadFileException.h +39 -0
- rdkit_headers/include/rdkit/RDGeneral/BoostEndInclude.h +69 -0
- rdkit_headers/include/rdkit/RDGeneral/BoostStartInclude.h +95 -0
- rdkit_headers/include/rdkit/RDGeneral/ConcurrentQueue.h +132 -0
- rdkit_headers/include/rdkit/RDGeneral/Dict.h +350 -0
- rdkit_headers/include/rdkit/RDGeneral/Exceptions.h +73 -0
- rdkit_headers/include/rdkit/RDGeneral/FileParseException.h +36 -0
- rdkit_headers/include/rdkit/RDGeneral/Invariant.h +198 -0
- rdkit_headers/include/rdkit/RDGeneral/LocaleSwitcher.h +54 -0
- rdkit_headers/include/rdkit/RDGeneral/RDAny.h +217 -0
- rdkit_headers/include/rdkit/RDGeneral/RDConfig.h +49 -0
- rdkit_headers/include/rdkit/RDGeneral/RDExportMacros.h +40 -0
- rdkit_headers/include/rdkit/RDGeneral/RDLog.h +142 -0
- rdkit_headers/include/rdkit/RDGeneral/RDProps.h +172 -0
- rdkit_headers/include/rdkit/RDGeneral/RDThreads.h +44 -0
- rdkit_headers/include/rdkit/RDGeneral/RDValue-doublemagic.h +478 -0
- rdkit_headers/include/rdkit/RDGeneral/RDValue-taggedunion.h +518 -0
- rdkit_headers/include/rdkit/RDGeneral/RDValue.h +285 -0
- rdkit_headers/include/rdkit/RDGeneral/Ranking.h +87 -0
- rdkit_headers/include/rdkit/RDGeneral/StreamOps.h +637 -0
- rdkit_headers/include/rdkit/RDGeneral/export.h +559 -0
- rdkit_headers/include/rdkit/RDGeneral/hanoiSort.h +167 -0
- rdkit_headers/include/rdkit/RDGeneral/hash/detail/float_functions.hpp +156 -0
- rdkit_headers/include/rdkit/RDGeneral/hash/detail/hash_float.hpp +179 -0
- rdkit_headers/include/rdkit/RDGeneral/hash/extensions.hpp +152 -0
- rdkit_headers/include/rdkit/RDGeneral/hash/hash.hpp +463 -0
- rdkit_headers/include/rdkit/RDGeneral/hash/hash_fwd.hpp +51 -0
- rdkit_headers/include/rdkit/RDGeneral/test.h +274 -0
- rdkit_headers/include/rdkit/RDGeneral/types.h +401 -0
- rdkit_headers/include/rdkit/RDGeneral/utils.h +106 -0
- rdkit_headers/include/rdkit/RDGeneral/versions.h +27 -0
- rdkit_headers/include/rdkit/RDStreams/streams.h +19 -0
- rdkit_headers/include/rdkit/RingDecomposerLib.h +751 -0
- rdkit_headers/include/rdkit/SimDivPickers/DistPicker.h +92 -0
- rdkit_headers/include/rdkit/SimDivPickers/HierarchicalClusterPicker.h +107 -0
- rdkit_headers/include/rdkit/SimDivPickers/LeaderPicker.h +470 -0
- rdkit_headers/include/rdkit/SimDivPickers/MaxMinPicker.h +303 -0
- rdkit_headers-2022.3.3.dist-info/METADATA +24 -0
- rdkit_headers-2022.3.3.dist-info/RECORD +320 -0
- rdkit_headers-2022.3.3.dist-info/WHEEL +4 -0
- rdkit_headers-2022.3.3.dist-info/entry_points.txt +4 -0
- rdkit_headers-2022.3.3.dist-info/licenses/LICENSE +29 -0
- rdkit_headers-2022.3.3.dist-info/licenses/NOTICE +5 -0
|
@@ -0,0 +1,188 @@
|
|
|
1
|
+
//
|
|
2
|
+
// Copyright (C) 2018 Boran Adas, Google Summer of Code
|
|
3
|
+
//
|
|
4
|
+
// @@ All Rights Reserved @@
|
|
5
|
+
// This file is part of the RDKit.
|
|
6
|
+
// The contents are covered by the terms of the BSD license
|
|
7
|
+
// which is included in the file license.txt, found at the root
|
|
8
|
+
// of the RDKit source tree.
|
|
9
|
+
//
|
|
10
|
+
|
|
11
|
+
#include <RDGeneral/export.h>
|
|
12
|
+
#ifndef RD_ATOMPAIRGEN_H_2018_06
|
|
13
|
+
#define RD_ATOMPAIRGEN_H_2018_06
|
|
14
|
+
|
|
15
|
+
#include <GraphMol/Fingerprints/FingerprintGenerator.h>
|
|
16
|
+
#include <GraphMol/Fingerprints/FingerprintUtil.h>
|
|
17
|
+
|
|
18
|
+
namespace RDKit {
|
|
19
|
+
namespace AtomPair {
|
|
20
|
+
using namespace AtomPairs;
|
|
21
|
+
|
|
22
|
+
class RDKIT_FINGERPRINTS_EXPORT AtomPairAtomInvGenerator
|
|
23
|
+
: public AtomInvariantsGenerator {
|
|
24
|
+
const bool df_includeChirality;
|
|
25
|
+
const bool df_topologicalTorsionCorrection;
|
|
26
|
+
|
|
27
|
+
public:
|
|
28
|
+
/**
|
|
29
|
+
\brief Construct a new AtomPairAtomInvGenerator object
|
|
30
|
+
|
|
31
|
+
\param includeChirality toggles the inclusions of bits indicating R/S
|
|
32
|
+
chirality
|
|
33
|
+
\param topologicalTorsionCorrection when set subtracts 2 from invariants
|
|
34
|
+
returned, added so TopologicalTorsionGenerator can use this
|
|
35
|
+
*/
|
|
36
|
+
AtomPairAtomInvGenerator(bool includeChirality = false,
|
|
37
|
+
bool topologicalTorsionCorrection = false);
|
|
38
|
+
|
|
39
|
+
std::vector<std::uint32_t> *getAtomInvariants(
|
|
40
|
+
const ROMol &mol) const override;
|
|
41
|
+
|
|
42
|
+
std::string infoString() const override;
|
|
43
|
+
AtomPairAtomInvGenerator *clone() const override;
|
|
44
|
+
};
|
|
45
|
+
|
|
46
|
+
/*!
|
|
47
|
+
\brief class that holds atom-pair fingerprint specific arguments
|
|
48
|
+
|
|
49
|
+
*/
|
|
50
|
+
template <typename OutputType>
|
|
51
|
+
class RDKIT_FINGERPRINTS_EXPORT AtomPairArguments
|
|
52
|
+
: public FingerprintArguments<OutputType> {
|
|
53
|
+
public:
|
|
54
|
+
const bool df_includeChirality;
|
|
55
|
+
const bool df_use2D;
|
|
56
|
+
const unsigned int d_minDistance;
|
|
57
|
+
const unsigned int d_maxDistance;
|
|
58
|
+
|
|
59
|
+
OutputType getResultSize() const override;
|
|
60
|
+
|
|
61
|
+
std::string infoString() const override;
|
|
62
|
+
|
|
63
|
+
/*!
|
|
64
|
+
\brief construct a new AtomPairArguments object
|
|
65
|
+
|
|
66
|
+
\param countSimulation if set, use count simulation while generating the
|
|
67
|
+
fingerprint
|
|
68
|
+
\param includeChirality if set, chirality will be used in the atom
|
|
69
|
+
invariants, this is ignored if atomInvariantsGenerator is present for
|
|
70
|
+
the /c FingerprintGenerator that uses this
|
|
71
|
+
\param use2D if set, the 2D (topological) distance matrix will be
|
|
72
|
+
used
|
|
73
|
+
\param minDistance minimum distance between atoms to be considered in a
|
|
74
|
+
pair, default is 1 bond
|
|
75
|
+
\param maxDistance maximum distance between atoms to be considered in a
|
|
76
|
+
pair, default is maxPathLen-1 bonds
|
|
77
|
+
\param countBounds boundaries for count simulation, corresponding bit
|
|
78
|
+
will be set if the count is higher than the number provided for that spot
|
|
79
|
+
\param fpSize size of the generated fingerprint, does not affect the sparse
|
|
80
|
+
versions
|
|
81
|
+
|
|
82
|
+
*/
|
|
83
|
+
AtomPairArguments(const bool countSimulation = true,
|
|
84
|
+
const bool includeChirality = false,
|
|
85
|
+
const bool use2D = true, const unsigned int minDistance = 1,
|
|
86
|
+
const unsigned int maxDistance = (maxPathLen - 1),
|
|
87
|
+
const std::vector<std::uint32_t> countBounds = {1, 2, 4, 8},
|
|
88
|
+
const std::uint32_t fpSize = 2048);
|
|
89
|
+
};
|
|
90
|
+
|
|
91
|
+
/*!
|
|
92
|
+
\brief class that holds atom-environment data needed for atom-pair fingerprint
|
|
93
|
+
generation
|
|
94
|
+
|
|
95
|
+
*/
|
|
96
|
+
template <typename OutputType>
|
|
97
|
+
class RDKIT_FINGERPRINTS_EXPORT AtomPairAtomEnv
|
|
98
|
+
: public AtomEnvironment<OutputType> {
|
|
99
|
+
const unsigned int d_atomIdFirst;
|
|
100
|
+
const unsigned int d_atomIdSecond;
|
|
101
|
+
const unsigned int d_distance;
|
|
102
|
+
|
|
103
|
+
public:
|
|
104
|
+
OutputType getBitId(FingerprintArguments<OutputType> *arguments,
|
|
105
|
+
const std::vector<std::uint32_t> *atomInvariants,
|
|
106
|
+
const std::vector<std::uint32_t> *bondInvariants,
|
|
107
|
+
const AdditionalOutput *additionalOutput,
|
|
108
|
+
const bool hashResults = false,
|
|
109
|
+
const std::uint64_t fpSize = 0) const override;
|
|
110
|
+
|
|
111
|
+
/*!
|
|
112
|
+
\brief construct a new AtomPairAtomEnv object
|
|
113
|
+
|
|
114
|
+
\param atomIdFirst id of the first atom of the atom-pair
|
|
115
|
+
\param atomIdSecond id of the second atom of the atom-pair
|
|
116
|
+
\param distance distance between the atoms
|
|
117
|
+
*/
|
|
118
|
+
AtomPairAtomEnv(const unsigned int atomIdFirst,
|
|
119
|
+
const unsigned int atomIdSecond, const unsigned int distance);
|
|
120
|
+
};
|
|
121
|
+
|
|
122
|
+
/*!
|
|
123
|
+
\brief class that generates atom-environments for atom-pair fingerprint
|
|
124
|
+
|
|
125
|
+
*/
|
|
126
|
+
template <typename OutputType>
|
|
127
|
+
class RDKIT_FINGERPRINTS_EXPORT AtomPairEnvGenerator
|
|
128
|
+
: public AtomEnvironmentGenerator<OutputType> {
|
|
129
|
+
public:
|
|
130
|
+
std::vector<AtomEnvironment<OutputType> *> getEnvironments(
|
|
131
|
+
const ROMol &mol, FingerprintArguments<OutputType> *arguments,
|
|
132
|
+
const std::vector<std::uint32_t> *fromAtoms,
|
|
133
|
+
const std::vector<std::uint32_t> *ignoreAtoms, const int confId,
|
|
134
|
+
const AdditionalOutput *additionalOutput,
|
|
135
|
+
const std::vector<std::uint32_t> *atomInvariants,
|
|
136
|
+
const std::vector<std::uint32_t> *bondInvariants,
|
|
137
|
+
const bool hashResults = false) const override;
|
|
138
|
+
|
|
139
|
+
std::string infoString() const override;
|
|
140
|
+
};
|
|
141
|
+
|
|
142
|
+
/*!
|
|
143
|
+
\brief helper function that generates a /c FingerprintGenerator that generates
|
|
144
|
+
atom-pair fingerprints
|
|
145
|
+
\tparam OutputType determines the size of the bitIds and the result, can be 32
|
|
146
|
+
or 64 bit unsigned integer
|
|
147
|
+
\param minDistance minimum distance between atoms to be considered in a pair,
|
|
148
|
+
default is 1 bond
|
|
149
|
+
\param maxDistance maximum distance between atoms to be considered in a pair,
|
|
150
|
+
default is maxPathLen-1 bonds
|
|
151
|
+
\param includeChirality if set, chirality will be used in the atom invariants,
|
|
152
|
+
this is ignored if atomInvariantsGenerator is provided
|
|
153
|
+
\param use2D if set, the 2D (topological) distance matrix will be used
|
|
154
|
+
\param atomInvariantsGenerator atom invariants to be used during fingerprint
|
|
155
|
+
generation
|
|
156
|
+
\param useCountSimulation if set, use count simulation while generating the
|
|
157
|
+
fingerprint
|
|
158
|
+
\param countBounds boundaries for count simulation, corresponding bit will be
|
|
159
|
+
set if the count is higher than the number provided for that spot
|
|
160
|
+
\param fpSize size of the generated fingerprint, does not affect the sparse
|
|
161
|
+
versions
|
|
162
|
+
\param ownsAtomInvGen if set atom invariants generator is destroyed with the
|
|
163
|
+
fingerprint generator
|
|
164
|
+
|
|
165
|
+
\return FingerprintGenerator<OutputType>* that generates atom-pair
|
|
166
|
+
fingerprints
|
|
167
|
+
|
|
168
|
+
This generator supports the following \c AdditionalOutput types:
|
|
169
|
+
- \c atomToBits : which bits each atom is involved in
|
|
170
|
+
- \c atomCounts : how many bits each atom sets
|
|
171
|
+
- \c bitInfoMap : map from bitId to (atomId1, atomId2) pairs
|
|
172
|
+
|
|
173
|
+
*/
|
|
174
|
+
template <typename OutputType>
|
|
175
|
+
RDKIT_FINGERPRINTS_EXPORT FingerprintGenerator<OutputType>
|
|
176
|
+
*getAtomPairGenerator(
|
|
177
|
+
const unsigned int minDistance = 1,
|
|
178
|
+
const unsigned int maxDistance = maxPathLen - 1,
|
|
179
|
+
const bool includeChirality = false, const bool use2D = true,
|
|
180
|
+
AtomInvariantsGenerator *atomInvariantsGenerator = nullptr,
|
|
181
|
+
const bool useCountSimulation = true, const std::uint32_t fpSize = 2048,
|
|
182
|
+
const std::vector<std::uint32_t> countBounds = {1, 2, 4, 8},
|
|
183
|
+
const bool ownsAtomInvGen = false);
|
|
184
|
+
|
|
185
|
+
} // namespace AtomPair
|
|
186
|
+
} // namespace RDKit
|
|
187
|
+
|
|
188
|
+
#endif
|
|
@@ -0,0 +1,268 @@
|
|
|
1
|
+
//
|
|
2
|
+
// Copyright (C) 2007-2013 Greg Landrum
|
|
3
|
+
//
|
|
4
|
+
// @@ All Rights Reserved @@
|
|
5
|
+
// This file is part of the RDKit.
|
|
6
|
+
// The contents are covered by the terms of the BSD license
|
|
7
|
+
// which is included in the file license.txt, found at the root
|
|
8
|
+
// of the RDKit source tree.
|
|
9
|
+
//
|
|
10
|
+
|
|
11
|
+
/*! \file AtomPairs.h
|
|
12
|
+
|
|
13
|
+
|
|
14
|
+
A few quick notes about fingerprint size and the way chirality is handled in
|
|
15
|
+
these functions.
|
|
16
|
+
|
|
17
|
+
By default the atom-pair and topologic-torsion fingerprints do not include any
|
|
18
|
+
information about
|
|
19
|
+
chirality; the atom invariants only include information about the atomic
|
|
20
|
+
number,
|
|
21
|
+
number of pi electrons, and degree.
|
|
22
|
+
When chirality is included, two additional bits are added to the atom
|
|
23
|
+
invariants to flag R/S/no
|
|
24
|
+
chirality. These additional bits change the size of the atom invariants and
|
|
25
|
+
either the size
|
|
26
|
+
of the final fingerprint (atom pairs) or the maximum allowed path length
|
|
27
|
+
(torsions). This means
|
|
28
|
+
that even fingerprints for achiral molecules are different when
|
|
29
|
+
includeChirality is true.
|
|
30
|
+
|
|
31
|
+
*/
|
|
32
|
+
#include <RDGeneral/export.h>
|
|
33
|
+
#ifndef __RD_ATOMPAIRS_H__
|
|
34
|
+
#define __RD_ATOMPAIRS_H__
|
|
35
|
+
|
|
36
|
+
#include <DataStructs/SparseIntVect.h>
|
|
37
|
+
#include <DataStructs/BitVects.h>
|
|
38
|
+
#include <cstdint>
|
|
39
|
+
#include <GraphMol/Fingerprints/FingerprintUtil.h>
|
|
40
|
+
namespace RDKit {
|
|
41
|
+
class Atom;
|
|
42
|
+
|
|
43
|
+
namespace AtomPairs {
|
|
44
|
+
const std::string atomPairsVersion = "1.1.0";
|
|
45
|
+
|
|
46
|
+
//! returns the atom-pair fingerprint for a molecule
|
|
47
|
+
/*!
|
|
48
|
+
The algorithm used is described here:
|
|
49
|
+
R.E. Carhart, D.H. Smith, R. Venkataraghavan; "Atom Pairs as
|
|
50
|
+
Molecular Features in Structure-Activity Studies: Definition
|
|
51
|
+
and Applications" JCICS 25, 64-73 (1985).
|
|
52
|
+
|
|
53
|
+
|
|
54
|
+
\param mol: the molecule to be fingerprinted
|
|
55
|
+
\param minLength: minimum distance between atoms to be
|
|
56
|
+
considered in a pair. Default is 1 bond.
|
|
57
|
+
\param maxLength: maximum distance between atoms to be
|
|
58
|
+
considered in a pair.
|
|
59
|
+
Default is maxPathLen-1 bonds.
|
|
60
|
+
\param fromAtoms: if provided, only atom pairs that involve
|
|
61
|
+
the specified atoms will be included in the
|
|
62
|
+
fingerprint
|
|
63
|
+
\param ignoreAtoms: if provided, any atom pairs that include
|
|
64
|
+
the specified atoms will not be included in the
|
|
65
|
+
fingerprint
|
|
66
|
+
\param atomInvariants: a list of invariants to use for the atom hashes
|
|
67
|
+
note: only the first \c codeSize bits of each
|
|
68
|
+
invariant are used.
|
|
69
|
+
\param includeChirality: if set, chirality will be used in the atom invariants
|
|
70
|
+
(note: this is ignored if atomInvariants are
|
|
71
|
+
provided)
|
|
72
|
+
\param use2D: if set, the 2D (topological) distance matrix is used.
|
|
73
|
+
\param confId: the conformation to use if 3D distances are being used
|
|
74
|
+
|
|
75
|
+
|
|
76
|
+
\return a pointer to the fingerprint. The client is
|
|
77
|
+
responsible for calling delete on this.
|
|
78
|
+
|
|
79
|
+
*/
|
|
80
|
+
RDKIT_FINGERPRINTS_EXPORT SparseIntVect<std::int32_t> *getAtomPairFingerprint(
|
|
81
|
+
const ROMol &mol, unsigned int minLength, unsigned int maxLength,
|
|
82
|
+
const std::vector<std::uint32_t> *fromAtoms = nullptr,
|
|
83
|
+
const std::vector<std::uint32_t> *ignoreAtoms = nullptr,
|
|
84
|
+
const std::vector<std::uint32_t> *atomInvariants = nullptr,
|
|
85
|
+
bool includeChirality = false, bool use2D = true, int confId = -1);
|
|
86
|
+
//! \overload
|
|
87
|
+
RDKIT_FINGERPRINTS_EXPORT SparseIntVect<std::int32_t> *getAtomPairFingerprint(
|
|
88
|
+
const ROMol &mol, const std::vector<std::uint32_t> *fromAtoms = nullptr,
|
|
89
|
+
const std::vector<std::uint32_t> *ignoreAtoms = nullptr,
|
|
90
|
+
const std::vector<std::uint32_t> *atomInvariants = nullptr,
|
|
91
|
+
bool includeChirality = false, bool use2D = true, int confId = -1);
|
|
92
|
+
|
|
93
|
+
//! returns the hashed atom-pair fingerprint for a molecule
|
|
94
|
+
/*!
|
|
95
|
+
\param mol: the molecule to be fingerprinted
|
|
96
|
+
\param nBits: the length of the fingerprint to generate
|
|
97
|
+
\param minLength: minimum distance between atoms to be
|
|
98
|
+
considered in a pair. Default is 1 bond.
|
|
99
|
+
\param maxLength: maximum distance between atoms to be
|
|
100
|
+
considered in a pair.
|
|
101
|
+
Default is maxPathLen-1 bonds.
|
|
102
|
+
\param fromAtoms: if provided, only atom pairs that involve
|
|
103
|
+
the specified atoms will be included in the
|
|
104
|
+
fingerprint
|
|
105
|
+
\param ignoreAtoms: if provided, any atom pairs that include
|
|
106
|
+
the specified atoms will not be included in the
|
|
107
|
+
fingerprint
|
|
108
|
+
\param atomInvariants: a list of invariants to use for the atom hashes
|
|
109
|
+
note: only the first \c codeSize bits of each
|
|
110
|
+
invariant are used.
|
|
111
|
+
\param includeChirality: if set, chirality will be used in the atom invariants
|
|
112
|
+
(note: this is ignored if atomInvariants are
|
|
113
|
+
provided)
|
|
114
|
+
\param use2D: if set, the 2D (topological) distance matrix is used.
|
|
115
|
+
|
|
116
|
+
\return a pointer to the fingerprint. The client is
|
|
117
|
+
responsible for calling delete on this.
|
|
118
|
+
|
|
119
|
+
*/
|
|
120
|
+
RDKIT_FINGERPRINTS_EXPORT SparseIntVect<std::int32_t>
|
|
121
|
+
*getHashedAtomPairFingerprint(
|
|
122
|
+
const ROMol &mol, unsigned int nBits = 2048, unsigned int minLength = 1,
|
|
123
|
+
unsigned int maxLength = maxPathLen - 1,
|
|
124
|
+
const std::vector<std::uint32_t> *fromAtoms = nullptr,
|
|
125
|
+
const std::vector<std::uint32_t> *ignoreAtoms = nullptr,
|
|
126
|
+
const std::vector<std::uint32_t> *atomInvariants = nullptr,
|
|
127
|
+
bool includeChirality = false, bool use2D = true, int confId = -1);
|
|
128
|
+
//! returns the hashed atom-pair fingerprint for a molecule as a bit vector
|
|
129
|
+
/*!
|
|
130
|
+
\param mol: the molecule to be fingerprinted
|
|
131
|
+
\param nBits: the length of the fingerprint to generate
|
|
132
|
+
\param minLength: minimum distance between atoms to be
|
|
133
|
+
considered in a pair. Default is 1 bond.
|
|
134
|
+
\param maxLength: maximum distance between atoms to be
|
|
135
|
+
considered in a pair.
|
|
136
|
+
Default is maxPathLen-1 bonds.
|
|
137
|
+
\param fromAtoms: if provided, only atom pairs that involve
|
|
138
|
+
the specified atoms will be included in the
|
|
139
|
+
fingerprint
|
|
140
|
+
\param ignoreAtoms: if provided, any atom pairs that include
|
|
141
|
+
the specified atoms will not be included in the
|
|
142
|
+
fingerprint
|
|
143
|
+
\param atomInvariants: a list of invariants to use for the atom hashes
|
|
144
|
+
note: only the first \c codeSize bits of each
|
|
145
|
+
invariant are used.
|
|
146
|
+
\param nBitsPerEntry: number of bits to use in simulating counts
|
|
147
|
+
\param includeChirality: if set, chirality will be used in the atom invariants
|
|
148
|
+
(note: this is ignored if atomInvariants are
|
|
149
|
+
provided)
|
|
150
|
+
\param use2D: if set, the 2D (topological) distance matrix is used.
|
|
151
|
+
\param confId: the conformation to use if 3D distances are being used
|
|
152
|
+
|
|
153
|
+
\return a pointer to the fingerprint. The client is
|
|
154
|
+
responsible for calling delete on this.
|
|
155
|
+
|
|
156
|
+
*/
|
|
157
|
+
RDKIT_FINGERPRINTS_EXPORT ExplicitBitVect *
|
|
158
|
+
getHashedAtomPairFingerprintAsBitVect(
|
|
159
|
+
const ROMol &mol, unsigned int nBits = 2048, unsigned int minLength = 1,
|
|
160
|
+
unsigned int maxLength = maxPathLen - 1,
|
|
161
|
+
const std::vector<std::uint32_t> *fromAtoms = nullptr,
|
|
162
|
+
const std::vector<std::uint32_t> *ignoreAtoms = nullptr,
|
|
163
|
+
const std::vector<std::uint32_t> *atomInvariants = nullptr,
|
|
164
|
+
unsigned int nBitsPerEntry = 4, bool includeChirality = false,
|
|
165
|
+
bool use2D = true, int confId = -1);
|
|
166
|
+
|
|
167
|
+
//! returns the topological-torsion fingerprint for a molecule
|
|
168
|
+
/*!
|
|
169
|
+
The algorithm used is described here:
|
|
170
|
+
R. Nilakantan, N. Bauman, J. S. Dixon, R. Venkataraghavan;
|
|
171
|
+
"Topological Torsion: A New Molecular Descriptor for SAR Applications.
|
|
172
|
+
Comparison with Other Descriptors" JCICS 27, 82-85 (1987).
|
|
173
|
+
|
|
174
|
+
\param mol: the molecule to be fingerprinted
|
|
175
|
+
\param targetSize: the number of atoms to include in the "torsions"
|
|
176
|
+
\param fromAtoms: if provided, only torsions that start or end at
|
|
177
|
+
the specified atoms will be included in the
|
|
178
|
+
fingerprint
|
|
179
|
+
\param ignoreAtoms: if provided, any torsions that include
|
|
180
|
+
the specified atoms will not be included in the
|
|
181
|
+
fingerprint
|
|
182
|
+
\param atomInvariants: a list of invariants to use for the atom hashes
|
|
183
|
+
note: only the first \c codeSize bits of each
|
|
184
|
+
invariant are used.
|
|
185
|
+
\param includeChirality: if set, chirality will be used in the atom invariants
|
|
186
|
+
(note: this is ignored if atomInvariants are
|
|
187
|
+
provided)
|
|
188
|
+
|
|
189
|
+
\return a pointer to the fingerprint. The client is
|
|
190
|
+
responsible for calling delete on this.
|
|
191
|
+
|
|
192
|
+
*/
|
|
193
|
+
RDKIT_FINGERPRINTS_EXPORT SparseIntVect<boost::int64_t>
|
|
194
|
+
*getTopologicalTorsionFingerprint(
|
|
195
|
+
const ROMol &mol, unsigned int targetSize = 4,
|
|
196
|
+
const std::vector<std::uint32_t> *fromAtoms = nullptr,
|
|
197
|
+
const std::vector<std::uint32_t> *ignoreAtoms = nullptr,
|
|
198
|
+
const std::vector<std::uint32_t> *atomInvariants = nullptr,
|
|
199
|
+
bool includeChirality = false);
|
|
200
|
+
//! returns a hashed topological-torsion fingerprint for a molecule
|
|
201
|
+
/*!
|
|
202
|
+
The algorithm used is described here:
|
|
203
|
+
R. Nilakantan, N. Bauman, J. S. Dixon, R. Venkataraghavan;
|
|
204
|
+
"Topological Torsion: A New Molecular Descriptor for SAR Applications.
|
|
205
|
+
Comparison with Other Descriptors" JCICS 27, 82-85 (1987).
|
|
206
|
+
|
|
207
|
+
\param mol: the molecule to be fingerprinted
|
|
208
|
+
\param nBits: number of bits to include in the fingerprint
|
|
209
|
+
\param targetSize: the number of atoms to include in the "torsions"
|
|
210
|
+
\param fromAtoms: if provided, only torsions that start or end at
|
|
211
|
+
the specified atoms will be included in the
|
|
212
|
+
fingerprint
|
|
213
|
+
\param ignoreAtoms: if provided, any torsions that include
|
|
214
|
+
the specified atoms will not be included in the
|
|
215
|
+
fingerprint
|
|
216
|
+
\param atomInvariants: a list of invariants to use for the atom hashes
|
|
217
|
+
note: only the first \c codeSize bits of each
|
|
218
|
+
invariant are used.
|
|
219
|
+
\param includeChirality: if set, chirality will be used in the atom invariants
|
|
220
|
+
(note: this is ignored if atomInvariants are
|
|
221
|
+
provided)
|
|
222
|
+
|
|
223
|
+
\return a pointer to the fingerprint. The client is
|
|
224
|
+
responsible for calling delete on this.
|
|
225
|
+
|
|
226
|
+
*/
|
|
227
|
+
RDKIT_FINGERPRINTS_EXPORT SparseIntVect<boost::int64_t> *
|
|
228
|
+
getHashedTopologicalTorsionFingerprint(
|
|
229
|
+
const ROMol &mol, unsigned int nBits = 2048, unsigned int targetSize = 4,
|
|
230
|
+
const std::vector<std::uint32_t> *fromAtoms = nullptr,
|
|
231
|
+
const std::vector<std::uint32_t> *ignoreAtoms = nullptr,
|
|
232
|
+
const std::vector<std::uint32_t> *atomInvariants = nullptr,
|
|
233
|
+
bool includeChirality = false);
|
|
234
|
+
//! returns a hashed topological-torsion fingerprint for a molecule as a bit
|
|
235
|
+
/// vector
|
|
236
|
+
/*!
|
|
237
|
+
\param mol: the molecule to be fingerprinted
|
|
238
|
+
\param nBits: number of bits to include in the fingerprint
|
|
239
|
+
\param targetSize: the number of atoms to include in the "torsions"
|
|
240
|
+
\param fromAtoms: if provided, only torsions that start or end at
|
|
241
|
+
the specified atoms will be included in the
|
|
242
|
+
fingerprint
|
|
243
|
+
\param ignoreAtoms: if provided, any torsions that include
|
|
244
|
+
the specified atoms will not be included in the
|
|
245
|
+
fingerprint
|
|
246
|
+
\param atomInvariants: a list of invariants to use for the atom hashes
|
|
247
|
+
note: only the first \c codeSize bits of each
|
|
248
|
+
invariant are used.
|
|
249
|
+
\param nBitsPerEntry: number of bits to use in simulating counts
|
|
250
|
+
\param includeChirality: if set, chirality will be used in the atom invariants
|
|
251
|
+
(note: this is ignored if atomInvariants are
|
|
252
|
+
provided)
|
|
253
|
+
|
|
254
|
+
\return a pointer to the fingerprint. The client is
|
|
255
|
+
responsible for calling delete on this.
|
|
256
|
+
|
|
257
|
+
*/
|
|
258
|
+
RDKIT_FINGERPRINTS_EXPORT ExplicitBitVect *
|
|
259
|
+
getHashedTopologicalTorsionFingerprintAsBitVect(
|
|
260
|
+
const ROMol &mol, unsigned int nBits = 2048, unsigned int targetSize = 4,
|
|
261
|
+
const std::vector<std::uint32_t> *fromAtoms = nullptr,
|
|
262
|
+
const std::vector<std::uint32_t> *ignoreAtoms = nullptr,
|
|
263
|
+
const std::vector<std::uint32_t> *atomInvariants = nullptr,
|
|
264
|
+
unsigned int nBitsPerEntry = 4, bool includeChirality = false);
|
|
265
|
+
} // namespace AtomPairs
|
|
266
|
+
} // namespace RDKit
|
|
267
|
+
|
|
268
|
+
#endif
|