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

IsomerGeneration

Guides

  • Isomer Generation

Tech Notes

  • Getting Started Generating Isomers

Symbols

  • CountIsomers
  • GenerateIsomers
  • Isomers
  • ListIsomers
  • $IsomerOutputDirectory
WolframChemistry`IsomerGeneration`
Isomers
​
Isomers
[...]
is a symbolic representation of the isomers created by
GenerateIsomers
.
​
Details and Options

Examples  
(5)
Basic Examples  
(1)
Generate all the isomers for a given formula:
In[1]:=
iso=
GenerateIsomers
["C4H6Br2O"]
Out[1]=
Isomers
C
4
H
6
Br
2
O
Status: Finished
Isomers: 213

Find the file on disk where the results are stored:
In[2]:=
FindFile[iso]
Out[2]=
/Users/jasonb/Documents/Wolfram/IsomerGeneration/C4H6Br2O_6120f8dafb4126eb/C4H6Br2O.smi
Read the first isomer from the results as a "SMILES" string:
In[3]:=
Read[iso]
Out[3]=
BrC=CC(C)(Br)O
Read the next 5 isomers as Molecule objects:
In[4]:=
ReadList[iso,Molecule,5]
Out[4]=
Molecule
Formula:
C
4
H
6
Br
2
O
Atoms:
13
Bonds:
12
,Molecule
Formula:
C
4
H
6
Br
2
O
Atoms:
13
Bonds:
12
,Molecule
Formula:
C
4
H
6
Br
2
O
Atoms:
13
Bonds:
12
,Molecule
Formula:
C
4
H
6
Br
2
O
Atoms:
13
Bonds:
12
,Molecule
Formula:
C
4
H
6
Br
2
O
Atoms:
13
Bonds:
12

Generate an image of a sample of the isomers:
In[5]:=
SeedRandom[42];​​WordCloud[MoleculePlot/@RandomSample[ReadList[iso],10]]
Out[5]=
Delete the isomers from disk:
In[6]:=
DeleteFile[iso]
Scope  
(4)

SeeAlso
GenerateIsomers
 
▪
ListIsomers
 
▪
Molecule
 
▪
FindIsomers
TechNotes
▪
Getting Started Generating Isomers
RelatedGuides
▪
Isomer Generation
▪
Molecular Structure & Computation
""

© 2025 Wolfram. All rights reserved.

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