Class SubunitExtractor
- java.lang.Object
-
- org.biojava.nbio.structure.cluster.SubunitExtractor
-
-
Method Summary
All Methods Static Methods Concrete Methods Modifier and Type Method Description static java.util.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 java.util.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
-
-