Repository navigation
PyRosetta pdb rotamers and params loading #466
|
I am currently trying to learn Rosetta through the PyRosetta package, as I have previous experience with the language (too scared to pick up XML). I am trying to design with multiple ncAAs, each with a differing amount of chi angles. Some of them contain over 4 chi angles, so I want to use pdb rotamers files instead of the normal rotlib. Are there any resources I can look at to learn how to do that? Also, is there an elegant way of loading a large number of ncAAs into PyRosetta? I am currently walking through a file of them and loading them with the -extra_res_fa flag, but I have some issues with this method. Thanks for any help! |
Replies: 1 comment 2 replies
|
With the PDB_ROTAMERS approach, all you need to do is create a file with the structures of each conformer listed one after each other, separated by Regarding loading a large number of params files, there's an |
The PDB_ROTAMERS specification is separate from the NCAA specification. If you're using PDB_ROTAMERS, you'll have to remove the NCAA_ROTLIB lines.
So replace:
with something like
Note also that when you use PDB_ROTAMERS, a relative path is assumed to be relative to the params file that's loading it, versus the absolute database path, the working directory, or similar.