public class SeqRes2AtomAligner extends Object
Constructor and Description |
---|
SeqRes2AtomAligner() |
Modifier and Type | Method and Description |
---|---|
void |
align(Structure s,
List<Chain> seqResList) |
String |
getAlignmentString() |
static String |
getFullAtomSequence(List<Group> groups,
Map<Integer,Integer> positionIndex,
boolean isNucleotideChain)
Returns the full sequence of the Atom records of a parent
with X instead of HETATMSs.
|
static Chain |
getMatchingAtomRes(Chain seqRes,
List<Chain> atomList) |
void |
mapSeqresRecords(Chain atomRes,
Chain seqRes)
Map the seqRes groups to the atomRes chain.
|
static void |
storeUnAlignedSeqRes(Structure structure,
List<Chain> seqResChains,
boolean headerOnly)
Storing unaligned SEQRES groups in a Structure.
|
public String getAlignmentString()
public void mapSeqresRecords(Chain atomRes, Chain seqRes)
atomRes
- the chain containing ATOM groups (in atomGroups slot). This chain
is modified to contain in its seqresGroups slot the mapped atom groupsseqRes
- the chain containing SEQRES groups (in atomGroups slot). This chain
is not modifiedpublic static String getFullAtomSequence(List<Group> groups, Map<Integer,Integer> positionIndex, boolean isNucleotideChain)
groups
- the list of groups in a parentpositionIndex
- a Map to keep track of which group is at which sequence positionisNucleotideChain
- whether the atom groups are predominantly nucleotides (the groups represent a nucleotide chain), if true
non-standard nucleotides will be represented with ambiguous letter 'N' instead of 'X', if false all non-standard residues will be 'X'Copyright © 2000–2016 BioJava. All rights reserved.