public interface Block extends ScoresCache
MultipleAlignment with the condition that residues are in a
 sequential order.
 
 A collection of Blocks, named BlockSet, allows the description of
 circular permutations (CP) and non-topological alignments.
 
 Every Block object is part of a BlockSet instance, its parent, which
 has in turn a MultipleAlignment instance as parent.
| Modifier and Type | Method and Description | 
|---|---|
void | 
clear()
Clear scores and other properties which depend on the specific alignment. 
 | 
Block | 
clone()
Creates and returns an identical copy of this block. 
 | 
List<List<Integer>> | 
getAlignRes()
Returns the double List containing the aligned residues for each
 structure. 
 | 
List<Integer> | 
getAlignResCounts()
Returns the number of non null positions (residues) of each structure in
 the alignment Block. 
 | 
BlockSet | 
getBlockSet()
Returns the parent BlockSet of the Block. 
 | 
int | 
getCoreLength()
Returns the number of aligned positions (columns) without gaps in the
 Block. 
 | 
int | 
getFinalIndex(int str)
Calculates and returns the last position of the specified structure in
 the alignment that is not null. 
 | 
int | 
getFinalResidue(int str)
Calculates and returns the last residue of the specified structure in the
 alignment that is not null. 
 | 
int | 
getStartIndex(int str)
Calculates and returns the first position of the specified structure in
 the alignment that is not null. 
 | 
int | 
getStartResidue(int str)
Calculates and returns the first residue of the specified structure in
 the alignment that is not null. 
 | 
int | 
length()
Returns the total number of aligned positions (columns) in the Block. 
 | 
void | 
setAlignRes(List<List<Integer>> alignRes)
Set the double List containing the aligned residues for each structure. 
 | 
void | 
setBlockSet(BlockSet parent)
Set the back-reference to its parent BlockSet. 
 | 
int | 
size()
Returns the number of aligned structures (rows) in the Block. 
 | 
getScore, getScores, putScoreBlock clone()
void setBlockSet(BlockSet parent)
parent - the parent BlockSet.getBlockSet()BlockSet getBlockSet()
setBlockSet(BlockSet)List<List<Integer>> getAlignRes()
alignRes.get(structure).get(residue) = alignRes.get(size).get(length).
#setAlignRes()void setAlignRes(List<List<Integer>> alignRes)
alignRes - a double List of Integers with the aligned residues.getAlignRes()int length()
getCoreLength();, 
size()int size()
length(), 
getCoreLength()int getCoreLength()
List<Integer> getAlignResCounts()
int getStartIndex(int str)
str - structure indexint getStartResidue(int str)
str - structure indexint getFinalIndex(int str)
str - structure indexint getFinalResidue(int str)
str - structure indexvoid clear()
Copyright © 2000–2017 BioJava. All rights reserved.