Rosetta  3.7
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Friends Macros Pages
Functions | Variables
toolbox.load_ligand Namespace Reference

Functions

def load_from_pubchem
 methods for obtaining ligand chemical files and producing params .files More...
 
def sdf2mdl
 
def molfile2params_quick
 
def generate_nonstandard_residue_set
 Temporary solution, load the ligand for this session. More...
 
def params_from_pubchem
 
def add_cid_to_database
 
def pose_from_pubchem
 returns a pose of the molecule More...
 
def pose_from_params
 

Variables

tuple database = os.path.abspath( os.environ['PYROSETTA_DATABASE'] )
 Permanent solution, add the .params to the minirosetta_database of PyRosetta. More...
 
string fa_standard = database+'/chemical/residue_type_sets/fa_standard/'
 
string fa_custom = 'residue_types/custom'
 

Function Documentation

def toolbox.load_ligand.add_cid_to_database (   cid,
  name 
)
def toolbox.load_ligand.generate_nonstandard_residue_set (   params_list)

Temporary solution, load the ligand for this session.

Returns a "custom" ResidueTypeSet with the normal ResidueTypes and any
    new ones added as a Vector1 of .params filenames,
    the input  <params_list>

example(s):
    res_set = generate_nonstandard_residue_set( Vector1( ['ATP.params'] ) )
See Also:
    Pose
    Residue
    ResidueType
    ResidueTypeSet

Referenced by toolbox.load_ligand.pose_from_params(), and toolbox.load_ligand.pose_from_pubchem().

def toolbox.load_ligand.load_from_pubchem (   cid,
  sdffilename = '' 
)

methods for obtaining ligand chemical files and producing params .files

References basic::database.open().

Referenced by toolbox.load_ligand.params_from_pubchem().

def toolbox.load_ligand.molfile2params_quick (   mdlfile,
  name 
)
def toolbox.load_ligand.params_from_pubchem (   cid,
  name 
)
def toolbox.load_ligand.pose_from_params (   filename,
  params_list 
)
def toolbox.load_ligand.pose_from_pubchem (   cid,
  name,
  temporary = True 
)
def toolbox.load_ligand.sdf2mdl (   sdfile,
  mdlfilename 
)

Variable Documentation

tuple toolbox.load_ligand.database = os.path.abspath( os.environ['PYROSETTA_DATABASE'] )

Permanent solution, add the .params to the minirosetta_database of PyRosetta.

string toolbox.load_ligand.fa_custom = 'residue_types/custom'
string toolbox.load_ligand.fa_standard = database+'/chemical/residue_type_sets/fa_standard/'