# how do i get the coordinates of atoms from the output of the 'vtkPDBReader' object?

**URL:** https://discourse.vtk.org/t/how-do-i-get-the-coordinates-of-atoms-from-the-output-of-the-vtkpdbreader-object/13686
**Category:** Support
**Created:** [April 10, 2024, 1:16pm UTC](https://discourse.vtk.org/t/how-do-i-get-the-coordinates-of-atoms-from-the-output-of-the-vtkpdbreader-object/13686 "2024-04-10T13:16:49Z")
**Posts on this page:** 2
**Page:** 1

<div class="post-metadata">

### Author: ![erya123](https://discourse.vtk.org/letter_avatar_proxy/v4/letter/e/dec6dc/32.png) [@erya123](https://discourse.vtk.org/u/erya123)
#### Post date: [April 10, 2024, 1:16pm UTC](https://discourse.vtk.org/t/how-do-i-get-the-coordinates-of-atoms-from-the-output-of-the-vtkpdbreader-object/13686/1 "2024-04-10T13:16:49Z")

</div>

the vtkPDBReader object can read the PDB file. how could it get the information of molecule of protein and amino acid , the coordinates of the atom, etc? Thanks for your reply!

---

<div class="post-metadata">

### Author: ![mwestphal](https://discourse.vtk.org/user_avatar/discourse.vtk.org/mwestphal/32/19_2.png) [@mwestphal](https://discourse.vtk.org/u/mwestphal)
#### Post date: [April 17, 2024, 10:29am UTC](https://discourse.vtk.org/t/how-do-i-get-the-coordinates-of-atoms-from-the-output-of-the-vtkpdbreader-object/13686/2 "2024-04-17T10:29:02Z")

</div>

> [@erya123](#):
>
> how could it get the information of molecule of protein and amino acid , the coordinates of the atom, etc?

The code is here: [https://gitlab.kitware.com/vtk/vtk/-/blob/master/IO/Chemistry/vtkPDBReader.cxx?ref\_type=heads](https://gitlab.kitware.com/vtk/vtk/-/blob/master/IO/Chemistry/vtkPDBReader.cxx?ref_type=heads)
