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

"stereo_chemical_props.txt" missing for model relaxation #32

Closed
jhpanda opened this issue Jul 19, 2021 · 4 comments
Closed

"stereo_chemical_props.txt" missing for model relaxation #32

jhpanda opened this issue Jul 19, 2021 · 4 comments

Comments

@jhpanda
Copy link

jhpanda commented Jul 19, 2021

Hi Developers of AlphaFold2,

Thanks for sharing alphafold! It's really exciting!

I noticed that a file, alphafold/common/stereo_chemical_props.txt, containing structural parameters, is needed for model relaxation as indicated in alphafold/common/residue_constants.py line 406. But this file is actually missing in folder alphafold/common

Although it's not hard to find a similar file in openstructure (https://openstructure.org), I think adding this file to the folder would be great for others!

Best,
Junhui

@tfgg
Copy link
Collaborator

tfgg commented Jul 19, 2021

Hi Junhui,

This file should be copied over during the Docker build process as given in the Dockerfile:

https://github.com/deepmind/alphafold/blob/main/docker/Dockerfile#L60-L61

Is that not working?

(If you are setting up without using Docker I recommend following the Dockerfile to make sure you get all the steps and correct versions.)

@jhpanda
Copy link
Author

jhpanda commented Jul 19, 2021

Oh, I was running it on a non docker cluster using the script run_alphafold.py (since our HPC doesn't and will not support Docker container...). Thanks for clarifying!

@tfgg
Copy link
Collaborator

tfgg commented Jul 19, 2021

No problem! I believe there are some other issues discussing how to run it without Docker, if that helps.

@tfgg tfgg closed this as completed Jul 19, 2021
@vinicius-dev-app
Copy link

I had a similar problem on a non_docker install.

I noticed that the file failed to download due to a certificate error reported by wget. The command indicated on the website uses the -q option. This option prevented the error from being reported.

The command for "Download chemical properties to the common folder" is indicated on the website:
wget -q -P alphafold/alphafold/common/ https://git.scicore.unibas.ch/schwede/openstructure/-/raw/7102c63615b64735c4941278d92b554ec94415f8/modules/mol/alg/src/stereo_chemical_props.txt

I just removed the -q and used --no-check-certificate. This solved my case:
wget --no-check-certificate -P alphafold/alphafold/common/ https://git.scicore.unibas.ch/schwede/openstructure/-/raw/7102c63615b64735c4941278d92b554ec94415f8/modules/mol/alg/src/stereo_chemical_props.txt

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