MoleculeMatchQ
MoleculeMatchQ[mol,patt]
MoleculeMatchQ[patt]
represents an operator form of MoleculeMatchQ that can be applied to a molecule.
Details and Options
- Possible forms for patt include:
-
Molecule[…] a molecule MoleculePattern[…] a molecule pattern ChemicalFormula[…] a chemical formula - A molecule mol is considered to match a MoleculePattern if every non-hydrogen atom in mol has a matching atom in the pattern.
- MoleculeMatchQ takes the following options:
-
IgnoreIsotopes False whether to match all specified mass numbers IgnoreStereochemistry False whether to match the stereo
Examples
open allclose allBasic Examples (3)
Options (2)
IgnoreIsotopes (1)
By default, isotopologues do not match:
Use IgnoreIsotopesTrue to get a positive match:
IgnoreStereochemistry (1)
By default, stereoisomers do not match:
Use IgnoreStereochemistryTrue to get a positive match:
Text
Wolfram Research (2021), MoleculeMatchQ, Wolfram Language function, https://reference.wolfram.com/language/ref/MoleculeMatchQ.html.
CMS
Wolfram Language. 2021. "MoleculeMatchQ." Wolfram Language & System Documentation Center. Wolfram Research. https://reference.wolfram.com/language/ref/MoleculeMatchQ.html.
APA
Wolfram Language. (2021). MoleculeMatchQ. Wolfram Language & System Documentation Center. Retrieved from https://reference.wolfram.com/language/ref/MoleculeMatchQ.html