epam / ketcher

Web-based molecule sketcher
https://lifescience.opensource.epam.com/ketcher/demo.html
Apache License 2.0
505 stars 174 forks source link

Representation of ambiguous nucleotide (with all ambiguous components) are wrong in sequence view #5749

Open AlexeyGirin opened 1 month ago

AlexeyGirin commented 1 month ago

Steps to Reproduce

  1. Toggle to Macro - Sequence mode
  2. Load using paste from clipboard way following HELM: RNA1{([25d3r]+[25mo3r])([baA]+[br8A])([bnn]+[bP]).([25d3r],[25mo3r])([baA],[br8A])([bnn],[bP]).([25d3r],[25mo3r])([baA],[br8A])([bnn],[bP])}$$$$V2.0 image

Actual behavior System consider ambiguous components as independent monomers and don't consider them as part of nucleotide image

Expected behavior As per @ljubica-milovic decision in that specific case - ambiguous components should be considered as CHEMs image

Versions

Reference issues: https://github.com/epam/ketcher/issues/4556