Package org.biojava.nbio.structure.io
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 Summary
Constructors Constructor Description CAConverter()
-
Method Summary
All Methods Static Methods Concrete Methods Modifier and Type Method Description static List<Chain>
getRepresentativeAtomsOnly(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.
-
-
-
Constructor Detail
-
CAConverter
public CAConverter()
-
-
Method Detail
-
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
-
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
-
-