public class SeqRes2AtomAligner extends Object
| Constructor and Description |
|---|
SeqRes2AtomAligner() |
| Modifier and Type | Method and Description |
|---|---|
boolean |
align(List<Group> seqRes,
List<Group> atomRes)
aligns two chains of groups, where the first parent is representing the
list of amino acids as obtained from the SEQRES records, and the second parent
represents the groups obtained from the ATOM records (and containing the actual ATOM information).
|
void |
align(Structure s,
List<Chain> seqResList) |
String |
getAlignmentString() |
static String |
getFullAtomSequence(List<Group> groups,
Map<Integer,Integer> positionIndex)
returns the full sequence of the Atom records of a parent
with X instead of HETATMSs.
|
Chain |
getMatchingAtomRes(Chain seqRes,
List<Chain> atomList) |
boolean |
isDEBUG() |
void |
setDEBUG(boolean debug) |
public SeqRes2AtomAligner()
public String getAlignmentString()
public boolean isDEBUG()
public void setDEBUG(boolean debug)
public Chain getMatchingAtomRes(Chain seqRes, List<Chain> atomList) throws StructureException
StructureExceptionpublic static String getFullAtomSequence(List<Group> groups, Map<Integer,Integer> positionIndex)
groups - the list of groups in a parentpositionIndex - a Map to keep track of which group is at which sequence positionpublic boolean align(List<Group> seqRes, List<Group> atomRes) throws StructureException
seqRes - atomRes - StructureExceptionCopyright © 2012 BioJava. All Rights Reserved.