Skip to content
Discussion options

You must be logged in to vote

you will need to score with given score function first, ie something like this should work:

from pyrosetta import *
from pyrosetta.toolbox import pose_from_rcsb
from pyrosetta.rosetta.core.scoring import EMapVector

init()
pose = pose_from_rcsb('1UBQ')
sfxn = get_score_function(True)
sfxn(pose)
res2 = pose.residue(2)
res5 = pose.residue(5)
emap = EMapVector()
sfxn.eval_ci_2b(res2, res5, pose, emap)

Replies: 1 comment 1 reply

Comment options

You must be logged in to vote
1 reply
@oroscow
Comment options

Answer selected by oroscow
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
2 participants