I am trying to visualize a cytochrome c protein and display one of the residues in ball and sticks over it. I am using the PDB file 1AKK for it (https://www.rcsb.org/structure/1akk). The Import function works nicely:
Import["PDBfiles/1akk.pdb", "PDB"] However, I would like to display one specific residue (tryptophane 59) in balls of stick over it. To that end, I extracted the coordinates of the atoms in XYZ format and can display for example both the tryptophane and the haem together using
trp59Ferric = Import["PDBfiles/trp59Ferric.xyz", "Graphics3D"]; haemFerric = Import["PDBfiles/haemFerric.xyz", "Graphics3D"]; Show[haemFerric, trp59Ferric] However, when I tried to display tryptophane with the protein with Show[Import["PDBfiles/1akk.pdb", "PDB"], trp59Ferric], the residue does not appear, only the protein structure and the haem (first figure in this post). I suspect that the coordinates used in the background are not the same (pm and angstrom) but if I try to convert the coordinates in the xyz files, then Mathematica can't figure out the bonds anymore in the balls and stick display.
Maybe there is a better path not relying on extra xyz files and just using the PDB file in Mathematica. Any suggestions ? Many thanks. As a side question, is it possible to increase the resolution of the protein display so that it looks more "smooth" ?


