Rosetta  2015.31
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Friends Macros Pages
Variables
rename_params Namespace Reference

Variables

list char_set
 
string usage = "%prog -d path/to/database params_directory"
 
tuple parser = OptionParser(usage)
 
list param_dir = args[0]
 
tuple ligand_names = itertools.product(char_set,repeat=3)
 
tuple disallowed_ligands = get_disallowed_ligands(options.database)
 
tuple exclude_list = open(options.excluded,'r')
 
tuple line = line.rstrip()
 
string pdb_path_template = "%(subdir)s/%(param)s.pdb"
 
string conformer_path_template = "%(subdir)s/%(param)s_conformers.pdb"
 
tuple ligand_name = ligand_names.next()
 
tuple params_path = glob.glob(subdir+"/*.params")
 
tuple param_name = params_path.split("/")
 
dictionary pdb_path = pdb_path_template%{"subdir" : subdir, "param" : param_name}
 
dictionary conformer_path = conformer_path_template%{"subdir" : subdir, "param" : param_name}
 
dictionary new_pdb_path = pdb_path_template%{"subdir" : subdir, "param" : ligand_name}
 
dictionary new_conformer_path = conformer_path_template%{"subdir" : subdir, "param" : ligand_name}
 
string new_params_path = subdir+"/"
 

Variable Documentation

list rename_params.char_set
Initial value:
1 = ['0','1','2','3','4','5',
2  '6','7','8','9','A','B',
3  'C','D','E','F','G','H',
4  'I','J','K','L','M','N',
5  'O','P','Q','R','S','T',
6  'U','V','W','X','Y','Z']
dictionary rename_params.conformer_path = conformer_path_template%{"subdir" : subdir, "param" : param_name}
string rename_params.conformer_path_template = "%(subdir)s/%(param)s_conformers.pdb"
tuple rename_params.disallowed_ligands = get_disallowed_ligands(options.database)
tuple rename_params.exclude_list = open(options.excluded,'r')
string rename_params.ligand_name = ligand_names.next()
tuple rename_params.ligand_names = itertools.product(char_set,repeat=3)
tuple rename_params.line = line.rstrip()
dictionary rename_params.new_conformer_path = conformer_path_template%{"subdir" : subdir, "param" : ligand_name}
string rename_params.new_params_path = subdir+"/"
dictionary rename_params.new_pdb_path = pdb_path_template%{"subdir" : subdir, "param" : ligand_name}
list rename_params.param_dir = args[0]
tuple rename_params.param_name = params_path.split("/")
tuple rename_params.params_path = glob.glob(subdir+"/*.params")
tuple rename_params.parser = OptionParser(usage)
dictionary rename_params.pdb_path = pdb_path_template%{"subdir" : subdir, "param" : param_name}
string rename_params.pdb_path_template = "%(subdir)s/%(param)s.pdb"
string rename_params.usage = "%prog -d path/to/database params_directory"