public interface MultipleAlignment extends ScoresCache
Each alignment is described as a collection of:
BlockSet
s that define the aligned positions and 3D superposition,
MultipleAlignmentEnsemble
.
Every MultipleAlignment has a MultipleAlignmentEnsemble
as its
parent, which contains the shared meta-information.Modifier and Type | Method and Description |
---|---|
void |
clear()
Clear scores and other properties which depend on the specific alignment.
|
MultipleAlignment |
clone()
Creates and returns an identical copy of this alignment, including a deep
copy of all constituent BlockSets.
|
List<Integer> |
getAlignResCounts()
Returns the number of non null positions (residues) of each structure in
the alignment.
|
List<Atom[]> |
getAtomArrays()
Returns the array of Atoms for each structure from its parent Ensemble.
|
Block |
getBlock(int index)
Returns the Block with the specified index of the MultipleAlignment.
|
List<Block> |
getBlocks()
Convenience method to get a List of all Blocks from all BlockSets.
|
BlockSet |
getBlockSet(int index)
Returns the BlockSet with the specified index of the MultipleAlignment.
|
List<BlockSet> |
getBlockSets()
Returns the BlockSet List of the multiple structure alignment.
|
int |
getCoreLength()
Returns the number of aligned residues (columns) without gaps in the
alignment: the sum of all BlockSet core lengths.
|
List<Double> |
getCoverages()
Returns the coverage of the alignment for each structure in the
alignment as a fraction between 0.0 and 1.0.
|
MultipleAlignmentEnsemble |
getEnsemble()
Returns the parent Ensemble of the MultipleAlignment.
|
StructureIdentifier |
getStructureIdentifier(int index)
Returns the StructureIdentifier associated with the structure index from
its parent Ensemble.
|
int |
length()
Returns the total number of aligned residues (columns) in the multiple
alignment: the sum of all BlockSet lengths.
|
void |
setBlockSets(List<BlockSet> blockSets)
Sets the List of BlockSet List of the specified alignment.
|
void |
setEnsemble(MultipleAlignmentEnsemble parent)
Set the back-reference to its parent Ensemble.
|
int |
size()
Returns the number of aligned structures in the MultipleAlignment.
|
String |
toString()
Return a summary of the MultipleAlignment, containing the structures, the
lengths and the cached scores.
|
getScore, getScores, putScore
MultipleAlignment clone()
MultipleAlignmentEnsemble getEnsemble()
setEnsemble(MultipleAlignmentEnsemble)
void setEnsemble(MultipleAlignmentEnsemble parent)
Neither removes this alignment from its previous ensemble, 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 MultipleAlignmentEnsemble.getEnsemble()
List<BlockSet> getBlockSets()
getBlocks()
,
setBlockSets(List)
BlockSet getBlockSet(int index)
index
- of the BlockSetgetBlocks()
,
getBlockSets()
void setBlockSets(List<BlockSet> blockSets)
blockSets
- the List of BlockSets that describe the aligned residues.getBlockSets()
List<Block> getBlocks()
getBlockSets()
Block getBlock(int index)
index
- of the BlockSetgetBlocks()
,
getBlockSets()
List<Atom[]> getAtomArrays()
getEnsemble()
StructureIdentifier getStructureIdentifier(int index)
getEnsemble()
int size()
length()
,
getCoreLength()
int length()
getCoreLength()
,
size()
int getCoreLength()
List<Integer> getAlignResCounts()
List<Double> getCoverages()
void clear()
Recursively clears member BlockSets.
Copyright © 2000–2019 BioJava. All rights reserved.