'std::out_of_range' Error in Relax with noncanonical amino acids #236
-
I am investigating the effect of mutations with noncanonical amino acids (NCAAs) on protein-protein interface. I have generated the params file for my NCAA with mol_to_params.py and the Relax of the NCAA incorporated protein complex goes well initially. However, when I tried to change the position that NCAA incorporates, or delete one of the protein in the complex, the Relax program crashed with the error below:
And below is the crash log:
The NCAA params file seemed to be OK, as the Relax program worked well in several different positions. Any help is greatly appreciated and I am happy to supply any other information/files that may be helpful in debugging. |
Beta Was this translation helpful? Give feedback.
Replies: 1 comment 1 reply
-
It looks like the error you're getting is due to an assumption that a PROTEIN residue has a CA atom. (That is, an atom named "CA".) If that's not the case, you'll see the error you do here. You're seeing the issue because the constrain-to-start mechanism adds a virtual root atom, and the faulty assumption is in the virtual root addition code. There really isn't a good workaround, aside from A) not using the constraint-to-start code, B) renaming the atoms in your NCAA to include a CA atom or C) make sure that your non-CA-containing NCAA isn't in the middle third of the protein. (For some reason the virtual root code only works with the middle third of the system.) |
Beta Was this translation helpful? Give feedback.
It looks like the error you're getting is due to an assumption that a PROTEIN residue has a CA atom. (That is, an atom named "CA".) If that's not the case, you'll see the error you do here.
You're seeing the issue because the constrain-to-start mechanism adds a virtual root atom, and the faulty assumption is in the virtual root addition code.
There really isn't a good workaround, aside from A) not using the constraint-to-start code, B) renaming the atoms in your NCAA to include a CA atom or C) make sure that your non-CA-containing NCAA isn't in the middle third of the protein. (For some reason the virtual root code only works with the middle third of the system.)