Class SubunitExtractor
- java.lang.Object
-
- org.biojava.nbio.structure.cluster.SubunitExtractor
-
public class SubunitExtractor extends Object
The SubunitExtractor extracts the information of each proteinChain
in aStructure
and converts them into a List ofSubunit
.- Since:
- 5.0.0
- Author:
- Peter Rose, Aleix Lafita
-
-
Method Summary
All Methods Static Methods Concrete Methods Modifier and Type Method Description static List<Subunit>
extractSubunits(Structure structure, int absMinLen, double fraction, int minLen)
Extract the information of each protein Chain in a Structure and converts them into a List of Subunit.
-
-
-
Method Detail
-
extractSubunits
public static List<Subunit> extractSubunits(Structure structure, int absMinLen, double fraction, int minLen)
Extract the information of each protein Chain in a Structure and converts them into a List of Subunit. The name of the Subunits is set toChain.getId()
.- Parameters:
structure
- Structure object with protein ChainsabsMinLen
-SubunitClustererParameters.getAbsoluteMinimumSequenceLength()
fraction
-SubunitClustererParameters.getMinimumSequenceLengthFraction()
minLen
-SubunitClustererParameters.getMinimumSequenceLength()
- Returns:
- List of Subunits
-
-