|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
java.lang.Objectorg.biojava.bio.structure.io.SeqRes2AtomAligner
public class SeqRes2AtomAligner
Aligns the SEQRES residues to the ATOM residues. The AminoAcids that can be matched between the two of them will be set in the SEQRES chains
| Constructor Summary | |
|---|---|
SeqRes2AtomAligner()
|
|
| Method Summary | |
|---|---|
boolean |
align(java.util.List<Group> seqRes,
java.util.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,
java.util.List<Chain> seqResList)
|
boolean |
alignNucleotideGroups(java.util.List<Group> seqRes,
java.util.List<Group> atomRes)
|
java.lang.String |
getAlignmentString()
|
static java.lang.String |
getFullAtomSequence(java.util.List<Group> groups,
java.util.Map<java.lang.Integer,java.lang.Integer> positionIndex)
returns the full sequence of the Atom records of a parent with X instead of HETATMSs. |
Chain |
getMatchingAtomRes(Chain seqRes,
java.util.List<Chain> atomList)
|
boolean |
isDEBUG()
|
void |
mapSeqresRecords(Chain atomRes,
Chain seqRes)
map the seqres groups to the atomRes chain. |
void |
setDEBUG(boolean debug)
|
boolean |
trySimpleMatch(java.util.List<Group> seqResGroups,
java.util.List<Group> atmResGroups)
a simple matching approach that tries to do a 1:1 mapping between SEQRES and ATOM records returns true if this simple matching approach worked fine |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public SeqRes2AtomAligner()
| Method Detail |
|---|
public java.lang.String getAlignmentString()
public boolean isDEBUG()
public void setDEBUG(boolean debug)
public Chain getMatchingAtomRes(Chain seqRes,
java.util.List<Chain> atomList)
throws StructureException
StructureException
public void align(Structure s,
java.util.List<Chain> seqResList)
public void mapSeqresRecords(Chain atomRes,
Chain seqRes)
throws StructureException
atomRes - seqRes -
StructureException
public boolean trySimpleMatch(java.util.List<Group> seqResGroups,
java.util.List<Group> atmResGroups)
seqRes - atomList -
public static java.lang.String getFullAtomSequence(java.util.List<Group> groups,
java.util.Map<java.lang.Integer,java.lang.Integer> positionIndex)
groups - the list of groups in a parentpositionIndex - a Map to keep track of which group is at which sequence position
public boolean alignNucleotideGroups(java.util.List<Group> seqRes,
java.util.List<Group> atomRes)
throws StructureException
StructureException
public boolean align(java.util.List<Group> seqRes,
java.util.List<Group> atomRes)
throws StructureException
seqRes - atomRes -
StructureException
|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||