atom_accessibility = <float:1> | 1.0 | accessible atoms for MAKE_REGION |
region_size = <int:1> | 20 | size of exposed region in MAKE_REGION |
To obtain surface patches that look good in visual inspection, it is necessary to use a non-obvious scaling factor for atomic radii and probe radius for solvent calculation by model.write_data(), as well as the accessibility cutoff for model.make_region().
# Example for: model.make_region() # This will define a random contiguous patch of atoms on a surface of the # protein. env = environ(rand_seed=-18343) log.level(1, 1, 1, 1, 0) # Read the PDB file mdl = model(env) mdl.read(file='../atom_files/pdb1fdn.ent') # Calculate atomic accessibilities with appropriate probe_radius myedat = energy_data() myedat.radii_factor = 1.6 mdl.write_data(file='1fdn', edat=myedat, output='PSA ATOMIC_SOL', psa_integration_step=0.05, probe_radius=0.1) # Get the "random" patch of exposed atoms on the surface mdl.make_region(atom_accessibility=0.5, region_size=35) # Write out a PDB file with the patch indicated by Biso = 1: mdl.write(file='1fdn.reg')