Class CAConverter

java.lang.Object
org.biojava.nbio.structure.io.CAConverter

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

    • CAConverter

      public CAConverter()
  • Method Details

    • getCAOnly

      @Deprecated public static List<Chain> getCAOnly(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 List<Chain> getRepresentativeAtomsOnly(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