Closed milenamlakic closed 3 months ago
Hi,
a few questions which might explain why this is happening:
protein_atomgroup.guess_bonds()
before protein_mol = plf.Molecule.from_mda(protein_atomgroup)
Ok I see where the problem is, your protein PDB file contains bond information for only a subset of residues (the non-standard ones like HIE), so the atoms without explicit bonds end up being assigned charges to satisfy valence rules.
You could either try removing the CONECT
record at the end of your protein file, or simply forcing bond guessing calculation with:
u = mda.Universe("protein.pdb", guess_bonds=True)
protein_mol = plf.Molecule.from_mda(u)
Or if you have the option, export the protein PDB file with all bonds explicit rather than just the ones for non-standard residues.
Please reopen this issue if you run into other related problems.
I have a problem with plf.display_residues(protein_mol). There are a lot of O2-, don't know how to fix, if you have idea I would be grateful..![Issues](https://github.com/chemosim-lab/ProLIF/assets/159446573/67e7767f-234c-40ac-87ce-ce872d83ce61)