Class ResidueGroup
java.lang.Object
org.biojava.nbio.structure.symmetry.internal.ResidueGroup
A ResidueGroup is a set of residues that are part of a maximally connected
 component of the self-Alignment Graph in symmetry analysis.
 
This class provides an interface for comparing and combining them to refine self-Alignments into consistent MultipleAlignments of repeats.
- Since:
- 4.2.0
- Author:
- Aleix Lafita
- 
Constructor SummaryConstructorsConstructorDescriptionResidueGroup(Set<Integer> component) Create a ResidueGroup object from a maximally connected component.
- 
Method SummaryModifier and TypeMethodDescriptionvoidcombineWith(List<List<Integer>> alignRes) Combine the ResidueGroup with the alignment block.booleanisCompatible(ResidueGroup other) Determine if two Residuegroups (maximally connected components of the alignment Graph) are compatible, based in the following criterion:intorder()The order of symmetry of the group is the number of connected residues.
- 
Constructor Details- 
ResidueGroupCreate a ResidueGroup object from a maximally connected component.- Parameters:
- component- set of residues connected
 
 
- 
- 
Method Details- 
orderThe order of symmetry of the group is the number of connected residues.- Returns:
- size of residues List
 
- 
isCompatibleDetermine if two Residuegroups (maximally connected components of the alignment Graph) are compatible, based in the following criterion:Two maximally connected components of the self-alignment Graph are compatible if they can be combined in a consistent multiple alignment of repeats, i.e.there exists one residue in c1 between each sorted pair of residues in c2. Compatibility is an intransitive relation, which means that for three ResidueGroups {A,B,C}, if A is compatible with B and B is compatible with C, then A is not necessarily compatible with C.- Parameters:
- other- second maximally connected component
- Returns:
- true if compatible, false otherwise
 
- 
combineWithCombine the ResidueGroup with the alignment block.- Parameters:
- alignRes- the alignment block, will be modified.
 
 
-