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

How to get score when run unidock tooks? #89

Open
smilenaderi opened this issue Mar 5, 2024 · 4 comments
Open

How to get score when run unidock tooks? #89

smilenaderi opened this issue Mar 5, 2024 · 4 comments
Labels
enhancement New feature or request

Comments

@smilenaderi
Copy link

When I use unidock tools I only get output ligand. How I can get score?

@smilenaderi smilenaderi added the enhancement New feature or request label Mar 5, 2024
@smilenaderi
Copy link
Author

@Hong-Rui

@Hong-Rui
Copy link
Collaborator

Hong-Rui commented Mar 5, 2024

Hi, I've just add a module for doing this in branch feature/unidock-sdf-parsing
https://github.com/dptech-corp/Uni-Dock/blob/feature/unidock-sdf-parsing/unidock_tools/unidock_tools/modules/ligand_prep/unidock_parsing_sdf.py

Temperally, you can use this docking pose analysis and scroing extraction functionality by something like this:

from unidock_tools.modules.ligand_prep.unidock_parsing_sdf import UniDockParsingSDF

unidock_parsing = UniDockParsingSDF(input_sdf_file_name_list,
                                    docked_sdf_file_name_list,
                                    n_cpu=12,
                                    working_dir_name='./')

unidock_parsing.run_unidock_parsing()

docking_pose_info_df_list = unidock_parsing.docking_pose_summary_info_df_list

@dp-yuanyn may integrate this and wrap it into a CLI later...
And of course, some features like polar-hydrogen optimization algorithms might be added into this code later on...

Hope this helps.

@dp-yuanyn
Copy link
Contributor

@smilenaderi Hi, if you use unidock tools, the docking score will be saved in output SDF file with property name docking_score, like this:
result SDF img

@smilenaderi
Copy link
Author

Thank you so much all. Perfect! It worked.

@Hong-Rui @dp-yuanyn
Is there any guide on how to use Uni-mol in docker?

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

No branches or pull requests

3 participants