public class ResidueGroup extends Object
This class provides an interface for comparing and combining them to refine self-Alignments into consistent MultipleAlignments of repeats.
Constructor and Description |
---|
ResidueGroup(Set<Integer> component)
Create a ResidueGroup object from a maximally connected component.
|
Modifier and Type | Method and Description |
---|---|
void |
combineWith(List<List<Integer>> alignRes)
Combine the ResidueGroup with the alignment block.
|
boolean |
isCompatible(ResidueGroup other)
Determine 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.
|
int |
order()
The order of symmetry of the group is the number of connected residues.
|
public ResidueGroup(Set<Integer> component)
component
- set of residues connectedpublic int order()
public boolean isCompatible(ResidueGroup other)
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.
c2
- second maximally connected componentpublic void combineWith(List<List<Integer>> alignRes)
alignRes
- the alignment block, will be modified.Copyright © 2000–2018 BioJava. All rights reserved.