Class CAConverter


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

      • CAConverter

        public CAConverter()
    • Method Detail

      • getCAOnly

        @Deprecated
        public static java.util.List<Chain> getCAOnly​(java.util.List<Chain> chains)
        Deprecated.
        Use the more generic getRepresentativeAtomsOnly(List) instead
        Convert a List of chain objects to another List of chains, containing C-alpha atoms only.
        Parameters:
        chains - list of chains
        Returns:
        a list of chains
      • getRepresentativeAtomsOnly

        public static java.util.List<Chain> getRepresentativeAtomsOnly​(java.util.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
      • getCAOnly

        @Deprecated
        public static Chain getCAOnly​(Chain chain)
        Deprecated.
        Use the more generic getRepresentativeAtomsOnly(Chain) instead
        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.
      • 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