-
Notifications
You must be signed in to change notification settings - Fork 87
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
Template all atom mask was all zeros error #144
Comments
Hi, could you share your fasta file? I'll try to reproduce it, |
here is the input file: |
This input file works normally on alphafold2. What's the problem?I look forward to your reply. |
Hi, sorry for being so late. |
Hi, this bug has been fixed. |
Thank you! My problem is solved. |
I also encountered this problem. https://github.com/hpcaitech/FastFold/issues/106
I get the following error message:
`
running in multimer mode...
Traceback (most recent call last):
File "/public/home/FastFold/lib/conda/envs/fastfold/lib/python3.8/site-packages/fastfold/data/templates.py", line 859, in _process_single_hit
features, realign_warning = _extract_template_features(
File "/public/home/FastFold/lib/conda/envs/fastfold/lib/python3.8/site-packages/fastfold/data/templates.py", line 651, in _extract_template_features
raise TemplateAtomMaskAllZerosError(
fastfold.data.templates.TemplateAtomMaskAllZerosError: Template all atom mask was all zeros: 6qx9_A1. Residue range: 49-100
During handling of the above exception, another exception occurred:
Traceback (most recent call last):
File "inference.py", line 546, in
main(args)
File "inference.py", line 165, in main
inference_multimer_model(args)
File "inference.py", line 280, in inference_multimer_model
feature_dict = data_processor.process_fasta(
File "/public/home/FastFold/lib/conda/envs/fastfold/lib/python3.8/site-packages/fastfold/data/data_pipeline.py", line 1165, in process_fasta
chain_features = self._process_single_chain(
File "/public/home/FastFold/lib/conda/envs/fastfold/lib/python3.8/site-packages/fastfold/data/data_pipeline.py", line 1114, in _process_single_chain
chain_features = self._monomer_data_pipeline.process_fasta(
File "/public/home/FastFold/lib/conda/envs/fastfold/lib/python3.8/site-packages/fastfold/data/data_pipeline.py", line 942, in process_fasta
template_features = make_template_features(
File "/public/home/FastFold/lib/conda/envs/fastfold/lib/python3.8/site-packages/fastfold/data/data_pipeline.py", line 76, in make_template_features
templates_result = template_featurizer.get_templates(
File "/public/home/FastFold/lib/conda/envs/fastfold/lib/python3.8/site-packages/fastfold/data/templates.py", line 1167, in get_templates
result = _process_single_hit(
File "/public/home/FastFold/lib/conda/envs/fastfold/lib/python3.8/site-packages/fastfold/data/templates.py", line 888, in process_single_hit
"%s%s (sum_probs: %.2f, rank: %d): feature extracting errors: "
TypeError: must be real number, not NoneType
`
this here is the input file:
input.txt
In the fastfold/data/templates.py file,I modified the 884th line warning=None to solve this problem.
The text was updated successfully, but these errors were encountered: