RosettaCommons / RosettaCommons/rosetta
Failed to add residue HME at position 209 to surface - cannot find radius for FE1
Nobody has claimed this yet.
- Dominant language
- C++
- Stars
- 470
- Forks
- 169
- Avg merge
- 16d 23h
- Merged PRs (30d)
- 2
Description
When my molecule includes a metal atom (FE1) with 2-letter atomtype, Rosetta produces the following error:
core.scoring.sc.MolecularSurfaceCalculator: [ ERROR ] Failed to add residue HME at position 209 to surface - cannot find radius for FE1
I tried resolving this by adding a line like * FE* 1.41 to the sc_radii.lib file, but the error persists.
Root Cause Analysis
After investigating the relevant code:
I believe the issue occurs when copying residue.atom_name(i) to scatom.atom, as the code skips the first character. However, when generating the error message, it prints the full residue.atom_name(i), which is misleading.
Workaround
Instead of adding * FE* 1.41 to sc_radii.lib, adding * E* 1.41 works correctly. This confirms that the code is looking for the atom name without the first character.
Contributor guide
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
Research direction
Read core/scoring/sc/MolecularSurfaceCalculator.cc around lines 325-330 and inspect how residue.atom_name(i) is converted before the sc_radii.lib lookup. Reproduce the FE1 case and compare the lookup key with the error text. Done means the reported atom name and radius lookup behavior are consistent for two-letter atomtypes.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- cpp
- Domain
- bioinformatics
- Issue type
- Bug
- Difficulty
- 3/5
- Estimated time
- 1-2 days
- Activity status
- Stale
- Clarity
- Mostly clear
- Newbie friendliness
- 48/100