The code is here: https://gitlab.kitware.com/vtk/vtk/-/blob/master/IO/Chemistry/vtkPDBReader.cxx?ref_type=heads