<div dir="ltr"><div dir="ltr">As long as you stick to basic CNO type chemistry, you can probably figure out a valid SMILES generator pretty quickly. But it might be easier to work in the explicit molecule graph instead and just use SMILES as a content name string. The things that might go wrong after the SMILES input parses correctly are 1) a ring that's strained because it's too tight a turn, 2) steric hindrance between bulky sidechains occupying the same space, and 3) something that no one has any idea how to make. You could probably notice 1) and 2) if you track the average energy per bond.</div><div dir="ltr"><br></div><div dir="ltr">The benzodiazepines are a classic example of structuring the search around a core framework and substituting side chains onto the core. That's the way the chemists do it in the wetlab.</div><div dir="ltr"><br></div><div>OpenEyes (<a href="https://www.eyesopen.com/">https://www.eyesopen.com/</a>) is running some online events this month that might be interesting.</div><div><br></div><div>-- rec --</div><div><br></div><div class="gmail_quote"><div dir="ltr" class="gmail_attr">On Tue, Oct 12, 2021 at 5:44 PM Marcus Daniels <<a href="mailto:marcus@snoutfarm.com" target="_blank">marcus@snoutfarm.com</a>> wrote:<br></div><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex">
<div lang="EN-US">
<div>
<p class="MsoNormal">A search algorithm that, say, proposes a prefix or a suffix to a SMILES string would need to have a way to autocomplete candidates before it could use these descriptors to guide an optimization because the parsing step is non-trivial, never
mind the sanitization step (mentioned on that web page). <u></u><u></u></p>
<p class="MsoNormal"><u></u> <u></u></p>
<p class="MsoNormal">I will deflect blame on Jon for changing the topic from music to chemicals, but presumably with enough debate their aesthetic preferences in music could be formalized in theory or some rule-based way, as is manifest here.<u></u><u></u></p>
<p class="MsoNormal"><u></u> <u></u></p>
<div style="border-right:none;border-bottom:none;border-left:none;border-top:1pt solid rgb(225,225,225);padding:3pt 0in 0in">
<p class="MsoNormal"><b>From:</b> Friam <<a href="mailto:friam-bounces@redfish.com" target="_blank">friam-bounces@redfish.com</a>> <b>On Behalf Of
</b>Roger Critchlow<br>
<b>Sent:</b> Tuesday, October 12, 2021 2:10 PM<br>
<b>To:</b> The Friday Morning Applied Complexity Coffee Group <<a href="mailto:friam@redfish.com" target="_blank">friam@redfish.com</a>><br>
<b>Subject:</b> Re: [FRIAM] Schwill Rock?<u></u><u></u></p>
</div>
<p class="MsoNormal"><u></u> <u></u></p>
<div>
<div>
<p class="MsoNormal">Hmm, when I was in the drug discovery canal, the "descriptors" that you could calculate from a SMILES string were legion. <u></u><u></u></p>
<div>
<p class="MsoNormal"><u></u> <u></u></p>
</div>
<div>
<p class="MsoNormal">Here's the list for RDKIT, <a href="https://www.rdkit.org/docs/GettingStartedInPython.html#list-of-available-descriptors" target="_blank">https://www.rdkit.org/docs/GettingStartedInPython.html#list-of-available-descriptors</a>. There are one bunch that
depend entirely on the formula and molecular structure. Then there's a whole other bunch you can compute if you generate 3d structures for the molecules, possibly multiplied by the number of low energy structures the molecule can adopt.<u></u><u></u></p>
</div>
<div>
<p class="MsoNormal"><u></u> <u></u></p>
</div>
<div>
<p class="MsoNormal">What kind of plausibility were you looking for? Does the SMILES string specify a real molecule? That's hard. There are syntax errors in SMILES, failures to close rings, valency errors, charge errors. But there are lots of syntactically
valid SMILES that won't match any known molecule, either because they're impossible or as yet to be determined. The pharmas all have their own lists of molecules of interest, but those are proprietary. Looks like there are various online databases, none
that I'm familiar with. If the SMILES parses, you can try generating a 2d depiction and a 3d structure. Those will throw exceptions if things get too weird.<u></u><u></u></p>
</div>
<div>
<p class="MsoNormal"><u></u> <u></u></p>
</div>
<div>
<p class="MsoNormal">-- rec --<u></u><u></u></p>
</div>
<div>
<p class="MsoNormal"><u></u> <u></u></p>
</div>
<div>
<p class="MsoNormal">On Tue, Oct 12, 2021 at 3:22 PM Marcus Daniels <<a href="mailto:marcus@snoutfarm.com" target="_blank">marcus@snoutfarm.com</a>> wrote:<u></u><u></u></p>
</div>
</div>
<div>
<blockquote style="border-top:none;border-right:none;border-bottom:none;border-left:1pt solid rgb(204,204,204);padding:0in 0in 0in 6pt;margin-left:4.8pt;margin-right:0in">
<div>
<div>
<p class="MsoNormal">I was playing with RDKIT the other day, and it wasn’t obvious how to get a scalar quantity of plausibility of a molecule. It seems a SMILES string is right or wrong, and then
maybe there are some warnings that can be trapped. However, the benefits for search or fair sampling are different than the needs of correctness checks, which is deeper property. That isn’t quite a fit to the music example where aesthetic considerations
are subjective.<u></u><u></u></p>
<p class="MsoNormal"> <u></u><u></u></p>
<div style="border-right:none;border-bottom:none;border-left:none;border-top:1pt solid rgb(225,225,225);padding:3pt 0in 0in">
<p class="MsoNormal"><b>From:</b> Friam <<a href="mailto:friam-bounces@redfish.com" target="_blank">friam-bounces@redfish.com</a>>
<b>On Behalf Of </b>Jon Zingale<br>
<b>Sent:</b> Tuesday, October 12, 2021 12:11 PM<br>
<b>To:</b> <a href="mailto:friam@redfish.com" target="_blank">friam@redfish.com</a><br>
<b>Subject:</b> Re: [FRIAM] Schwill Rock?<u></u><u></u></p>
</div>
<p class="MsoNormal"> <u></u><u></u></p>
<div>
<div>
<p class="MsoNormal"><span style="font-size:12pt;font-family:Verdana,sans-serif;color:rgb(51,51,51)">"</span><span style="font-size:12pt;font-family:Arial,sans-serif;color:black">I mean from the perspective
of aesthetics. Understanding why Pandora is messing it up means sampling the deep wells."</span><u></u><u></u></p>
</div>
<div>
<p class="MsoNormal"><span style="font-size:12pt;font-family:Verdana,sans-serif;color:rgb(51,51,51)"> </span><u></u><u></u></p>
</div>
<div>
<p class="MsoNormal"><span style="font-size:12pt;font-family:Arial,sans-serif;color:black">Yes, but not more than one has to. This is why I am advocating for methods like a weighted ensemble. The
working analogy for me comes from drug discovery. It doesn't make a lot of sense to probe the same old sites and the same old conformations.</span><u></u><u></u></p>
</div>
</div>
</div>
</div>
<p class="MsoNormal"><br>
.-- .- -. - / .- -.-. - .. --- -. ..--.. / -.-. --- -. .--- ..- --. .- - .<br>
FRIAM Applied Complexity Group listserv<br>
Zoom Fridays 9:30a-12p Mtn UTC-6 <a href="http://bit.ly/virtualfriam" target="_blank">
bit.ly/virtualfriam</a><br>
un/subscribe <a href="http://redfish.com/mailman/listinfo/friam_redfish.com" target="_blank">
http://redfish.com/mailman/listinfo/friam_redfish.com</a><br>
FRIAM-COMIC <a href="http://friam-comic.blogspot.com/" target="_blank">http://friam-comic.blogspot.com/</a><br>
archives:<br>
5/2017 thru present <a href="https://redfish.com/pipermail/friam_redfish.com/" target="_blank">
https://redfish.com/pipermail/friam_redfish.com/</a><br>
1/2003 thru 6/2021 <a href="http://friam.383.s1.nabble.com/" target="_blank">http://friam.383.s1.nabble.com/</a><u></u><u></u></p>
</blockquote>
</div>
</div>
</div>
</div>
<br>
.-- .- -. - / .- -.-. - .. --- -. ..--.. / -.-. --- -. .--- ..- --. .- - .<br>
FRIAM Applied Complexity Group listserv<br>
Zoom Fridays 9:30a-12p Mtn UTC-6 <a href="http://bit.ly/virtualfriam" rel="noreferrer" target="_blank">bit.ly/virtualfriam</a><br>
un/subscribe <a href="http://redfish.com/mailman/listinfo/friam_redfish.com" rel="noreferrer" target="_blank">http://redfish.com/mailman/listinfo/friam_redfish.com</a><br>
FRIAM-COMIC <a href="http://friam-comic.blogspot.com/" rel="noreferrer" target="_blank">http://friam-comic.blogspot.com/</a><br>
archives:<br>
5/2017 thru present <a href="https://redfish.com/pipermail/friam_redfish.com/" rel="noreferrer" target="_blank">https://redfish.com/pipermail/friam_redfish.com/</a><br>
1/2003 thru 6/2021 <a href="http://friam.383.s1.nabble.com/" rel="noreferrer" target="_blank">http://friam.383.s1.nabble.com/</a><br>
</blockquote></div></div>