You are here

PyRosetta

Mistake about rosetta.init()

Category: 
PyRosetta

Dear All:

I have a mistake about rosetta.init() as 'AttributeError:'module' object has no attribute 'init''.

From rosetta import * ; from pyrosetta import * and pyrosetta.init() are all fine. My os is ubuntu 16.04.  Pyrosetta is 'PyRosetta4.Release.python27.ubuntu.release-151.tar.bz2'.

Post Situation: 

Problem about Pyrosetta installation win7

Category: 
PyRosetta

I have installed the Pyrosetta 4 (win vision) on my win7. I can do the command of "from rosetta import *", but when I do "from pyrosetta import *", there are mistake "ImportError:No module named pyrosetta". What can I do for that?

Post Situation: 

Fragment Quality

Category: 
PyRosetta

Dear All,

 

I am trying to measure the quality of the 9-mer fragment file in order to debug the Abinitio fold of a structure I have designed. I am trying to do it in PyRosetta.

 

This is my script so far:

#Choose Fragment
fragset = ConstantLengthFragSet(9)
fragset.read_fragment_file('9-mer')

#Setup Calculator
calc = FragQualCalculator(fragset , 1.0 , 30.0)

Am I in the right track?

Post Situation: 

How To Read PyRosetta Documentation - GenericMonteCarloMover as example

Category: 
PyRosetta

Dear All,

Is it possible to explain how to read these PyRosetta documents? it seems they show what each function takes, but it is not clear what are these arguments specifically and where to get them from.
URL: http://graylab.jhu.edu/PyRosetta.documentation/rosetta.protocols.simple_moves.html#GenericMonteCarloMover-apply

Post Situation: 

SASA of pose

Category: 
PyRosetta

Dear All,

 

Is there a way to isolate or select the different structure layers from the pose according to their SASA (surface accessable surface area) in PyRosetta?

 

I have a python script that can do this from a .pdb file, but is there a way to do it from a PyRosetta pose?

 

I read that there are movers called LayerSelector and SelectBySASA both in Rosetta for Rosetta Script, is there their equivilent in PyRosetta?

 

Thank you

Post Situation: 

generate_nonstandard_residue_set Exception

Category: 
PyRosetta

generate_nonstandard_residue_set is giving me an error I don't understand. Can anyone tell what I'm doing wrong here?

In [2]: %paste
from rosetta import *
from pyrosetta import *
init()
params_paths = utility.vector1_string()
params_paths.extend(["GUA.params"])

In [3]: nonstandard_residue_set = generate_nonstandard_residue_set( params_paths )
---------------------------------------------------------------------------

Post Situation: 

Pages

Subscribe to RSS - PyRosetta