Hi,
I am using the following code to export my trajectory as a multi-model PDB file:
complexx_temp = u_aligned.select_atoms(sel_prot, sel_lig)
with MDAnalysis.Writer("out_" + fname_root + "_PDBtrajectories.pdb", bonds=None, multiframe=True) as W:
  for ts in u_aligned.trajectory:
    W.write(complexx_temp)
Then, I use
PLIP to calculate the interactions between the ligand and the protein.
The problem here is that the PLIP program is complaining about the PDB final format.
My DCD/PSF files have the complex system information as segment IDs (PROA/HETA) chains (A for protein, B for ligand), residue names (protein ok, and LIG for ligand).
The PDB output from MDAnalysis (v2.6) is in the form:
TITLE Â Â MDANALYSIS FRAMES FROM 0, STEP 1: Created by PDBWriter
CRYST1 Â 144.632 Â 144.632 Â 144.632 Â 90.00 Â 90.00 Â 90.00 P 1 Â Â Â Â Â 1
MODEL Â Â Â Â 1
ATOM Â Â Â 1 Â N Â MET X Â 1 Â Â -28.647 -45.944 Â 26.553 Â 1.00 Â 0.00 Â Â Â PROA Â Â
ATOM Â Â Â 2 Â HT1 MET X Â 1 Â Â -29.677 -46.064 Â 26.469 Â 1.00 Â 0.00 Â Â Â PROA Â Â
...Â
ATOM Â 8953 Â H20 LIG X 999 Â Â -57.268 -41.180 Â 4.867 Â 1.00 Â 0.00 Â Â Â HETA Â Â
ATOM Â 8954 Â LP1 LIG X 999 Â Â -65.187 -35.766 Â 2.503 Â 1.00 Â 0.00 Â Â Â HETAÂ Â Â
Is it possible to check/fix this PDB output by adding the information already present in the DCD/PSF files?
Thanks in advance.
Camps