A ligand imported into the Builder loses its formal charges; the direct SDF path keeps them
Dieses Issue hat noch niemand übernommen.
Bewertung
- Schwierigkeit
- 5/5
- Geschätzter Aufwand
- Über eine Woche
- Anfängerfreundlichkeit
- 25/100
Rechercherichtung
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.
Vom Indexierungsmodell aus dem Issue-Text verfasst.
Beschreibung
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.
- Vorherrschende Sprache
- C
- Sterne
- 10
- Forks
- 8
- Ø Merge
- 6 Std. 32 Min.
- Gemergte PRs (30 T.)
- 1
Entwicklungsumgebung
Dieses Projekt bietet weder Dev-Container noch Dockerfile noch Beitragsleitfaden – die Einrichtung liegt bei Ihnen. Beginnen Sie mit der README; die allgemeinen Schritte stehen in unserem Leitfaden für den ersten Beitrag.
Erste Schritte
- Lesen Sie das ganze Issue und danach den Beitragsleitfaden des Projekts.
- Schreiben Sie ins Issue, dass Sie es übernehmen — das erspart doppelte Arbeit.
- Forken Sie das Repository und arbeiten Sie in einem Branch.
- Öffnen Sie einen Pull Request, der die Issue-Nummer nennt.
Mehr aus FriendsofECCE/ECCE
-
Schwierigkeit 2/5 1-3 Stunden Anfängerfreundlichkeit 68/100
FriendsofECCE/ECCE#1358 ·
-
bug
Schwierigkeit 2/5 1-3 Stunden Anfängerfreundlichkeit 72/100
FriendsofECCE/ECCE#1353 ·
-
Schwierigkeit 2/5 1-3 Stunden Anfängerfreundlichkeit 78/100
FriendsofECCE/ECCE#1348 ·
-
Schwierigkeit 2/5 1-3 Stunden Anfängerfreundlichkeit 76/100
FriendsofECCE/ECCE#1347 ·
-
bug
Schwierigkeit 2/5 1-3 Stunden Anfängerfreundlichkeit 72/100
FriendsofECCE/ECCE#1345 ·
Alle Issues in FriendsofECCE/ECCE
Ähnliche Issues
-
Installation fails from source: missing libintl.h on macOS, undeclared R_typeToChar() on R 4.6Offen
Schwierigkeit 2/5 1-3 Stunden Anfängerfreundlichkeit 78/100
vincentarelbundock/xtx#11 ·
-
Schwierigkeit 1/5 1-3 Stunden Anfängerfreundlichkeit 88/100
-
Schwierigkeit 2/5 1-3 Stunden Anfängerfreundlichkeit 70/100
compiler-explorer/compiler-explorer#9738 ·
Maintainer antworten meist innerhalb von 2 Tagen
-
Schwierigkeit 1/5 1-3 Stunden Anfängerfreundlichkeit 88/100
Maintainer antworten meist innerhalb von 3 Tagen
-
[Android Auto] MU1017 (MHI2Q_JP_AUG22_P1017) cluster map works with a pinned profile — values insideOffen
Schwierigkeit 1/5 Unter einer Stunde Anfängerfreundlichkeit 92/100
kamgurgul/mib2q-carplay#74 ·