Wolfram Language
Paclet Repository
Community-contributed installable additions to the Wolfram Language
Primary Navigation
Categories
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
Create a Paclet
Get Started
Download Definition Notebook
Learn More about
Wolfram Language
Selfies
Guides
Selfies Functions
Tech Notes
Generating Molecules With SELFIES
Symbols
EncodingToSelfies
FromSelfies
SelfiesAlphabet
SelfiesCounts
SelfiesEncoding
SplitSelfies
ToSelfies
WolframChemistry`Selfies`
F
r
o
m
S
e
l
f
i
e
s
F
r
o
m
S
e
l
f
i
e
s
[
s
e
l
f
i
e
]
c
o
n
v
e
r
t
s
t
h
e
i
n
p
u
t
S
E
L
F
I
E
S
s
t
r
i
n
g
t
o
a
S
M
I
L
E
S
s
t
r
i
n
g
.
F
r
o
m
S
e
l
f
i
e
s
[
{
s
1
,
s
2
,
…
}
]
r
e
t
u
r
n
s
a
l
i
s
t
o
f
S
M
I
L
E
S
s
t
r
i
n
g
s
.
F
r
o
m
S
e
l
f
i
e
s
[
s
,
"
M
o
l
e
c
u
l
e
"
]
c
o
n
v
e
r
t
s
t
h
e
i
n
p
u
t
t
o
M
o
l
e
c
u
l
e
o
b
j
e
c
t
s
.
Examples
(
2
)
Basic Examples
(
2
)
Convert a SELFIES string to a SMILES string :
I
n
[
1
]
:
=
F
r
o
m
S
e
l
f
i
e
s
[
"
[
C
]
[
C
]
[
C
]
[
C
]
[
=
B
r
a
n
c
h
1
]
[
C
]
[
=
O
]
[
S
]
[
C
@
@
H
1
]
[
C
]
[
C
@
@
H
1
]
[
R
i
n
g
1
]
[
R
i
n
g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