Pranavkhade / PACKMAN

PACKMAN: PACKing and Motion ANalysis
Other
33 stars 7 forks source link

Long PDB / PDBx - MMCIF : unable to perform an analyze #35

Closed Kambeiz closed 2 years ago

Kambeiz commented 2 years ago

Dear maintainer, i encounter a problem using PACKMAN

Client Used : PACKMAN GUI provided through pip installation

Error encountered with PDB : image

Error encountered with CIF : image image In both case, i don't obtain any result

Parameters used on the GUI : default

At first i thought it was the PDB or CIF file i was providing that was with a wrong formatting, so i tried various mean for saving my original file using different software (pdb_tools, pdb2cif, pymol, vmd..). I also tried to split my structure and kept one monomer, but it doesn't work either.

I tried to use a similar structure (size wise) in CIF, it seemed to work.

So i come in your direction seeking help

Kind Regards

Pranavkhade commented 2 years ago

Hello,

Thank you for reporting this potential error. Can you please provide me with a PDB file that you were using? (if that is alright)

Thanks, Pranav

Kambeiz commented 2 years ago

Hello,

Here is a pdb file where i encounter the error, this one have been formatted through the use of vmd option "saving coordinates file" https://cloud.univ-grenoble-alpes.fr/index.php/s/sqp7mknp5GKAnTc

Thank you for your time Nagi

Pranavkhade commented 2 years ago

The reason why this is failing is that PACKMAN requires Atom IDS to be integers (this follows guidelines on: http://www.wwpdb.org/documentation/file-format-content/format33/sect9.html#ATOM) whereas, there are lines in the provided files that use string in the atom ids (check line number 100001). This is making PACKMAN to reject the file.

I do not think I will be making an exception to make atom ids as strings as it doesn't follow the convention. Please convert the atom IDs to integers using scripts and it will work like any other PDB file.

Thank you. Sorry for the delay in the response as I have joined a full-time job. Pranav