Update the representation of sense and antisense chains in sequence mode (2/2) #6254
Labels
feature request
Hydrogen bonds
Bucket: Bugs related to Hydrogen bonds
Sequence mode
Bucket: Sequence mode related issues
Milestone
Background
Continuation of the ticket from the previous release: #5942
Summary of differences between editing both chains and editing one chain
Removing/adding H-bonds
1.1. Right clicking on a symbol that has no hydrogen bonds with a symbol bellow/above it, should give the option to "Establish Hydrogen Bonds". If a symbol has H-bonds with a symbol opposite it, or there is no monomer opposite it, the option should be disabled.
1.2. Right licking on a symbol that has any H-bonds should give the option to "Delete Hydrogen Bonds". If there are no H-bonds, the option should be disabled.
1.3. If multiple monomers/symbols are selected and at least one of them does not have hydrogen bonds established with the monomer/symbol above/bellow it the option "Establish Hydrogen Bonds" should be available from the r-click menu. If all symbols have H-bonds, the option should be disabled.
1.4. If multiple monomers are selected, and any of them have hydrogen bonds, the option "Delete Hydrogen Bonds" should be available in the r-click menu. If no selected symbols have H-bonds, the option should be disabled.
1.5. If all hydrogen bonds between two chains are deleted, the user should get a warning message with the title "Deletion of all Hydrogen Bonds", and the text: "Deleting all hydrogen bonds will cause the separation of two chains. Do you wish to proceed?", and options "Cancel" (default) and "Continue".
Editing both chains
Editing one chain
3.1. "Edit Both Strands" mode logic is described in requirements 6. "Edit One Strand" mode is described bellow.
3.2. It should be obvious to the user that they are editing only one side of the sense/antisense duplex (see mockups).
3.3. If a monomer/symbol is added to one chain (not to the left of a line), it should have no impact on the other chain (other than extending the backbone (adding lines) if there is a backbone in that place to accommodate the added monomers).
3.4. If a monomer/symbol is added to one chain (to the left of a line), that line is replaced with the newly added monomer.
3.5. The lines can only be added left of a gap. When the user exits "Edit" mode, if the line(s) do not connect monomer symbols, all lines should be deleted. If the lines(s) connect monomer symbols, a new backbone should be established.
3.6. If a symbol is deleted on the chain, it should be replaced with a line. If a line is deleted on the chain, the backbone should be broken.
3.7. If a line break is added, only one chain backbone is broken.
3.8. The logic for updating (select and replace from the library) and modifying (RNA builder) monomers is the same as for editing both chains (requirement 6.6.) - the change does not impact the other chain.
Changing editing mode
4.1. While editing the chain(s) there should be an easy way to change editing mode (one strand vs both strands) (see mockups).
4.2.
The text was updated successfully, but these errors were encountered: