public interface BlockSet extends ScoresCache
Block
s and
a transformation matrix for every structure.
It allows the description of non-topological and circularly permutated
flexible parts, thus being as general as possible, thanks to the multiple
Block
format.
Every BlockSet has a unique transformation 4D matrix for every structure, which describes the 3D superimposition of the structures in this particular part of the alignment.
A collection of BlockSets, in a MultipleAlignment
, allows the
description of alignments with several flexible parts.
Every BlockSet object is part of a MultipleAlignment
instance,
its parent.
Modifier and Type | Method and Description |
---|---|
void |
clear()
Clear scores and other properties which depend on the specific
alignment.
|
BlockSet |
clone()
Creates and returns an identical copy of this blockset,
including a deep copy of all constituent
Block s. |
List<Integer> |
getAlignResCounts()
Returns the number of non null positions (residues) of each structure in
the alignment Block Set.
|
List<Block> |
getBlocks()
Returns the List of alignment Blocks of the BlockSet.
|
int |
getCoreLength()
Returns the number of aligned residues (columns) without gaps in the
alignment: the sum of all Block core lengths.
|
MultipleAlignment |
getMultipleAlignment()
Returns the parent MultipleAlignment of the BlockSet.
|
List<javax.vecmath.Matrix4d> |
getTransformations()
Returns a transformation matrix for each structure giving the
3D superimposition information of the multiple structure alignment.
|
int |
length()
Returns the total number of aligned residues (columns) in the alignment:
the sum of all Block lengths.
|
void |
setBlocks(List<Block> blocks)
Set the List of alignment Blocks of the BlockSet.
|
void |
setMultipleAlignment(MultipleAlignment parent)
Set the back-reference to its parent MultipleAlignment.
|
void |
setTransformations(List<javax.vecmath.Matrix4d> transformations)
Set a new superposition for the structures.
|
int |
size()
Returns the number of aligned structures in the BlockSet.
|
getScore, getScores, putScore
BlockSet clone()
Block
s.MultipleAlignment getMultipleAlignment()
setMultipleAlignment(MultipleAlignment)
void setMultipleAlignment(MultipleAlignment parent)
Neither removes this BlockSet from its previous alignment, if any, nor adds it to the new parent. Calling code should assure that links to and from the ensemble are consistent and free of memory leaks.
parent
- the parent MultipleAlignment.getMultipleAlignment()
List<Block> getBlocks()
setBlocks(List)
void setBlocks(List<Block> blocks)
Also calls Block.setBlockSet(BlockSet)
for each argument
blocks
- List of alignment Blocks.getBlocks()
List<javax.vecmath.Matrix4d> getTransformations()
void setTransformations(List<javax.vecmath.Matrix4d> transformations)
matrices
- int length()
getCoreLength()
,
size()
int getCoreLength()
List<Integer> getAlignResCounts()
int size()
length()
,
getCoreLength()
void clear()
Recursively clears the memeber Blocks.
Copyright © 2000–2016 BioJava. All rights reserved.