Is it possible to color by chain using the residue number?
For example, in my pdb file the lines are set up like this:
HETATM 39 C AAA 5 33.92 -59.98 -8.73 1.0 1.0
How would I color the chains by the column where the first “5” is? I have the atoms categorized by that number so that all of the atoms in a specific chain are given one number.
Any help would be greatly appreciated! Thanks!