bg_color white fetch 5m65 fetch 5m65, type=2fofc hide everything, resn HOH or resn EDO hide cartoon, all show stick, polymer select ligand, chain A and (resn NAD or resn ADE or resn NA) select site, byres polymer and not ligand within 6 of ligand select trash, byres all beyond 15 of ligand select site, (sidechain or name CA) and site show sticks, site isomesh site_mesh, 5m65_2fofc, 1, site, carve=2 set mesh_color, blue, site_mesh isomesh ligand_mesh, 5m65_2fofc, 1, ligand, carve=2 set mesh_color, red, ligand_mesh set_bond stick_radius, 0.1, not ligand color gray70, elem C color gray30, elem C and chain B color tv_green, elem C and ligand hide everything, trash set_view (\ 0.366293699, -0.407885402, 0.836282015,\ -0.678728878, -0.731914997, -0.059710618,\ 0.636460483, -0.545772016, -0.544973552,\ -0.000041443, 0.000396097, -56.153579712,\ 16.434064865, 0.380558848, -3.865852833,\ 48.708053589, 82.131317139, -20.000000000 ) set ray_shadows, 0 set ray_opaque_background, 1 set ray_trace_mode, 0 png mesh.png, ray=1, dpi=300