Class SubunitExtractor
java.lang.Object
org.biojava.nbio.structure.cluster.SubunitExtractor
The SubunitExtractor extracts the information of each protein
Chain
in a Structure
and converts them into a List of Subunit
.- Since:
- 5.0.0
- Author:
- Peter Rose, Aleix Lafita
-
Method Summary
Modifier and TypeMethodDescriptionextractSubunits
(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 Details
-
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
-