public class SequenceFunctionRefiner extends Object implements SymmetryRefiner
| Constructor and Description |
|---|
SequenceFunctionRefiner() |
| Modifier and Type | Method and Description |
|---|---|
MultipleAlignment |
refine(AFPChain selfAlignment,
Atom[] atoms,
int order)
Returns a refined symmetry alignment, where the repeat residues are
aligned consistently in a MultipleAlignment.
|
static AFPChain |
refineSymmetry(AFPChain afpChain,
Atom[] ca1,
Atom[] ca2,
int k)
Refines a CE-Symm alignment so that it is perfectly symmetric.
|
static Map<Integer,Integer> |
refineSymmetry(Map<Integer,Integer> alignment,
int k)
Refines a CE-Symm alignment so that it is perfectly symmetric.
|
public SequenceFunctionRefiner()
public MultipleAlignment refine(AFPChain selfAlignment, Atom[] atoms, int order) throws RefinerFailedException, StructureException
SymmetryRefinerrefine in interface SymmetryRefinerselfAlignment - optimal self-alignment calculated by CeSymmatoms - coordinates of the structureorder - order of symmetry to useRefinerFailedExceptionStructureExceptionpublic static AFPChain refineSymmetry(AFPChain afpChain, Atom[] ca1, Atom[] ca2, int k) throws StructureException, RefinerFailedException
afpChain - Input alignment from CE-Symmk - Symmetry order. This can be guessed by CeSymm#getSymmetryOrder(AFPChain)StructureExceptionRefinerFailedExceptionpublic static Map<Integer,Integer> refineSymmetry(Map<Integer,Integer> alignment, int k) throws StructureException
alignment - The input alignment, as a map. This will be modified.k - Symmetry order. This can be guessed by CeSymm#getSymmetryOrder(AFPChain)StructureExceptionCopyright © 2000–2017 BioJava. All rights reserved.