A ligand imported into the Builder loses its formal charges; the direct SDF path keeps them
Chưa có ai nhận issue này.
Đánh giá
- Độ khó
- 5/5
- Thời gian dự kiến
- Hơn một tuần
- Mức phù hợp với người mới
- 25/100
Hướng nghiên cứu
Start with DockReader::readSdf in src/dock/DockIO.C and trace how formal charges reach DockAtom::formalCharge versus how DockReader::readFrag prepares fragments. The issue lists three possible designs and asks for a decision; review the TAtm, Fragment, and .frag data paths before choosing one. Done means selecting and documenting a design that prevents charged ligands from being silently mis-prepared.
Do mô hình lập chỉ mục viết ra từ nội dung của issue.
Mô tả
DockReader::readSdf (src/dock/DockIO.C:32) reads MDL formal charges two ways - the legacy charge column 37-39 (1 meaning +3 down to 7 meaning -3) and the M CHG records that override it - and stores them on DockAtom::formalCharge. ecce-pdbqt --ligand FILE.sdf therefore sees a carboxylate as charged.
TAtm has no formal-charge field, so a structure brought in through the Builder cannot carry one. ecce-pdbqt --frag FILE.frag reads an ECCE fragment and so has nothing to read either.
The two routes to the same docking run therefore disagree:
- ligand given to
ecce-pdbqtas an SDF directly: formal charges present. - ligand opened in the Builder, merged into the calculation's structure, then prepared from the fragment: formal charges absent.
Charged ligands are ordinary - carboxylates, phosphates, protonated amines - and the charge changes the atom typing and the hydrogen placement that the PDBQT preparation does, so the two routes can produce different input for the same molecule.
Found while adding the Builder's sdf/mol2 readers (wip/sdf-mol2-reader). The new readers do not parse M CHG precisely because there is nowhere to put it; that is a consequence of this, not a separate omission.
What this needs is a decision rather than a patch:
- Add a formal charge to
TAtmand carry it throughFragment, the .frag format andDockReader::readFrag. The general fix, and it touches the core data model, so it wants care and a reason beyond docking. - Keep formal charge out of the model and instead derive it where it is needed, from bond orders and valence, in the PDBQT preparation. Avoids the model change; silently differs from what the file said when the file said something.
- Carry it as a per-atom property beside the fragment rather than on the atom.
Until one of those is chosen, a charged ligand should at least not be silently mis-prepared: the preparation could say which route it took and whether it had charge information.
- Ngôn ngữ chính
- C
- Star
- 10
- Fork
- 8
- Merge trung bình
- 6 giờ 32 phút
- Pull request đã merge (30 ngày)
- 1
Chuẩn bị môi trường
Dự án này không cung cấp dev container, Dockerfile hay hướng dẫn đóng góp, nên bạn cần tự thiết lập môi trường: hãy bắt đầu từ README và xem hướng dẫn đóng góp lần đầu của chúng tôi để biết các bước chung.
Bắt đầu từ đâu
- Đọc hết issue, rồi đọc hướng dẫn đóng góp của dự án.
- Bình luận trên issue rằng bạn sẽ nhận — tránh hai người làm cùng một việc.
- Fork repository và làm thay đổi trên một nhánh.
- Mở pull request có tham chiếu số hiệu của issue.
Issue khác của FriendsofECCE/ECCE
-
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 68/100
FriendsofECCE/ECCE#1358 ·
-
bug
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 72/100
FriendsofECCE/ECCE#1353 ·
-
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 78/100
FriendsofECCE/ECCE#1348 ·
-
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 76/100
FriendsofECCE/ECCE#1347 ·
-
bug
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 72/100
FriendsofECCE/ECCE#1345 ·
Tất cả issue của FriendsofECCE/ECCE
Issue tương tự
-
Installation fails from source: missing libintl.h on macOS, undeclared R_typeToChar() on R 4.6Đang mở
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 78/100
vincentarelbundock/xtx#11 ·
-
Độ khó 1/5 1-3 giờ Mức phù hợp với người mới 88/100
-
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 70/100
compiler-explorer/compiler-explorer#9738 ·
Maintainer thường phản hồi trong vòng 2 ngày
-
Độ khó 1/5 1-3 giờ Mức phù hợp với người mới 88/100
Maintainer thường phản hồi trong vòng 3 ngày
-
[Android Auto] MU1017 (MHI2Q_JP_AUG22_P1017) cluster map works with a pinned profile — values insideĐang mở
Độ khó 1/5 Dưới một giờ Mức phù hợp với người mới 92/100
kamgurgul/mib2q-carplay#74 ·