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 MultipleAlignment refine(AFPChain selfAlignment, Atom[] atoms, int order) throws RefinerFailedException, StructureException
SymmetryRefiner
refine
in interface SymmetryRefiner
selfAlignment
- optimal self-alignment calculated by CeSymmatoms
- coordinates of the structureorder
- order of symmetry to useRefinerFailedException
StructureException
public 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)
StructureException
RefinerFailedException
public 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)
StructureException
Copyright © 2000–2016 BioJava. All rights reserved.