I would like to extract x,y,z coordinates of any 3 atoms from a pdb file. How to rectify this error and make it generalized?
Ältere Kommentare anzeigen
ubq=getpdb('1UBQ');
for n=[1,2,3]
Q(n)=[ubq.Model.Atom(n).X, ubq.Model.Atom(n).Y, ubq.Model.Atom(n).Z]
end
Akzeptierte Antwort
Weitere Antworten (0)
Kategorien
Mehr zu Bioinformatics Toolbox finden Sie in Hilfe-Center und File Exchange
Produkte
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!