epam / ketcher

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

Macro: DNA/RNA sequences should NOT accept '*' symbols #4358

Open AlexeyGirin opened 3 months ago

AlexeyGirin commented 3 months ago

Steps to Reproduce

  1. Switch to Macromolecules mode
  2. Load by Paste from Clipboard as FASTA - RNA/DNA the following:
    >Should not accept multiplication symbol
    AAAA*AAAA

    image

Actual behavior System loads two sequences image

Expected behavior Error message should appear: "*" symbol is not allowed for DNA sequence. image

As per requirement description (https://github.com/epam/Indigo/issues/1755#issuecomment-1972978475):

DNA/RNA sequences could contain only the symbols: "A", "C", "G", "T", "U", "-"

Environment details: Ketcher Version 2.20.0-rc.2 Build at 2024-03-27; 08:30:51 Indigo Toolkit Version 1.19.0-rc.2.0-g6c0e3fecf-x86_64-linux-gnu-11.2.1 Win10 Chrome Version 122.0.6261.129 (Official Build) (64-bit)

Related issues:

AlexeyGirin commented 2 months ago

Moved to Refined backlog as per flow