Wolfram Language Paclet Repository

Community-contributed installable additions to the Wolfram Language

Primary Navigation

    • Cloud & Deployment
    • Core Language & Structure
    • Data Manipulation & Analysis
    • Engineering Data & Computation
    • External Interfaces & Connections
    • Financial Data & Computation
    • Geographic Data & Computation
    • Geometry
    • Graphs & Networks
    • Higher Mathematical Computation
    • Images
    • Knowledge Representation & Natural Language
    • Machine Learning
    • Notebook Documents & Presentation
    • Scientific and Medical Data & Computation
    • Social, Cultural & Linguistic Data
    • Strings & Text
    • Symbolic & Numeric Computation
    • System Operation & Setup
    • Time-Related Computation
    • User Interface Construction
    • Visualization & Graphics
    • Random Paclet
    • Alphabetical List
  • Using Paclets
    • Get Started
    • Download Definition Notebook
  • Learn More about Wolfram Language

MoleculeFingerprints

Guides

  • Molecule Fingerprints

Tech Notes

  • Substructure Screening

Symbols

  • AtomPairFingerprint
  • ExtendedConnectivityFingerprint
  • LayeredFingerprint
  • MACCSKeysFingerprint
  • MoleculeDistanceMatrix
  • MoleculeDistance
  • MoleculeNearest
  • PatternFingerprint
  • SubstructureKeyFingerprint
  • TopologicalFingerprint
  • $DefaultFingerprintFormat
  • $DefaultFingerprintType
WolframChemistry`MoleculeFingerprints`
MACCSKeysFingerprint
​
MACCSKeysFingerprint
[mol,"format"]
returns a fingerprint for
mol
based on the MACCS substructure keys with the given output format.
​
​
MACCSKeysFingerprint
["format"]
returns a function that can be applied to molecules.
​
Details and Options

Examples  
(1)
Basic Examples  
(1)
Find the MACCS keys fingerprint for a molecule:
In[1]:=
MACCSKeysFingerprint
[Molecule["CCNc1c(C)cc(c2c1nccc2)Cc1cnc(nc1N)N"]]
Out[1]=
NumericArray
Type: Integer8
Dimensions: {167}

Find the number of nonzero elements in the fingerprint:
In[2]:=
Total[%]
Out[2]=
39
List the nonzero elements:
In[3]:=
PositionIndex[Normal[%%]][1]
Out[3]=
{26,39,54,66,78,80,81,83,85,91,99,101,102,106,107,109,115,121,122,126,132,134,136,138,143,145,146,150,151,152,154,156,157,159,161,162,163,164,166}
Get the fingerprint as a sparse array:
In[4]:=
MACCSKeysFingerprint
[Molecule["CCNc1c(C)cc(c2c1nccc2)Cc1cnc(nc1N)N"],"SparseArray"]
Out[4]=
SparseArray
Specified elements: 39
Dimensions: {167}

SeeAlso
Molecule
 
▪
FeatureExtract
 
▪
TopologicalFingerprint
 
▪
MoleculeDistance
 
▪
AtomPairFingerprint
TechNotes
▪
Substructure Screening
RelatedGuides
▪
Molecule Fingerprints
▪
Molecular Structure & Computation
""

© 2025 Wolfram. All rights reserved.

  • Legal & Privacy Policy
  • Contact Us
  • WolframAlpha.com
  • WolframCloud.com