Package org.biojava.nbio.structure.io
Class CAConverter
- java.lang.Object
-
- org.biojava.nbio.structure.io.CAConverter
-
public class CAConverter extends java.lang.Object
Converts full atom representations to Calpha only ones.- Version:
- %I% %G%
- Author:
- Andreas Prlic
-
-
Constructor Summary
Constructors Constructor Description CAConverter()
-
Method Summary
All Methods Static Methods Concrete Methods Deprecated Methods Modifier and Type Method Description static java.util.List<Chain>
getCAOnly(java.util.List<Chain> chains)
Deprecated.Use the more genericgetRepresentativeAtomsOnly(List)
insteadstatic Chain
getCAOnly(Chain chain)
Deprecated.Use the more genericgetRepresentativeAtomsOnly(Chain)
insteadstatic 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.static Chain
getRepresentativeAtomsOnly(Chain chain)
Convert a Chain to a new Chain containing C-alpha atoms only.
-
-
-
Method Detail
-
getCAOnly
@Deprecated public static java.util.List<Chain> getCAOnly(java.util.List<Chain> chains)
Deprecated.Use the more genericgetRepresentativeAtomsOnly(List)
insteadConvert 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 genericgetRepresentativeAtomsOnly(Chain)
insteadConvert 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.
-
-