Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Pdl1 benchmark looking for masif_opts["coord_dir_npy"] #6

Closed
av1659 opened this issue Mar 18, 2020 · 13 comments
Closed

Pdl1 benchmark looking for masif_opts["coord_dir_npy"] #6

av1659 opened this issue Mar 18, 2020 · 13 comments

Comments

@av1659
Copy link

av1659 commented Mar 18, 2020

Looks like an artifact from matlab. What's the fix for this?

@pablogainza
Copy link
Collaborator

pablogainza commented Mar 18, 2020 via email

@av1659
Copy link
Author

av1659 commented Mar 20, 2020

Thanks for taking a look! I've been trying to debug on my end as well. Did you replace the 'coords_mds.m' or '03-compute_coords.py' files with something else in this version?

@pablogainza
Copy link
Collaborator

pablogainza commented Mar 23, 2020 via email

@av1659
Copy link
Author

av1659 commented Mar 23, 2020

Hi - i would really appreciate if you can share access to the precomputed data. For a test case, I have just been running the target 4ZQK_A against 4ZQK_B to see if these two partners receive a high score.

However the model is not finding any intersection in selected = np.intersect1d(true_iface, near_points)

Why is this? Since they are actual partners there should be some intersection I believe.

@pablogainza
Copy link
Collaborator

pablogainza commented Mar 24, 2020 via email

@pablogainza
Copy link
Collaborator

pablogainza commented Mar 24, 2020 via email

@av1659
Copy link
Author

av1659 commented Mar 24, 2020

Hi! To get the docker to run the benchmark, I had to uninstall open3d and do pip install open3d-python. I also had to move import pymesh to the top of all the import statements.

This is what I did for 4ZQK:
(from within data/masif_ppi_search)

./data_prepare_one.sh 4ZQK_A
./data_prepare_one.sh 4ZQK_B
./compute_descriptors.sh 4ZQK_A
./compute_descriptors.sh 4ZQK_B

(from within data/masif_site)

 ./data_prepare_one.sh 4ZQK_A
./data_prepare_one.sh 4ZQK_B
 ./predict_site.sh 4ZQK_A
 ./predict_site.sh 4ZQK_B
 ./color_site.sh 4ZQK_A
 ./color_site.sh 4ZQK_B

Then ran run_benchmark.sh from within data/masif_ppi_search/pdl1_benchmark

@av1659
Copy link
Author

av1659 commented Mar 31, 2020

Hi! I tried your new code run_benchmark_nn.sh, still just with 4ZQK_A and 4ZQK_B. If I set cutoff=2.0 or more, then it finds overlap in 4ZQK_B. For default cutoff 1.7, still no luck.

For cutoff 1.7, I get this when I put a breakpoint before selected = np.intersect1d(true_iface, near_points):

(Pdb) true_iface
array([ 100,  152,  159,  165,  174,  187,  203,  222,  291,  354,  377,
        516,  536,  577,  594,  606,  625,  636,  649,  666,  669,  686,
        687,  699,  717,  746,  777,  830,  886,  903,  934,  973,  990,
        993, 1011, 1024, 1040, 1096, 1131, 1139, 1149, 1157, 1232, 1281,
       1289, 1292, 1317, 1343, 1408, 1467, 1484, 1493, 1593, 1599, 1606,
       1664, 1695, 1711, 1752, 1785, 1787, 1797, 1801, 1811, 1812, 1817,
       1890, 1916, 1922, 1961, 1980, 2004, 2034, 2060, 2124, 2134, 2170,
       2183, 2203, 2216, 2255])
(Pdb) near_points
array([668])

Perhaps my descriptors are different from your precomputed descriptors, for some reason? I ran your simplified data_prepare_compute_descriptors.sh (thanks for that!) Please advise.

@pablogainza
Copy link
Collaborator

pablogainza commented Mar 31, 2020 via email

@av1659
Copy link
Author

av1659 commented Apr 6, 2020

Hi! I'm happy to say that the cutoff for 1.7 works in the docker now. I had to reinstall pymesh (not with pip) and this fixed the problem.

@av1659
Copy link
Author

av1659 commented Apr 11, 2020

Hi there - I downloaded your precomputed data, but the predicted surfaces directory is not there - "masif_site/output/all_feat_3l_pred_surfaces." Can you provide the link to this for the PDL1 benchmark? Thanks so much!

@pablogainza
Copy link
Collaborator

pablogainza commented Apr 11, 2020 via email

@av1659
Copy link
Author

av1659 commented Apr 12, 2020

Got it to work! Thanks

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants