Hi everyone (mostly who are interested in structural bioinformatics). I face the problem that I cannot plot the electron density of a specific part of my protein. For the whole protein it is not a problem:
from Bio.PDB import * import nglview as nv import ipywidgets pdbl = PDBList() path = pdbl.retrieve_pdb_file('1FAT') parser = MMCIFParser() struct = parser.get_structure("1fat", path) view = nv.show_biopython(struct) view
But when I tried to pick up residues from 10 till 109 (
res_list = Selection.unfold_entities(struct, "R")[10:109]) and plot I can't do that, because for
nglview I need to have a special Object. As I'm a newbie, I'd like to address this question to specialists.
At the moment I'm trying to visualise model (structure), not electron density. But the next step is trying to find a package to visualize electron density also. I've just started becoming familiar with some open packages.
Thank You in Advance!