You are here
Is it perhaps possible to get a list of all torsion angles in the pose? I’m using the pyrosetta with the CHARMM force filed to do some monte-carlo simulations of spin-label rotamers. This works very well, except that it turns out I need to apply the CMAP correction as well. This correction is basically a 24x24 lookup table for the energy between two dihedral angles.
Parsing and loading the CMAP from the parameter file is (almost) trivial in python. But now I have to map the mm_atom_name(s) to the correct two torsions.
For example I have to map
Under Residue.chi() there is a warning
CAUTION: This function does not cause updating to any internal coordinate data. See Residue::set_chi() and Residue::set_all_chi() functions for versions which handle coordinate updates.
But in code it seems that Residue::set_chi() and Residue::set_all_chi() (at least in pyrosetta) do not update internal data as well. Is this a bug or a feature?
What is the most elegant way to display rotamers in PyMol?
This is a spin-off from this question.
I have a basic implementation working here. I had the most problems since doing r.pose_from_sequence('Z') was not working.
Any suggestions about improving this are welcome.
def display_rotamers(pose, rotamers, pymol_mover):
I would like to get all residues that are close to any chosen residue in my pose. (I need a list of all residues whose side chains could potentially interact with the side chain of my chosen residue.)
I’m guessing the information is available in `pose.energies().tenA_neighbor_graph()`, but I can’t seem to access it in PyRosetta.
for l in pose.energies().tenA_neighbor_graph().get_node(1).edge_list_begin():
TypeError: 'EdgeListIterator' object is not iterable
This is probably not the right place to post this, but I did not find any better palce:
I'm having trouble posting a reply to this question (https://www.rosettacommons.org/node/3777). Upon saving a reply the site returns an uninformative error message "Unexpected error". Also a blank reply is saved. I have also tried posting from a different computer, but that did not improve the situation.
The message I'm trying to post is below:
Is there a way to get rotamers in PyRosetta? I googled around and found this old post, but the conclusion seemed to be, that it might be easier to implement the parsing of the rotamer libraries again. Is this still the case?
I tried to explore on my own (see ipython notebook), but the most promising function
Dear Sir or Madam,
I know we can use cmd.exe to export command line by using
python name.py > name.txt
However, we cannot see anything in the cmd.exe if we do that.
I am thinking can we export result from iPython to a text file? I was trying
run name.py > name.txt
But I think the file of "name.txt" has not been created.
Can you please help me? Thank you very much.
When running simple scripts such as these, the memory usage of the python interpreter under windows goes to about 5.5 GB. Im using the r10 version of PyRosetta.Is such high memory usage normal?
Under linux (version '56891:56891:6efc58f8abb54611ace5a6cdd7e69e6c970a01ef') the same script takes about 1 GB.
Does this perhaps have something to do with the monolith (win) vs namespace (linux) release?
Dear PyRosetta Forum Team,
Can I ask can we have the function of email alert once someone has replied our post? Now I need to open the forum every time I want to check if someone has replied.
Thank you very much.