Molecules
Molecules
Out[]=
Molecules can be created in silico by passing a variety of information into the function.
Creation
Creation
Let’s consider propane which is the gas used in barbeque grills all over the world.
Build up a propane molecule atom by atom, bond by bond or use the corresponding chemical :
propaneAtomBond=Molecule[{"C","H","H","H","C","H","H","C","H","H","H"},{Bond[{1,2},"Single"],Bond[{1,3},"Single"],Bond[{1,4},"Single"],Bond[{1,5},"Single"],Bond[{5,6},"Single"],Bond[{5,7},"Single"],Bond[{5,8},"Single"],Bond[{8,9},"Single"],Bond[{8,10},"Single"],Bond[{8,11},"Single"]}]
Out[]=
Molecule
propaneEntity=Molecule
Out[]=
Molecule
propaneCommonName=Molecule["propane"]
Out[]=
Molecule
propaneIUPACName=Molecule["Tricarbane"]
Out[]=
Molecule
propaneSMILES=Molecule["CCC"]
Out[]=
Molecule
propaneInChI=Molecule["InChI=1S/C3H8/c1-3-2/h3H2,1-2H3"]
Out[]=
Molecule
propaneList={propaneAtomBond,propaneEntity,propaneCommonName,propaneIUPACName,propaneSMILES,propaneInChI};AllTrue[propaneList,MoleculeMatchQ[propaneAtomBond,#]&]
Out[]=
True
Recognition
Recognition
Chemists communicate chemical structure information with structure diagrams in the literature.
images=;GraphicsRow[images]
Out[]=
Use to make objects from such images.
Grid[Map[{#,MoleculeRecognize[#]}&,images]]
Out[]=
Molecule | |
Molecule | |
Molecule |
Out[]=