A ligand imported into the Builder loses its formal charges; the direct SDF path keeps them
Nessuno ha ancora preso questa issue.
Valutazione
- Difficoltà
- 5/5
- Tempo stimato
- Più di una settimana
- Idoneità per principianti
- 25/100
Direzione di ricerca
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.
Scritto dal modello di indicizzazione a partire dal testo della issue.
Descrizione
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.
- Lingua principale
- C
- Stelle
- 10
- Fork
- 8
- Merge medio
- 6h 32m
- PR unite (30g)
- 1
Preparare l'ambiente
Questo progetto non fornisce container di sviluppo, Dockerfile né guida per i contributori, quindi l'ambiente è a tuo carico: parti dal suo README e consulta la nostra guida al primo contributo per i passaggi generali.
Come iniziare
- Leggi tutta la issue e poi la guida ai contributi del progetto.
- Commenta sulla issue per dire che te ne occupi tu — evita che due persone facciano lo stesso lavoro.
- Fai un fork del repository e lavora su un branch.
- Apri una pull request che faccia riferimento al numero della issue.
Altre issue di FriendsofECCE/ECCE
-
Difficoltà 2/5 1-3 ore Idoneità per principianti 68/100
FriendsofECCE/ECCE#1358 ·
-
bug
Difficoltà 2/5 1-3 ore Idoneità per principianti 72/100
FriendsofECCE/ECCE#1353 ·
-
Difficoltà 2/5 1-3 ore Idoneità per principianti 78/100
FriendsofECCE/ECCE#1348 ·
-
Difficoltà 2/5 1-3 ore Idoneità per principianti 76/100
FriendsofECCE/ECCE#1347 ·
-
bug
Difficoltà 2/5 1-3 ore Idoneità per principianti 72/100
FriendsofECCE/ECCE#1345 ·
Tutte le issue di FriendsofECCE/ECCE
Issue simili
-
Installation fails from source: missing libintl.h on macOS, undeclared R_typeToChar() on R 4.6Aperta
Difficoltà 2/5 1-3 ore Idoneità per principianti 78/100
vincentarelbundock/xtx#11 ·
-
Difficoltà 1/5 1-3 ore Idoneità per principianti 88/100
-
Difficoltà 2/5 1-3 ore Idoneità per principianti 70/100
compiler-explorer/compiler-explorer#9738 ·
I maintainer di solito rispondono entro 2 giorni
-
Difficoltà 1/5 1-3 ore Idoneità per principianti 88/100
I maintainer di solito rispondono entro 3 giorni
-
[Android Auto] MU1017 (MHI2Q_JP_AUG22_P1017) cluster map works with a pinned profile — values insideAperta
Difficoltà 1/5 Meno di un'ora Idoneità per principianti 92/100
kamgurgul/mib2q-carplay#74 ·