Rosetta
Functions | Variables
pyrosetta.toolbox.load_ligand Namespace Reference

Functions

def load_from_pubchem (cid, sdffilename="")
 methods for obtaining ligand chemical files and producing params .files More...
 
def sdf2mdl (sdfile, mdlfilename)
 
def molfile2params_quick (mdlfile, name)
 
def params_from_pubchem (cid, name)
 
def add_cid_to_database (cid, name)
 
def pose_from_pubchem (cid, name, temporary=True)
 returns a pose of the molecule More...
 
def pose_from_params (filename, params_list)
 

Variables

 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

◆ add_cid_to_database()

def pyrosetta.toolbox.load_ligand.add_cid_to_database (   cid,
  name 
)

◆ load_from_pubchem()

def pyrosetta.toolbox.load_ligand.load_from_pubchem (   cid,
  sdffilename = "" 
)

methods for obtaining ligand chemical files and producing params .files

References basic::database.open(), print(), and str().

Referenced by pyrosetta.toolbox.load_ligand.params_from_pubchem().

◆ molfile2params_quick()

def pyrosetta.toolbox.load_ligand.molfile2params_quick (   mdlfile,
  name 
)

◆ params_from_pubchem()

def pyrosetta.toolbox.load_ligand.params_from_pubchem (   cid,
  name 
)

◆ pose_from_params()

def pyrosetta.toolbox.load_ligand.pose_from_params (   filename,
  params_list 
)

◆ pose_from_pubchem()

def pyrosetta.toolbox.load_ligand.pose_from_pubchem (   cid,
  name,
  temporary = True 
)

◆ sdf2mdl()

def pyrosetta.toolbox.load_ligand.sdf2mdl (   sdfile,
  mdlfilename 
)

Variable Documentation

◆ database

pyrosetta.toolbox.load_ligand.database = os.path.abspath(os.environ["PYROSETTA_DATABASE"])

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

◆ fa_custom

string pyrosetta.toolbox.load_ligand.fa_custom = "residue_types/custom"

◆ fa_standard

string pyrosetta.toolbox.load_ligand.fa_standard = database + "/chemical/residue_type_sets/fa_standard/"