I have been trying to load 'HYP.params' for the hydroxyproline residue. According to previous answers in the forum there are 2 options: add the params file to the residue_types folder and editing the residue_types.txt or loading the params file via command lines in pyrosetta. Neither of these options work for me and raise the following error:
File: /Volumes/MacintoshHD3/benchmark/W.fujii.release/rosetta.Fujii.release/_commits_/main/source/src/core/chemical/AA.cc:301 [ ERROR ] UtilityExitException ERROR: unrecognized aa type HYP
I added the params file as a regular text file.
Thanks in advance.
PS: These are the PyRosetta code lines for (trying to) load HYP.params (although I have seen multiple approaches).
pose = pyrosetta.Pose()
rts = pose.conformation().modifiable_residue_type_set_for_conf(pyrosetta.rosetta.core.chemical.FULL_ATOM_t)
new = pyrosetta.rosetta.core.chemical.read_topology_file('HYP.params',rts)