Giter Site home page Giter Site logo

Support for dative bonds about ketcher HOT 12 CLOSED

epam avatar epam commented on August 15, 2024
Support for dative bonds

from ketcher.

Comments (12)

skearnes avatar skearnes commented on August 15, 2024

Note: it seems that dative bonds are encoded as type 9 in v3000 molfiles: https://sourceforge.net/p/rdkit/mailman/message/34538029/

See also http://help.accelrysonline.com/ulm/onelab/1.0/content/ulm_pdfs/direct/reference/ctfileformats2016.pdf

from ketcher.

AlexanderSavelyev avatar AlexanderSavelyev commented on August 15, 2024

Technical description: add new dative bond type

  1. User can draw a dative bond by choosing new item from the bonds menu
    image
  2. User can draw a dative bond the same way as with other types of bonds (the only difference is that bond has a direction from first point to the second point) e.g. C->N
    image
  3. The type of the bond in molfile is 9.
  4. No other verification are performed for the bond type

from ketcher.

AlexanderSavelyev avatar AlexanderSavelyev commented on August 15, 2024

added similar task for hydrogen bonds #72 (type 10) because usually it comes together

from ketcher.

AndreiMazol avatar AndreiMazol commented on August 15, 2024

Dependencies: #21

from ketcher.

skearnes avatar skearnes commented on August 15, 2024

Hi there, now that #21 is resolved are there any additional blockers for this enhancement?

from ketcher.

AndreiMazol avatar AndreiMazol commented on August 15, 2024

Hi @skearnes ,

to support server functions (clean up, layout & etc.) after adding new bond types it is necessary to implement #258, but this moment it is blocked by Indigo side.
We plan to start work on it in the nearest future.

from ketcher.

Svetlana-Asinovskaia avatar Svetlana-Asinovskaia commented on August 15, 2024

The current representation of dative bonds is incorrect.

Expected result:
image

Actual result:
image

from ketcher.

Svetlana-Asinovskaia avatar Svetlana-Asinovskaia commented on August 15, 2024

The length of dative bonds should be equal to the length of simple single bonds.
Expected result:
image

Actual result:
image

from ketcher.

Svetlana-Asinovskaia avatar Svetlana-Asinovskaia commented on August 15, 2024

Comment about the length of dative bonds is invalid.

from ketcher.

Svetlana-Asinovskaia avatar Svetlana-Asinovskaia commented on August 15, 2024

A bond is removed when trying to replace it with the dative bond and the console error after the Undo action appears.

Steps to reproduce:

  1. Create a structure on the canvas (e.g. draw benzene with the 'Templates' tool)
  2. With 'Dative bond' tool replace one of the bonds in benzene.
  3. Click the 'Undo' button.
    Expected result: The bond is replaced with the dative bond.
    Actual result: The bond is deleted. the console error after the Undo action appears.
    dative bond

from ketcher.

Svetlana-Asinovskaia avatar Svetlana-Asinovskaia commented on August 15, 2024

Stereo flag doesn't disappear after replacing the sterebond with the dative bond. It's possible to open the "Enhanced Stereochemistry" window and set the stereo mark.
image

from ketcher.

Svetlana-Asinovskaia avatar Svetlana-Asinovskaia commented on August 15, 2024

Release/2.3 The issue is verified and closed.
The problem with stereocenters remaining after replacing the stereobonds with the dative bonds is associated with the "Enhanced stereochemistry" epic and will be solved within #554

from ketcher.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.