Rosetta
Functions | Variables
run_sidechain Namespace Reference

Functions

def smart_int (string)
 
def setup_hook ()
 

Variables

dictionary name_abbreviations
 
string default_name = 'sandbox'
 
string default_structure = 'structures/contrived/valine.6.pdb'
 
dictionary default_residues
 
 parser = argparse.ArgumentParser()
 
 default
 
 action
 
 dest
 
 type
 
 int
 
 nargs
 
 smart_int
 
 job = scripting.Job()
 
 arguments = parser.parse_args()
 
 residues
 
 pdb_string
 
string command = 'git', 'rev-parse', '--show-toplevel'
 
 output = check_output(command, stderr=devnull)
 
 rosetta_path = output.strip()
 
 rosetta_subpath = lambda subpath: os.path.join(rosetta_path, subpath)
 
 background
 
 overwrite
 
 foreground
 
 hook
 
 dry_run
 

Function Documentation

◆ setup_hook()

def run_sidechain.setup_hook ( )

References rosetta_subpath.

◆ smart_int()

def run_sidechain.smart_int (   string)
 Convert the given string to an integer.  Metric suffixes, if they are 
present, will be properly translated. 

References ObjexxFCL.get(), int, and smart_int.

Variable Documentation

◆ action

run_sidechain.action

◆ arguments

run_sidechain.arguments = parser.parse_args()

◆ background

run_sidechain.background

◆ command

run_sidechain.command = 'git', 'rev-parse', '--show-toplevel'

◆ default

run_sidechain.default

◆ default_name

string run_sidechain.default_name = 'sandbox'

◆ default_residues

dictionary run_sidechain.default_residues
Initial value:
1 = {
2  'structures/contrived/valine.6.pdb': (3, 3),
3  'structures/contrived/lysine.6.pdb': (3, 3),
4  'structures/benchmark/1srp.pdb': (308, 319)
5 }

◆ default_structure

string run_sidechain.default_structure = 'structures/contrived/valine.6.pdb'

◆ dest

run_sidechain.dest

◆ dry_run

run_sidechain.dry_run

◆ foreground

run_sidechain.foreground

◆ hook

run_sidechain.hook

◆ int

run_sidechain.int

Referenced by smart_int().

◆ job

run_sidechain.job = scripting.Job()

◆ name_abbreviations

dictionary run_sidechain.name_abbreviations
Initial value:
1 = {
2  'sandbox': 'jobs/sandbox',
3 }

◆ nargs

run_sidechain.nargs

◆ output

run_sidechain.output = check_output(command, stderr=devnull)

◆ overwrite

run_sidechain.overwrite

◆ parser

run_sidechain.parser = argparse.ArgumentParser()

◆ pdb_string

run_sidechain.pdb_string

◆ residues

run_sidechain.residues

◆ rosetta_path

run_sidechain.rosetta_path = output.strip()

◆ rosetta_subpath

run_sidechain.rosetta_subpath = lambda subpath: os.path.join(rosetta_path, subpath)

Referenced by setup_hook().

◆ smart_int

run_sidechain.smart_int

Referenced by smart_int().

◆ type

run_sidechain.type