-
Notifications
You must be signed in to change notification settings - Fork 166
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
Support variant monomers in Ketcher (flex mode) #4554
Labels
feature request
Macromolecules
Requirements Done
Test Cases Written
Test cases has been written for that issue
variant_monomers
Milestone
Comments
olganaz
changed the title
Macro: Support variant monomers in Ketcher.
Support variant monomers in Ketcher (flex mode)
Jun 29, 2024
AlexeyGirin
added
the
Test Cases Written
Test cases has been written for that issue
label
Aug 12, 2024
Test cases added |
rrodionov91
added a commit
that referenced
this issue
Aug 19, 2024
- added variant monomers to model/view and deserialization
rrodionov91
added a commit
that referenced
this issue
Aug 19, 2024
- added variant monomers to model/view and deserialization
9 tasks
rrodionov91
added a commit
that referenced
this issue
Aug 20, 2024
- added variant monomers to model/view and deserialization
rrodionov91
added a commit
that referenced
this issue
Aug 21, 2024
- added variant monomers to model/view and serialization/deserialization
This was referenced Sep 4, 2024
Closed
Verified. Versions
|
This was referenced Oct 10, 2024
AlexeyGirin
added a commit
that referenced
this issue
Oct 11, 2024
Guch1g0v
pushed a commit
that referenced
this issue
Oct 17, 2024
- added variant monomers to model/view and serialization/deserialization
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Labels
feature request
Macromolecules
Requirements Done
Test Cases Written
Test cases has been written for that issue
variant_monomers
Background
Variant monomers are used to describe ambiguity in the structure of a macromolecule.
Variant monomers could be classified in two types:
The scope of this task includes the ability to load/save variant monomers (alternatives and mixture) to KET, display on canvas, connect to other monomers.
Requirements
Variant monomers should be displayed on canvas as regular monomers in flex mode:
4.1. If all the monomers making up the variant monomer are bases, then the variant monomer is a base, and should be represented as a diamond on the canvas (see mockups).
4.2. If all the monomers making up the variant monomer are amino acids, then the variant monomer is an amino acid, and should be represented as a hexagon on the canvas (see mockups).
4.3. If the variant monomer is not a base or an amino acid (the class is different, or there is no class), then the variant should be represented as a square on the canvas (see mockups).
4.4. The symbols inside monomer shape should be a one-letter symbol (described in related issues: #5186 and #2015) or an
%
for all other variant monomers.The variant monomer has an attachment point Rn only if all the monomers making up that variant monomer have the attachment point Rn.
For establishing bonds following rules apply:
6.1. All of the rules center-to-center, center-to-point, point-to-center, point-to-point should apply to the variant monomers.
6.2. If a variant monomer is a base, all rules for establishing bonds with bases are followed. The same logic for all other types.
6.3. If a variant monomer has no type, the rules for establishing bonds with CHEMs are followed (open "Select Connection Points" dialog every time (related issue: #5224)).
UX
establishing bonds
The text was updated successfully, but these errors were encountered: