Package org.biojava.bio.structure

Examples of org.biojava.bio.structure.AminoAcidImpl


    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();
View Full Code Here

TOP

Related Classes of org.biojava.bio.structure.AminoAcidImpl

Copyright © 2018 www.massapicom. All rights reserved.
All source code are property of their respective owners. Java is a trademark of Sun Microsystems, Inc and owned by ORACLE Inc. Contact coftware#gmail.com.