There's a call to get alt locs, e.g. something like this:
if (g.hasAltLoc()) {
System.out.println("## alt locs");
System.out.println(g.getAltLocs().size());
for (Group altLoc: g.getAltLocs()) {
for (Atom a : altLoc.getAtoms()) {
System.out.println(a);
}
}
}
Dear all,
we are trying to read the HETATM of the following cif
https://files.rcsb.org/view/4KL8.cif with this code:
for (Chain c : structure.getChains()) {
for (Group g : c.getAtomGroups(GroupType.HETATM)) {
for (Atom a : g.getAtoms()) {
System.ou