devalab / DeepPocket

Ligand Binding Site detection using Deep Learning
MIT License
89 stars 26 forks source link

What are .dx exactly? #34

Open JavierSanchez-Utges opened 4 months ago

JavierSanchez-Utges commented 4 months ago

I was wondering what the .dx files represent. Visualising them in PyMol I can only see cubes that contain the DeepPocket predicted top pockets. Is this right?

PDB: 7SUD (Chain A)

Screenshot 2024-04-20 at 12 26 14
JavierSanchez-Utges commented 4 months ago

I have looked at several examples, and they all look like this. That cube has only one or two dots. I did not edit the code, and this is what I got.

1a9w_E.clean_nowat_1.txt 1a52_A.clean_nowat_1.txt 1aii_A.clean_nowat_1.txt

RishalAggarwal commented 4 months ago

the .dx files are supposed to be predicted outputs from the segmentation model put in that format for visualization. Sometimes the model doesn't like the pocket provided to it and so it predicts very little, if this is a persisting problem then it is worrisome. Just for debugging purposes, could you use a lower threshold and see if you get a larger set of points?

RishalAggarwal commented 4 months ago

in any case, even if the segmentation model doesn't like the pocket, the classification model still ranks the fpocket output. So you could use the reranked fpocket predictions if that serves your purpose

JavierSanchez-Utges commented 4 months ago

@RishalAggarwal, by lower threshold, do you mean a higher distance? >3.5? Is there an email address where I can reach you? I have another query I would like to discuss! Thanks!

JavierSanchez-Utges commented 4 months ago

The .dx issue is actually for ALL pockets. Those segmented out, and those that are not.

RishalAggarwal commented 4 months ago

by threshold I mean the "-t" argument, this specifies the confidence level on whether the model considers a voxel point to be a part of the binding site or not. If the model does not predict any points with confidence greater than "t" you will not get any segmented shapes for that pocket.

JavierSanchez-Utges commented 4 months ago

I see, but then the confidence of the segmented pockets would be lower, right?

RishalAggarwal commented 4 months ago

yes thats right