Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Macro: Insertion mode for nucleotide entry (switch RNA/DNA) #3861

Closed
olganaz opened this issue Jan 10, 2024 · 2 comments · Fixed by #4229
Closed

Macro: Insertion mode for nucleotide entry (switch RNA/DNA) #3861

olganaz opened this issue Jan 10, 2024 · 2 comments · Fixed by #4229

Comments

@olganaz
Copy link
Collaborator

olganaz commented Jan 10, 2024

Background
Since in sequence format RNA and DNA nucleotides are designated by the same symbols {A, T, C, G, U} , so it is necessary to specify how to interpret these symbols in Ketcher.
Nucleotide = RNA preset added on canvas (sugar+phosphate+base)

Requirements

In addition to the rules for addition of new nucleotides to canvas in sequence mode [#3650] user should be able to specify the type of entered sequence.

  1. Toolbar:
  • When text-editing mode is ON in sequence mode, additional dropdown menu should be displayed in toolbar (RNA/DNA/Peptide)
  • Before entering a sequence on canvas, user should be able to choose the type of the sequence (RNA/DNA).
  • By default RNA option should be selected for the first selection. While in macro mode last selected value is retained.
  1. Nucleotide Entry:
  • Selecting one of the options RNA/DNA defines the sugar in newly added nucleotides from keyboard (For RNA - ribose, for DNA - deoxyribose) and shouldn't change the sugar monomer in existing on canvas nucleotides.
  • Symbols displaying DNA nucleotides on canvas should be marked according to mockups.
  • If user changes the option (DNA/RNA) during input only the type of newly entered nucleotides should be changed.

Alternatives
"Peptide" option in toolbar is inactive currently.

UX

changing sequence type

@olganaz olganaz added this to the Macromolecules Milestone 5 milestone Jan 10, 2024
@olganaz olganaz assigned Nitvex and olganaz and unassigned Nitvex Jan 10, 2024
@olganaz olganaz changed the title Macro: Switcher RNA/DNA for nucleotide entry Macro: Insertion mode for nucleotide entry (switch RNA/DNA) Jan 19, 2024
@olganaz olganaz removed the draft label Jan 22, 2024
@Zhirnoff
Copy link
Collaborator

Zhirnoff commented Feb 6, 2024

Tests added to the automation table.

@Zhirnoff
Copy link
Collaborator

Tested. No comments.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging a pull request may close this issue.

5 participants