Rosetta  2015.31
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Friends Macros Pages
Namespaces | Variables
rename_params.py File Reference

Namespaces

 rename_params
 

Variables

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