Class CAConverter


  • public class CAConverter
    extends Object
    Converts full atom representations to Calpha only ones.
    Version:
    %I% %G%
    Author:
    Andreas Prlic
    • Method Detail

      • getRepresentativeAtomsOnly

        public static List<ChaingetRepresentativeAtomsOnly​(List<Chain> chains)
        Convert a List of chain objects to another List of chains, containing Representative atoms only.
        Parameters:
        chains - list of chains
        Returns:
        a list of chains
        Since:
        Biojava 4.1.0
      • getRepresentativeAtomsOnly

        public static Chain getRepresentativeAtomsOnly​(Chain chain)
        Convert a Chain to a new Chain containing C-alpha atoms only.
        Parameters:
        chain - to convert
        Returns:
        a new chain containing Amino acids with C-alpha only.
        Since:
        Biojava 4.1.0