Atom a = new AtomImpl();
a.setName("CA");
a.setFullName(" CA ");
a.setCoords(new double[] { 47.866, 28.415, 2.952 });
Group g = new AminoAcidImpl();
g.setPDBCode("9");
try {
g.setPDBName("GLY");
} catch (PDBParseException e) {
e.printStackTrace();
}
g.addAtom(a);
Chain c = new ChainImpl();
c.addGroup(g);
Structure s = new StructureImpl();