Dear Authors and team
I have used deeptime and pyemma both for constructing MSM, after PCCA I fetched the representative structure, but somehow the peptide bond between two of the residues is broken in all three structures.
here is the code
frame_set = set()
for i in range(nstates):
frames = np.where(metastable_traj == i)[0]
if len(frames) > 0:
frame_set.add(frames[0])
frame_set = sorted(frame_set)
current_index = 0
global_index = 0
for chunk in md.iterload('md_com.xtc', top='protein_only_com.pdb', chunk=100):
for frame in chunk:
if global_index in frame_set:
frame.save_pdb(f"pcca_state_{current_index+1}.pdb")
print(f"Saved representative structure: pcca_state_{current_index+1}.pdb")
current_index += 1
global_index += 1
Dear Authors and team
I have used deeptime and pyemma both for constructing MSM, after PCCA I fetched the representative structure, but somehow the peptide bond between two of the residues is broken in all three structures.
here is the code
frame_set = set()
for i in range(nstates):
frames = np.where(metastable_traj == i)[0]
if len(frames) > 0:
frame_set.add(frames[0])
frame_set = sorted(frame_set)
current_index = 0
global_index = 0
for chunk in md.iterload('md_com.xtc', top='protein_only_com.pdb', chunk=100):