# Is it possible to render a SMARTS column with the RDKit 2D depiction renderer?

**URL:** <https://forum.knime.com/t/is-it-possible-to-render-a-smarts-column-with-the-rdkit-2d-depiction-renderer/69990>\
**Category:** Community Extensions\
**Tags:** rdkit\
**Created:** [June 26, 2023, 8:35am UTC](https://forum.knime.com/t/is-it-possible-to-render-a-smarts-column-with-the-rdkit-2d-depiction-renderer/69990 "2023-06-26T08:35:49Z")\
**Posts on this page:** 4\
**Page:** 1

<div class="post-metadata">

**Author:** ![gcincilla](https://forum-cdn.knime.com/user_avatar/forum.knime.com/gcincilla/32/41083_2.png) [@gcincilla](https://forum.knime.com/u/gcincilla)\
**Post date:** [June 26, 2023, 8:35am UTC](https://forum.knime.com/t/is-it-possible-to-render-a-smarts-column-with-the-rdkit-2d-depiction-renderer/69990/1 "2023-06-26T08:35:49Z")

</div>

Hi guys,  
When I try to render a reaction SMARTS column (A.K.A. SMIRKS) using the **RDKit 2D depiction** renderer integrated in the KNIME table viewer or using the _Renderer to Image_ node the following error is triggered:

`2D depiction failed`

Am I doing something wrong or is it not possible to depict SMARTS using the RDKit 2D depiction?

Gio

---

<div class="post-metadata">

**Author:** ![elsamuel](https://forum-cdn.knime.com/letter_avatar_proxy/v4/letter/e/b4bc9f/32.png) [@elsamuel](https://forum.knime.com/u/elsamuel)\
**Post date:** [June 26, 2023, 10:47pm UTC](https://forum.knime.com/t/is-it-possible-to-render-a-smarts-column-with-the-rdkit-2d-depiction-renderer/69990/2 "2023-06-26T22:47:43Z")

</div>

Can you provide more information? Such as the actual SMARTS patterns that failed?

---

<div class="post-metadata">

**Author:** ![gcincilla](https://forum-cdn.knime.com/user_avatar/forum.knime.com/gcincilla/32/41083_2.png) [@gcincilla](https://forum.knime.com/u/gcincilla)\
**Post date:** [June 27, 2023, 8:08am UTC](https://forum.knime.com/t/is-it-possible-to-render-a-smarts-column-with-the-rdkit-2d-depiction-renderer/69990/3 "2023-06-27T08:08:22Z")

</div>

Hi @elsamuel,  
Thanks for your answer. I’m correcting myself: the problem appears when I try to render SMARTS of chemical reactions (AKA SMIRKS) with the RDKit 2D depiction (I’ve updated the problem description above).  
In the following example workflow you can see how the RDKit 2D depiction renderer fails with this type of SMARTS, while the Marvin renderer does not.  
Do you have any idea why this happens?

[rdkit\_2d\_renderer\_problem.knwf](https://forum.knime.com/uploads/short-url/rN72Ds350GhibrhSMlNeqNulhLX.knwf) (35.1 KB)

---

<div class="post-metadata">

**Author:** ![system](https://forum-cdn.knime.com/uploads/default/original/1X/ab3ccf34482a0329361734a18199390177204f15.png) [@system](https://forum.knime.com/u/system)\
**Post date:** [September 25, 2023, 8:08am UTC](https://forum.knime.com/t/is-it-possible-to-render-a-smarts-column-with-the-rdkit-2d-depiction-renderer/69990/4 "2023-09-25T08:08:50Z")

</div>

This topic was automatically closed 90 days after the last reply. New replies are no longer allowed.
