How to draw a 3d structure using 3d coordinates from pdb file? I am trying to create a 3d structure from 3d coordinated from a pdb file.
I am trying to draw 3d coordinates from pdb file &quot;ATOM 1 N VAL A 14 22.692 -27.591 -39.402&quot; and using webgl javascript.
I've managed to get the 3d coordinates from a pdb file but i don't know the exact logic that is used to create 3d structure from the coordinates found in pdb file.
I tried those coordinates and managed to create a cloud of 3d points but it is not anywhere near the structure that is found on pdb site.
So wondering how the structure is created on the pdb website?
JSmol sounds like what you want - it'll let you display 3D structures from PDB files onto webpages using JavaScript. If you just want to view the structure rather than display them on webpages, there's many programs that exist already like Swiss-PdbViewer and Pymol. There's even web-interfaces that let you upload a PDB file and they display it for you like Jena3D Viewer.