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

[FEATURE]: retrieve files for given molecules #37

Open
davidegraff opened this issue Mar 22, 2022 · 0 comments
Open

[FEATURE]: retrieve files for given molecules #37

davidegraff opened this issue Mar 22, 2022 · 0 comments
Labels
enhancement New feature or request

Comments

@davidegraff
Copy link
Collaborator

Is your feature request related to a problem? Please describe.
Some users have noted that they would like a method by which to programmatically retrieve the in/out files corresponding to a specific compound. They can currently do this themselves by calling VirtualScreen.collect_all() and manually mapping the names of each compound to the collected files and unzipping only those. This is cumbersome.

Desired solution/workflow

# vs: VirtualScreen
# smis: List[str]
y = vs(smis)
best_cpd = smis[np.argmax(y)]
pose_file = vs.get_poses(best_cpd)

Thoughts

  • could return the poses as an array of shape p x n x 3, but that would require additional and some custom PDBQT parsing code (MDanalysis doesn't parse multiple models from a single pdbqt from my understanding)
  • logically a function of the VirtualScreen?
  • should support single or batch retrieval, batch-specific code to come later
@davidegraff davidegraff added the enhancement New feature or request label Mar 22, 2022
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

1 participant