You are here

any examples of calling SnugDock from pyrosetta?

2 posts / 0 new
Last post
any examples of calling SnugDock from pyrosetta?
#1

I am writing a python script that will do docking for my antibody-antigen samples, however, I could not find any SnugDock code examples with pyrosetta. Could you please give at least one?

Category: 
Post Situation: 
Thu, 2021-12-23 16:13
antonkulaga

If Google gives you nothing, then the answer is no to public examples.

However, reverse engineering a binary to be used in PyRosetta is not as crazy as it first sounds.
In https://www.rosettacommons.org/docs/latest/application_documentation/antibody/snugdock are listed the settings to expect.

In https://graylab.jhu.edu/PyRosetta.documentation/pyrosetta.rosetta.protocols.antibody.snugdock.html are listed the classes:

  • pyrosetta.rosetta.protocols.antibody.snugdock.SnugDock
  • pyrosetta.rosetta.protocols.antibody.snugdock.SnugDockCreator
  • pyrosetta.rosetta.protocols.antibody.snugdock.SnugDockProtocol

The __init__ is unfortunately missing from the documentation (Sphinx default settings), but calling help on it or instantiating the class with some unexpected arguement like Exception will tell you the options.
The first inherits DockingHighRes which is highly documented as its in the tutorial notebooks​ https://graylab.jhu.edu/PyRosetta.documentation/pyrosetta.rosetta.protocols.docking.html#pyrosetta.rosetta.protocols.docking.DockingHighRes . So most of the settings will be common. Do note how cycles of perturbations and spinings are not part of mover.

Mon, 2022-01-10 07:14
matteoferla