-
Notifications
You must be signed in to change notification settings - Fork 353
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
AssertionError: ('B', 1) is not in pdb file! #290
Comments
So I did the same thing trying to run run_inference.py but that is just a starting point that will allow you to customize what you want to target. What you'll want to run is:
It's in the docs and in that script, you'll see how you can run run_inference.py to your liking |
Thank you both for your replies. So I've done some digging and found that when I run the parsed_pdb function on '1qys.pdb' (one of the structures in the examples/input_pdbs directory) and get the 'pdb_idx', there is no B1. In fact there doesn't seem to be a B chain in any of the structures listed in the input_pdbs folder, and I've even tried uploading a separate structure that I downloaded myself and it also doesn't have a B chain. All of the structures seem to have truncated A chains, for example A3-36, A38-A100 etc. I'm new to this so I was a bit surprised to see it, but looking at some of the structures on rcsb.org seems to confirm that this is just how they've been deposited. Thanks |
It's normal for pdbs to have no B chain and not start from A1. You can either find a pdb with B1-100 in it or follow atumbio's advice to run official examples first. |
Good to know. Now that I know how to access this information about the chain before running the script I can just adjust contigmap.contigs accordingly. Thanks a lot for your help |
Hello,
I keep trying to run the binder design example: ./scripts/run_inference.py 'contigmap.contigs=[B1-100/0 100-100]' inference.output_prefix=test_outputs/binder_test inference.num_designs=10
But there seems to be an issue with how the PDB files are being read. I keep getting the following error: "AssertionError: ('B', 1) is not in pdb file!". This is irrespective of which PDB file I specify from the 'input_pdbs' folder, or whether I even specify an 'inference.input_pdb' argument at all. Could you please help with this?
Thanks
The text was updated successfully, but these errors were encountered: