Missing movers in OSX PyRosetta

Member Site Forums PyRosetta PyRosetta – General Missing movers in OSX PyRosetta

Viewing 2 reply threads
  • Author
    Posts
    • #1466
      Anonymous

        The RigidBodyMovers are missing in the OSX build of PyRosetta.

        Examples:

        On Ubuntu:

        In [3]: help(RigidBody
        RigidBodyDofPerturbMover       RigidBodyMover
        RigidBodyDofRandomizeMover     RigidBodyPerturbMover
        RigidBodyDofRandomTransMover   RigidBodyPerturbMover
        RigidBodyDofSeqPerturbMover    RigidBodyRandomizeMover
        RigidBodyDofSeqRandomizeMover  RigidBodySpinMover
        RigidBodyDofSeqTransMover      RigidBodyTransMover
        RigidBodyDofTransMover

        On OSX:

        In [3]: help(RigidBody
        RigidBodyInfo RigidBodyInfoAP RigidBodyInfoCAP


        In [3]: rbm = RigidBodyMover()


        NameError      Traceback (most recent call last)
        NameError: name 'RigidBodyMover' is not defined

        I have tried the following PyRosetta builds on OSX:
        PyRosetta.MacOSX.Lion-r46035.64Bit
        PyRosetta.MacOSX.Lion-r50085.64Bit
        PyRosetta.MacOSX.Lion-r52031.64Bit
        PyRosetta.MacOSX.Lion-r52067.64Bit
        PyRosetta.MacOSX.Lion-r52108.64Bit

        None appear to have RigidBodyMovers

        I’m trying now to build PyRosetta myself.

      • #8114
        Anonymous

          You do not need to build custom version of PyRosetta to get basic movers – they all, and 99% of other Rosetta objects included in binaries that we provide. Have you imported the rigid namespace? Here what you need to do (example of iPython session from one of the recent builds):


          In [3]: import rosetta

          In [4]: import rosetta.protocols.rigid

          In [5]: rosetta.init()
          Found rosetta_database at PyRosetta/src/python/bindings/rosetta_database; using it....
          PyRosetta 2.012 [Rosetta-3.4.r52107M] retrieved from: https://svn.rosettacommons.org/source/trunk/rosetta/rosetta_source
          (C) Copyright Rosetta Commons Member Institutions.
          Created in JHU by Sergey Lyskov and PyRosetta Team.

          core.init: Mini-Rosetta version 52107M from https://svn.rosettacommons.org/source/trunk/rosetta/rosetta_source
          core.init: command: app -database PyRosetta/src/python/bindings/rosetta_database -ex1 -ex2aro
          core.init: 'RNG device' seed mode, using '/dev/urandom', seed=-605003746 seed_offset=0 real_seed=-605003746
          core.init.random: RandomGenerator:init: Normal mode, seed=-605003746 RG_type=mt19937

          In [6]: rosetta.protocols.rigid.R hit-tab-key-here
          rosetta.protocols.rigid.RigidBodyDeterministicSpinMover rosetta.protocols.rigid.RigidBodyDeterministicSpinMoverAP
          rosetta.protocols.rigid.RigidBodyDeterministicSpinMoverCAP rosetta.protocols.rigid.RigidBodyDofPerturbMover
          rosetta.protocols.rigid.RigidBodyDofPerturbMoverAP rosetta.protocols.rigid.RigidBodyDofPerturbMoverCAP
          rosetta.protocols.rigid.RigidBodyDofRandomizeMover rosetta.protocols.rigid.RigidBodyDofRandomizeMoverAP
          rosetta.protocols.rigid.RigidBodyDofRandomizeMoverCAP rosetta.protocols.rigid.RigidBodyDofRandomTransMover
          rosetta.protocols.rigid.RigidBodyDofRandomTransMoverAP rosetta.protocols.rigid.RigidBodyDofRandomTransMoverCAP
          rosetta.protocols.rigid.RigidBodyDofSeqPerturbMover rosetta.protocols.rigid.RigidBodyDofSeqPerturbMoverAP
          rosetta.protocols.rigid.RigidBodyDofSeqPerturbMoverCAP rosetta.protocols.rigid.RigidBodyDofSeqRandomizeMover
          rosetta.protocols.rigid.RigidBodyDofSeqRandomizeMoverAP rosetta.protocols.rigid.RigidBodyDofSeqRandomizeMoverCAP
          rosetta.protocols.rigid.RigidBodyDofSeqTransMover rosetta.protocols.rigid.RigidBodyDofSeqTransMoverAP
          rosetta.protocols.rigid.RigidBodyDofSeqTransMoverCAP rosetta.protocols.rigid.RigidBodyDofTransMover
          rosetta.protocols.rigid.RigidBodyDofTransMoverAP rosetta.protocols.rigid.RigidBodyDofTransMoverCAP
          rosetta.protocols.rigid.RigidBodyMotionMover rosetta.protocols.rigid.RigidBodyMotionMoverAP
          rosetta.protocols.rigid.RigidBodyMotionMoverCAP rosetta.protocols.rigid.RigidBodyMover
          rosetta.protocols.rigid.RigidBodyMoverAP rosetta.protocols.rigid.RigidBodyMoverCAP
          rosetta.protocols.rigid.RigidBodyPerturbMover rosetta.protocols.rigid.RigidBodyPerturbMoverAP
          rosetta.protocols.rigid.RigidBodyPerturbMoverCAP rosetta.protocols.rigid.RigidBodyPerturbNoCenterMover
          rosetta.protocols.rigid.RigidBodyPerturbNoCenterMoverAP rosetta.protocols.rigid.RigidBodyPerturbNoCenterMoverCAP
          rosetta.protocols.rigid.RigidBodyPerturbNoCenterMoverCreator rosetta.protocols.rigid.RigidBodyPerturbNoCenterMoverCreatorAP
          rosetta.protocols.rigid.RigidBodyPerturbNoCenterMoverCreatorCAP rosetta.protocols.rigid.RigidBodyRandomizeMover
          rosetta.protocols.rigid.RigidBodyRandomizeMoverAP rosetta.protocols.rigid.RigidBodyRandomizeMoverCAP
          rosetta.protocols.rigid.RigidBodySpinMover rosetta.protocols.rigid.RigidBodySpinMoverAP
          rosetta.protocols.rigid.RigidBodySpinMoverCAP rosetta.protocols.rigid.RigidBodyTransMover
          rosetta.protocols.rigid.RigidBodyTransMoverAP rosetta.protocols.rigid.RigidBodyTransMoverCAP
          rosetta.protocols.rigid.RollMover rosetta.protocols.rigid.RollMoverAP
          rosetta.protocols.rigid.RollMoverCAP rosetta.protocols.rigid.RollMoverCreator
          rosetta.protocols.rigid.RollMoverCreatorAP rosetta.protocols.rigid.RollMoverCreatorCAP
          rosetta.protocols.rigid.RotateJumpAxisMover rosetta.protocols.rigid.RotateJumpAxisMoverAP
          rosetta.protocols.rigid.RotateJumpAxisMoverCAP

          In [6]: rosetta.protocols.rigid.RigidBodyMover()
          Out[6]:

        • #8167
          Anonymous

            Yes importing the namespace works. Thank you.

        Viewing 2 reply threads
        • You must be logged in to reply to this topic.