Dears,
I would like to select the first solvation shell to do a specific analysis generating a multiframe -pdb.. But the pdb generated the waters selected are relate to first frame. Which is the best manner to do it?
B12F12 = mda.Universe(file.pdb)
B12F12_cluster = B12F12.select_atoms("resname BF1",updating= True)
B12F12_1stSS = B12F12.select_atoms("resname SOL and around 6.0 resname BF1", updating = True)
with mda.Writer("B12F12_1stShell.pdb", multiframe = True) as W:
for ts in B12F12.trajectory:
W.write(B12F12_1stSS)
Thanks in advance
Mire