|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
java.lang.Objectorg.biojava.bio.structure.align.xml.AFPChainXMLParser
public class AFPChainXMLParser
| Constructor Summary | |
|---|---|
AFPChainXMLParser()
|
|
| Method Summary | |
|---|---|
static java.lang.String |
flipAlignment(java.lang.String xml)
Takes an XML representation of the alignment and flips the positions of name1 and name2 |
static AFPChain |
fromXML(java.lang.String xml,
Atom[] ca1,
Atom[] ca2)
|
static AFPChain |
fromXML(java.lang.String xml,
java.lang.String name1,
java.lang.String name2,
Atom[] ca1,
Atom[] ca2)
new utility method that checks that the order of the pair in the XML alignment is correct and flips the direction if needed |
static boolean |
isErrorXML(java.lang.String xml)
returns true if the alignment XML contains an error message |
static AFPChain[] |
parseMultiXML(java.lang.String xml)
|
static void |
rebuildAFPChain(AFPChain afpChain,
Atom[] ca1,
Atom[] ca2)
replace the PDB res nums with atom positions: |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public AFPChainXMLParser()
| Method Detail |
|---|
public static AFPChain fromXML(java.lang.String xml,
java.lang.String name1,
java.lang.String name2,
Atom[] ca1,
Atom[] ca2)
throws StructureException
xml - name1 - name1 - ca1 - ca2 -
StructureException
public static AFPChain fromXML(java.lang.String xml,
Atom[] ca1,
Atom[] ca2)
public static boolean isErrorXML(java.lang.String xml)
xml -
public static java.lang.String flipAlignment(java.lang.String xml)
throws java.io.IOException,
StructureException
xml - String representing the alignment
java.io.IOException
StructureException
public static void rebuildAFPChain(AFPChain afpChain,
Atom[] ca1,
Atom[] ca2)
afpChain - ca1 - ca2 - public static AFPChain[] parseMultiXML(java.lang.String xml)
|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||