Skip to content

'std::out_of_range' Error in Relax with noncanonical amino acids #236

Answered by roccomoretti
zrpeak asked this question in Rosetta
Discussion options

You must be logged in to vote

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.)

Replies: 1 comment 1 reply

Comment options

You must be logged in to vote
1 reply
@zrpeak
Comment options

Answer selected by zrpeak
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
2 participants