Open zznidar opened 1 year ago
ProtoSyl.jl uses a quite complex regex string to parse PDB files. I'd have to check against this example and update it. Unfortunately I'm currently away from a computer for a while. I'll take a look at this whenever I have a chance.
Sometimes, residues in PDB files are not numbered using numbers only, but contain a letter suffix (100A, 100B, 100C ... 100H, for example). These are called insertion codes and can often be seen some antibodies, such as PDB 1HZH.
However, when trying to load the mentioned PDB-file using
pose = ProtoSyn.Peptides.load("1hzh.pdb")
, an error is thrown:If I delete the residues with insertion codes, the file loads fine (but the deleted residues are missing then).