multimer model error:config_dict.py", line 903, in __getitem__ field = self._fields[key] KeyError: 'data'
See original GitHub issueHi,
I am able to predict a protein file but when I try the multimer model, I use:
/home/qiushi/localcolabfold/colabfold_batch/bin/colabfold_batch \ > --amber \ > --templates \ > --num-recycle 1 \ > --model-type AlphaFold2-multimer \ > /home/qiushi/RESC6/complex.fasta \ > /home/qiushi/RESC6/complexdir
I got this error:
If you require more MSAs, please host your own API and pass it to --host-url
2022-03-06 18:21:09,433 Running colabfold 1.2.0 (46ae46946d771af1745d55c2c40050e8f54f5e17) 2022-03-06 18:21:09,434 Found 8 citations for tools or databases 2022-03-06 18:21:16,481 Query 1/2: T1084 (length 73) 2022-03-06 18:21:17,725 Sleeping for 9s. Reason: PENDING COMPLETE: 100%|βββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββ| 150/150 [elapsed: 00:12 remaining: 00:00]2022-03-06 18:21:29,021 Sequence 0 found no templates 2022-03-06 18:21:29,021 Running model_3 Traceback (most recent call last): File β/home/qiushi/localcolabfold/colabfold_batch/colabfold-conda/lib/python3.7/site-packages/ml_collections/config_dict/config_dict.pyβ, line 903, in getitem field = self._fields[key] KeyError: βdataβ During handling of the above exception, another exception occurred: Traceback (most recent call last): File β/home/qiushi/localcolabfold/colabfold_batch/colabfold-conda/lib/python3.7/site-packages/ml_collections/config_dict/config_dict.pyβ, line 827, in getattr return self[attribute] File β/home/qiushi/localcolabfold/colabfold_batch/colabfold-conda/lib/python3.7/site-packages/ml_collections/config_dict/config_dict.pyβ, line 909, in getitem raise KeyError(self._generate_did_you_mean_message(key, str(e))) KeyError: ββdataββ During handling of the above exception, another exception occurred: Traceback (most recent call last): File β/home/qiushi/localcolabfold/colabfold_batch/colabfold-conda/bin/colabfold_batchβ, line 8, in <module> sys.exit(main()) File β/home/qiushi/localcolabfold/colabfold_batch/colabfold-conda/lib/python3.7/site-packages/colabfold/batch.pyβ, line 1386, in main save_pair_representations=args.save_pair_representations, File β/home/qiushi/localcolabfold/colabfold_batch/colabfold-conda/lib/python3.7/site-packages/colabfold/batch.pyβ, line 1102, in run prediction_callback=prediction_callback, File β/home/qiushi/localcolabfold/colabfold_batch/colabfold-conda/lib/python3.7/site-packages/colabfold/batch.pyβ, line 198, in predict_structure use_templates, File β/home/qiushi/localcolabfold/colabfold_batch/colabfold-conda/lib/python3.7/site-packages/colabfold/batch.pyβ, line 132, in batch_input eval_cfg = model_config.data.eval File β/home/qiushi/localcolabfold/colabfold_batch/colabfold-conda/lib/python3.7/site-packages/ml_collections/config_dict/config_dict.pyβ, line 829, in getattr raise AttributeError(e) AttributeError: ββdataββ
any idea how to make it work?
THanks
Issue Analytics
- State:
- Created 2 years ago
- Comments:8
Top GitHub Comments
HI echard write the write syntax of the fasta file . The main problem is that 2 different lines start with > and collabfold canβt accept it.
If I am not mistaken the type of input fasta that you used is accepted but the AlphaFold2 or used to be accepted
Hope that will work for you Cheers JJ
Hi Qiushi, no, you have to have only one entry in the fasta file (only one header line starting with β>β, and then the sequences separated by β:β
MAAHKGAEHHHKAAEHHEQAAKHHHAAAEHHEKGEHEQAAHHADTAYAHHKHAEEHAAQAAKHDAEHHAPKPH
No trailing β:β either β¦ π Cheers, Eckhard
Am 20.03.22 um 11:40 schrieb Qiushi Liu:
β Eckhard Hofmann @.***> Ruhr-Uni Bochum AG Proteinkristallographie ND04/318, Fachnummer 50 44780 Bochum Tel: +49-(0)234/32-24463, Sekr. -24461, FAX: -14762 ORCID: 0000-0003-4874-372X