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

Automatically download public examples to run in nanoDFT.py #60

Open
AlexanderMath opened this issue Sep 1, 2023 · 0 comments
Open
Assignees

Comments

@AlexanderMath
Copy link
Contributor

AlexanderMath commented Sep 1, 2023

To quickly experiment with different molecules, we want --mol_str tryptofan to automatically download/run simulation for tryptofan. We don't want to host molecule data, instead, download data on the fly and then do the simulation.

Useful small datasets

Download on the fly from pubchem:
Example: search for cyclodextrin on pubchem, click the entryalpha-cyclodextrin, copy SMILES string then create RDKit object and use their force field to optimize 3d atom positions (we can then run DFT).

Pointers

  • import pandas as pd; pd.read_hdf5("..")
  • import wget; wget.download(url)

Suggestion

  • Rename gdb to utils/. Write the code to download molecules in utils/download.py and then import that from nanoDFT.py
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

2 participants