I had an issue with ACE as a name in pyrosetta. This is normally an acetyl group or acetate. And even if you have `-load_PDB_components false` it will refuse the params file. It is a standard residue type. In pyrosetta this gives me an acetyl group (*C()C)
pose = pyrosetta.Pose()
rts = pose.conformation().modifiable_residue_type_set_for_conf(pyrosetta.rosetta.core.chemical.FULL_ATOM_t)
# add new residue
lig = pyrosetta.rosetta.core.conformation.ResidueFactory.create_residue(rts.name_map('ACE'))
pose.append_residue_by_jump(lig, 1)
import nglview
nglview.show_rosetta(pose)
WAT is another one like that. There are a couple.
If you have acetyl-lysine, calling the whole residue ALY is the better option —or using the patch `ac`, but from what I gather you have a ligand.
Can you call it XYZ or LIG (with PDB_components off)?