-
Notifications
You must be signed in to change notification settings - Fork 17
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
problem with model loading #13
Comments
Hi Julia, You are using the distogram flag with the contact network. In case your restraints are just contacts, you should remove the --distogram flag or if you want to use the distogram network, you need to use the other network weights: finetuning_model_5_ptm_distogram.pt |
Thank you for a prompt response! I've used an example that you have in read.me:
Here I have one more question: should the restrains.csv file be the one that In the article, you give a very nice example with T1064, can you please share the input file for this prediction? I am basically trying to repeat your results:) Best, |
No, it doesn't have to be produced by preprocessing_distributions.py, but it has to contain a distogram. contacts_to_distograms.py would also work or you generate one manually. All the input files only include residue positions, esp. the distogram network is amino acid-agnostic. If you want to have residue-residue-specific distograms you would need to combine multiple distograms. Note that the T1064 example was done with the contact network. You can find the features and crosslinks for some predictions on modelarchive, e.g., this one should be very close in performance: https://modelarchive.org/doi/10.5452/ma-rap-alink-1259 The pickled feature file can be used with --features |
Sorry, I didn't get how the input file should look like. Could you pls give an example?
this one I also didn't get this, sorry:( There are no csv files at all. I am not so experienced in the field. Could you pls give a more detailed explanation? Thank you in advance, |
Sorry, didn't properly address this. Yes, restraints.csv would be the output of the script.
The CSV input to the distogram network looks something like this: residueFrom residueTo 1..128 Columns 2-130 contain the probability of each bin in a distogram going from 2.3125 to 42 Angstrom. The 128th bin is a catch-all bin for distances >= 42.
In the associated data zip-file under Downloads are two inputs, both are already preprocessed so it skips the CSV part. T1064.pkl contains the features (including MSAs) and T1064_8_LEU_10A_CA.pt contains the crosslinks. You can use them directly to sidestep the feature generation etc. like so (untested):
|
Hi there! I am back to try to make AlphaLink work:) Now, I use this histogram mode. So I use this command:
This command gives me the following traceback:
since there is no error, I am puzzled. Why is it killed? Do you have any ideas about what could go wrong? Best regards, |
Sorry, I have absolutely no idea. Never seen this before. Are you somehow resources constrained? Like running out of memory? Is this target very large? If you are able to share the data, I could run it locally to verify. |
It is a dummy example that I am trying to make work. Under this link the files that I've used. Let me know if you can't access the folder. Thank you for your help! |
Sorry, I'm out sick. Won't be able to test it before next week. But killed points towards some external event since the process seemed to be killed. |
Worked fine for me. Required 18G of GPU memory. INFO:predict_with_crosslinks.py:Loaded OpenFold parameters at resources/AlphaLink_params/finetuning_model_5_ptm_distogram.pt... |
Apparently there is a problem with my server..it just kills the process. I will try to figure out what is wrong. Thank you for your help! The tool is really cool!:) Cheers, |
Do you run it locally or is it submitted to some compute nodes with, e.g., SLURM? |
Hello AlphaLink developers, I am trying to use the T1064 data from ModelArchive to run AlphaLink migrate-to-openfold-1.0 with the following:
And the output indicates that I am "Missing key(s) in state_dict:" (link to output). Also, as a separate issue, I'm unable to run the test.test_model unit test. I was able to run the analogous unit test in my openfold installation in a separate conda environment, but not in my AlphaLink with my AlphaLink environment: ======================================================================
|
Hi Audrey, I can't find the part about "missing keys" in the output. The CUDA error points towards something else, although I don't know what. The migrate-to-openfold-1.0 hasn't been maintained, I would suggest switching to the main branch. I have never run the tests before. These are the original OpenFold tests. They were not updated for AlphaLink. The error indicates that some dependencies are missing. You will probably also run into issues since there are no crosslink inputs in the tests. |
Hi AlphaLink developers!
I am trying to use AlphaLink. I've downloaded the model via your dropbox link and unpacked it with gunzip. So I start the prediction like this:
The traceback I've got:
Do you have any ideas about what went wrong?:)
Best regards,
Julia
The text was updated successfully, but these errors were encountered: