question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

Generated ligand poses are not in the protein pocket

See original GitHub issue

I ran the sample.py script and from the pool.finished object I get a list of data. For each data I call reconstruct_from_generated to get out a rdkit molecule with a 3D conformation.

However, it seems the conformation is not in the same coordinate space as the protein pocket:

I sampled idx 50 and looked at the samples_all.pt file, the corresponding protein pocket I loaded is thus: FKB1A_HUMAN_2_108_0/1d7j_A_rec_1tco_fk5_lig_tt_docked_0_pocket10.pdb

I see the ligand (left) is far away from the pocket (right) image

Am I doing something wrong?

Issue Analytics

  • State:closed
  • Created 2 years ago
  • Comments:10 (4 by maintainers)

github_iconTop GitHub Comments

1reaction
luost26commented, Feb 16, 2022

for me, the sample.pt stored in the finished array a list of pytorch geometric data object which can be turned into rdkit molecule using the function reconstruct_from_generated

Sorry to bother you again, I do not know how to use the reconstruct_from_generated function to convert the ‘pt’ files to sdf conformation, could you please show me your code?

Hi, I have updated sample.py.

The generated molecules will be now saved as SDF files and SMILES files, beside the original .pt format.

SDF
1reaction
luost26commented, Feb 12, 2022

Hi,

The PDB file of data#50 should be:

  protein_filename='IMA1_HUMAN_68_497_0/4u5s_A_rec_4u54_3c5_lig_tt_min_0_pocket10.pdb',
  ligand_filename='IMA1_HUMAN_68_497_0/4u5s_A_rec_4u54_3c5_lig_tt_min_0.sdf',
  id=93345,

You may get them by inserting print(data) into the sampling script.

The ordering of data in the testset is different from the ordering of test_set.tsv

Read more comments on GitHub >

github_iconTop Results From Across the Web

A simple method for finding a protein's ligand-binding pockets
This paper provides a simple and rapid method for a protein-clustering strategy. The basic idea implemented here is to use computational ...
Read more >
Discrete Molecular Dynamics Distinguishes Nativelike Binding ...
We analyze a collection of poses generated by docking and find that the residence time of the ligand in the native and nativelike...
Read more >
COACH-D: improved protein–ligand binding sites prediction ...
In COACH-D, when AutoDock Vina fails to generate ligand-binding poses, the ones from the template structures without refinement are reported, ...
Read more >
A practical guide to large-scale docking
Different ligand conformations and orientations are sampled in the binding pocket using precalculated 3D conformer libraries (flexibases, db2 ...
Read more >
Protein-ligand docking
Charges and protonation states are also not permitted to change. While these approximations reduce accuracy to some extent, they increase computational speed, ...
Read more >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found