Class AminoAcidManipulator


  • public class AminoAcidManipulator
    extends Object
    Class with convenience methods that provide methods to manipulate AminoAcid's.
    Author:
    Egon Willighagen
    Source code:
    main
    Belongs to CDK module:
    standard
    Created on:
    2005-08-19
    • Constructor Detail

      • AminoAcidManipulator

        public AminoAcidManipulator()
    • Method Detail

      • removeAcidicOxygen

        public static void removeAcidicOxygen​(IAminoAcid acid)
                                       throws CDKException
        Removes the singly bonded oxygen from the acid group of the AminoAcid.
        Parameters:
        acid - AminoAcid from which to remove the oxygen
        Throws:
        CDKException - when the C-terminus is not defined for the given AminoAcid
      • addAcidicOxygen

        public static void addAcidicOxygen​(IAminoAcid acid)
                                    throws CDKException
        Adds the singly bonded oxygen from the acid group of the AminoAcid.
        Parameters:
        acid - AminoAcid to which to add the oxygen
        Throws:
        CDKException - when the C-terminus is not defined for the given AminoAcid