# Question_2
#retrive protien
fetch 1a30
#to hide all visuals
cmd.hide("everything","all")
#show cartoon figure of 1a30
cmd.show("cartoon" ,"1a30")
#select cpk ligand found on PBD molecule information.
select ligand, chain C and resn GLU+ASP+LEU
#cpk ligand shown in spheres
cmd.show("spheres" ,"ligand")
#cpk ligand color change
cmd.color_deep("cyan", 'ligand', 0)
get_view
# Question_3
#load 1CWA protien structure onto pyMOL
fetch 1CWA
#hide protien struture to better see selected items
cmd.hide("everything","all")
#selecting side chain A atoms
select chainA, chain A
#selecting visual of side chain A in cartoon form
cmd.show("cartoon" ,"chainA")
#changeing color of chain A cartoon
cmd.color_deep("wheat", 'chainA', 0)
#selecting side chain C atoms
select chainC, chain C
#selecting visual of side chain C in stick form 89 atoms
cmd.show("sticks" ,"chainC")
#changeing color of chain C stick
cmd.color_deep("blue", 'chainC', 0)
get_view