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

ChemistryFunctions

Guides

  • Wolfram Chemistry Functions

Symbols

  • AlkaneName
  • AlkaneQ
  • AtomChirality
  • AtomSelector3D
  • AtomSelector
  • BohrModelPlot
  • BondStereo
  • ChemicalFormulaQ
  • ChemicalReactionQ
  • ConstitutionalIsomersQ
  • DiastereomersQ
  • EmbeddedMoleculeQ
  • EmpiricalFormula
  • EmptyMoleculeQ
  • EnantiomersQ
  • EpimersQ
  • FormatMoleculesAsGraphics
  • HydrocarbonQ
  • ImportComputationalChemistryData
  • IonCounts
  • MoleculeDelete
  • MoleculeGridPlot3D
  • MoleculeGridPlot
  • MoleculeJoin
  • MoleculeManipulate3D
  • MoleculeManipulate
  • MoleculeMirrorPlot3D
  • MoleculePatternQ
  • MoleculePlotOptions
  • MoleculeScaffold
  • MoleculeSubstructureMatches
  • PatternReactionQ
  • PeriodicTablePlot
  • RandomAlkane
  • RandomMolecule
  • RingMoleculeQ
  • RingPattern
  • SmilesPlot
  • StereoisomersQ
WolframChemistry`ChemistryFunctions`
MoleculeJoin
​
MoleculeJoin
[{
mol
1
,
mol
2
,…}]
returns a single disjointed molecule composed of the input molecules.
​
​
MoleculeJoin
[{
mol
1
,
mol
2
,…},{
Bond
[…],…}]
returns a single molecule composed of the input molecules and the indicated bonds between them.
​
Details and Options

Examples  
(4)
Basic Examples  
(4)
Combine two ions to form a salt:
In[1]:=
MoleculeJoin
Molecule
Formula:
+
H
4
N
Atoms: 5 Bonds: 4
,Molecule
Formula:
-
HO
Atoms: 2 Bonds: 1

Out[1]=
Molecule
Formula:
H
5
NO
Atoms: 7 Bonds: 5

In[2]:=
MoleculeName@%
Out[2]=
ammonium hydroxide
​
Join two benzene molecules with a bond to make biphenyl:
In[1]:=
MoleculeJoin
[​​{Molecule["benzene"],Molecule["benzene"]},​​​​{Bond[{{1,1},{2,1}},"Single"]}​​]
Out[1]=
Molecule
Formula:
C
12
H
10
Atoms: 22 Bonds: 23

​
Join four tyrosine molecules in a chain
In[1]:=
MoleculePlot@
MoleculeJoin
[ConstantArray[Molecule["Tyrosine"],5],{Bond[{{1,8},{2,1}},"Single"],Bond[{{2,8},{3,1}},"Single"],Bond[{{3,8},{4,1}},"Single"],Bond[{{4,8},{5,1}},"Single"]}]
Out[1]=
Contents cannot be rendered at this time; please try again later
​
Make a ring of benzene molecules:
In[1]:=
MoleculeJoin
[​​ConstantArray[Molecule["benzene"],15],Bond[{{#1,1},{#2,4}},"Single"]&@@@Partition[Range[15],2,1,1]​​]
Out[1]=
In[2]:=
MoleculePlot3D@%
Out[2]=
Contents cannot be rendered at this time; please try again later
SeeAlso
Molecule
 
▪
MoleculeModify
 
▪
GraphJoin
 
▪
Join
RelatedGuides
▪
Wolfram Chemistry Functions
""

© 2025 Wolfram. All rights reserved.

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