Rosetta
Namespaces | Functions | Variables
make_comparison.py File Reference

Namespaces

 make_comparison
 

Functions

def make_comparison.length (index)
 
def make_comparison.angle (index)
 
def make_comparison.torsion (index)
 

Variables

 make_comparison.parser = argparse.ArgumentParser()
 
 make_comparison.type
 
 make_comparison.int
 
 make_comparison.choices
 
 make_comparison.arguments = parser.parse_args()
 
dictionary make_comparison.expected
 
dictionary make_comparison.measured
 
bool make_comparison.collecting_data = False
 
 make_comparison.current_section = None
 
 make_comparison.section_pattern = re.compile(r'(\w+) \‍((\d)/\d\)')
 
 make_comparison.value = float(line)
 
 make_comparison.match = section_pattern.match(line)
 
 make_comparison.loop = pdb.Model('solution.%d.pdb' % arguments.solution)
 
 make_comparison.backbone = loop.select_atoms('N', 'CA', 'C')
 
 make_comparison.coordinates = backbone.get_coordinates()
 
 make_comparison.indices = backbone.indices()
 
 make_comparison.wrap = len(coordinates)
 
dictionary make_comparison.torsion_error = measured['torsions'] - expected['torsions']
 
dictionary make_comparison.angle_error = measured['angles'] - expected['angles']
 
dictionary make_comparison.length_error = measured['lengths'] - expected['lengths']