Electrostatics / pdb2pqr

PDB2PQR - determining titration states, adding missing atoms, and assigning charges/radii to biomolecules.
http://www.poissonboltzmann.org/
Other
124 stars 34 forks source link

Error with the online web server #191

Closed bb2n18 closed 2 years ago

bb2n18 commented 3 years ago

Hi,

I use the online web server to get the electrostatic profile of a protein surrounded by many lipids. I load a pdb file together with a mol2 file for the parameters of the lipids, however it crashes with the following error:

Error parsing line: invalid literal for int() with base 10: 'ori'

Duplicate atom names (N) found in ligand file! Duplicate atom names (CA) found in ligand file! Duplicate atom names (HA) found in ligand file! ... All my lipid atoms present errors since lipids have the same names and atom names. Is there a way to make APBS read the residue IDs instead of the atoms so it understands the correspondance between atoms and ligands please? Many thanks
sobolevnrm commented 3 years ago

@Eo300 @intendo can you please look into this?

Eo300 commented 3 years ago

Hi @bb2n18, apologies for the issues you're experiencing. Are you willing to share the PDB/mol2 files or the the ID of the job where you're encountering this? It should help with the troubleshooting process. Thanks!

bb2n18 commented 3 years ago

Hi @Eo300 ,

Thanks for your reply! Sorry for my late one. Sure, I can share the files I used, and the ID of the online job I just tried is: mnb75dcw9h How can I send you the files? It seems that these formats are not supported on this chat...

sobolevnrm commented 3 years ago

@bb2n18 -- I think you can just add "*.txt" to the end of the PBD/MOL2/input files.

bb2n18 commented 3 years ago

frame300_vmd.pdb.txt frame_0.mol2.txt

bb2n18 commented 3 years ago

Nice! Thank you @sobolevnrm

Eo300 commented 3 years ago

Regarding the error: Error parsing line: invalid literal for int() with base 10: 'ori': I noticed the REMARK your PDB file contains some incorrect column spacing. The REMARK statement expects a record number integer within columns 8 through 10, whereas your remark string follows the "REMARK" keyword. PDB2PQR attempts to parse the substring "ori" as an integer. Moving "original" to start at the 12th character and adding an integer where "ori" of "original" currently is should relieve that error (looking at the format should make it clear). Example:

REMARK   1 original generated coordinate pdb file

instead of...

REMARK original generated coordinate pdb file

As for having PDB2PQR read the residue IDs instead of names when associating items in the ligand file, is this something possible today or would it classify as a new feature request, @sobolevnrm / @intendo ?

sobolevnrm commented 3 years ago

As for having PDB2PQR read the residue IDs instead of names when associating items in the ligand file, is this something possible today or would it classify as a new feature request, @sobolevnrm / @intendo ?

I agree that this could be a new feature request but I'm not sure it would get very high priority for a while. Sorry.

bb2n18 commented 3 years ago

Hi, thank you for your replies. I corrected the "REMARK" line. However, I just tried to run the same calculation on the protein with only one lipid as a ligand. And I get the same issue, and I noticed that the error file presents the error as "Duplicate atom names (O) found in ligand file!" for atoms that don't belong to the ligand but to the protein. Should I only have the ligand atoms in the mol2 file that gives the atomic charges?

sobolevnrm commented 2 years ago

I don't understand what's going on with the provided MOL2 file: it contains several atoms/groups that should be represented as amino acids in a PDB file instead. Since this appears to be an invalid ligand file, I am closing the issue until the user can provide clarification.