<div dir="ltr"><div dir="ltr"><br></div><div class="gmail_quote"><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex">
<br>
Is there a way to loop over _atom_site entries?<br></blockquote><div><br></div><div>The README contains an example of getting the AtomSite object. From there you can loop with a stream, e.g.</div><div><br></div><div> AtomSite atomSite = data.getAtomSite();<br> FloatColumn xCoord = atomSite.getCartnX();<br> xCoord.values().forEach(<do somethin here>); </div><div><br></div><div>Of course you can also parse into a BioJava Structure object which will read all coordinates, atom names etc. See the tutorial: </div><div><br></div><div><a href="https://github.com/biojava/biojava-tutorial/blob/master/structure/mmcif.md">https://github.com/biojava/biojava-tutorial/blob/master/structure/mmcif.md</a><br></div><div><br></div><div><br></div></div></div>