# Trouble with pdb submission

**URL:** <https://ask.bioexcel.eu/t/trouble-with-pdb-submission/2897>\
**Category:** HADDOCK\
**Created:** [April 22, 2021, 12:15pm UTC](https://ask.bioexcel.eu/t/trouble-with-pdb-submission/2897 "2021-04-22T12:15:55Z")\
**Posts on this page:** 7\
**Page:** 1

<div class="post-metadata">

**Author:** ![cfogarty](https://avatars.discourse-cdn.com/v4/letter/c/a587f6/32.png) [@cfogarty](https://ask.bioexcel.eu/u/cfogarty)\
**Post date:** [April 22, 2021, 12:15pm UTC](https://ask.bioexcel.eu/t/trouble-with-pdb-submission/2897/1 "2021-04-22T12:15:55Z")

</div>

I am getting errors when attempting to submit PDBs to HADDOCK. I am attempting to dock some glycans to pilin and I can get neither the pilin nor the glycan pdb’s to parse. I’ve completely renumbered the residues and added in the correct chain ID.

For the pilin I’ve ended up with the following error (note the file is 14389 lines long and the entry to that line is END)  
Error in PDB file.  
Could not parse the PDB file at line 14389: record unknown ()

For the Glycan I’ve ended up with  
Error in PDB file.  
Issue when parsing the PDB file at line **1**.  
ATOM/HETATM line does not meet the expected format

File in question’s first line is  
HETATM 1 O1 GAL B 6 25.224 30.447 29.172 0.00 0.00 O  
where as the example is  
HETATM 9 C1 NAG B 102 171.992 99.750 236.168 1.00 10.00 C

I am quite stuck any help would be really appreciated.

---

<div class="post-metadata">

**Author:** ![amjjbonvin](https://dub1.discourse-cdn.com/flex013/user_avatar/ask.bioexcel.eu/amjjbonvin/32/23_2.png) [@amjjbonvin](https://ask.bioexcel.eu/u/amjjbonvin)\
**Post date:** [April 22, 2021, 12:45pm UTC](https://ask.bioexcel.eu/t/trouble-with-pdb-submission/2897/2 "2021-04-22T12:45:45Z")

</div>

The PDB format is very strict. Columns alignment is critical.

You could try to read it for example in PyMol and export it again (as PDB format).

Or try to validate your file using our PDB-tools web portal at:

```
https://bianca.science.uu.nl/pdbtools/
```

---

<div class="post-metadata">

**Author:** ![cfogarty](https://avatars.discourse-cdn.com/v4/letter/c/a587f6/32.png) [@cfogarty](https://ask.bioexcel.eu/u/cfogarty)\
**Post date:** [April 22, 2021, 2:06pm UTC](https://ask.bioexcel.eu/t/trouble-with-pdb-submission/2897/3 "2021-04-22T14:06:42Z")

</div>

Thanks, while manually editing I added a space between the Chain ID and Res ID as when the Res ID \>= 1000 the two columns bleed into each other but it turns out that was not an issue so just using PDB-tools and not touching anything fixed the pilin.

Still having the same issues with my glycan it was just regularly exported from pymol and I renamed the Residue ID’s in accordance with  
[HADDOCK Web Server - Settings](https://wenmr.science.uu.nl/haddock2.4/library).  
i.e changing ATOM /HETATM , 4YB/NAG/ , 3LB/GAL , 0SA/SIA.  
I admit I made a slight blunder because I neglected two spaces so it was not quite right.  
However now its telling me that because of NAG it should be ligand (and when i switch it to ligand it tells me to switch to glycan for the same reason)

---

<div class="post-metadata">

**Author:** ![honoratorv](https://dub1.discourse-cdn.com/flex013/user_avatar/ask.bioexcel.eu/honoratorv/32/672_2.png) [@honoratorv](https://ask.bioexcel.eu/u/honoratorv)\
**Post date:** [April 22, 2021, 2:21pm UTC](https://ask.bioexcel.eu/t/trouble-with-pdb-submission/2897/4 "2021-04-22T14:21:51Z")

</div>

> [@cfogarty](#):
>
> However now its telling me that because of NAG it should be ligand (and when i switch it to ligand it tells me to switch to glycan for the same reason)

There seems to be an issue with the submission of glycans at the moment, we will work on a fix!

---

<div class="post-metadata">

**Author:** ![cfogarty](https://avatars.discourse-cdn.com/v4/letter/c/a587f6/32.png) [@cfogarty](https://ask.bioexcel.eu/u/cfogarty)\
**Post date:** [April 22, 2021, 2:49pm UTC](https://ask.bioexcel.eu/t/trouble-with-pdb-submission/2897/5 "2021-04-22T14:49:00Z")

</div>

Great news 🙂 Thanks !

---

<div class="post-metadata">

**Author:** ![honoratorv](https://dub1.discourse-cdn.com/flex013/user_avatar/ask.bioexcel.eu/honoratorv/32/672_2.png) [@honoratorv](https://ask.bioexcel.eu/u/honoratorv)\
**Post date:** [April 22, 2021, 4:41pm UTC](https://ask.bioexcel.eu/t/trouble-with-pdb-submission/2897/6 "2021-04-22T16:41:01Z")

</div>

@cfogarty, the issue should be fixed! Please try again. 👨🏾‍🔧

---

<div class="post-metadata">

**Author:** ![cfogarty](https://avatars.discourse-cdn.com/v4/letter/c/a587f6/32.png) [@cfogarty](https://ask.bioexcel.eu/u/cfogarty)\
**Post date:** [April 22, 2021, 6:47pm UTC](https://ask.bioexcel.eu/t/trouble-with-pdb-submission/2897/7 "2021-04-22T18:47:41Z")

</div>

PDB is parsed ! Thank you !
