[Biojava-l] How to find Pubmed ID

Jose Duarte jose.duarte at rcsb.org
Wed May 29 13:22:44 EDT 2024


>
> Is there a way to loop over _atom_site entries?
>

The README contains an example of getting the AtomSite object. From there
you can loop with a stream, e.g.

        AtomSite atomSite = data.getAtomSite();
        FloatColumn xCoord = atomSite.getCartnX();
        xCoord.values().forEach(<do somethin here>);

Of course you can also parse into a BioJava Structure object which will
read all coordinates, atom names etc. See the tutorial:

https://github.com/biojava/biojava-tutorial/blob/master/structure/mmcif.md
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mailman.open-bio.org/pipermail/biojava-l/attachments/20240529/ced72368/attachment.htm>


More information about the Biojava-l mailing list