public class MultipleAlignmentXMLParser extends Object
MultipleAlignmentEnsemble
, so
that the original alignment can be recovered.
Atoms need to be downloaded, either manually or using the method getAtomArrays() in MultipleAlignmentEnsemble.
Constructor and Description |
---|
MultipleAlignmentXMLParser() |
Modifier and Type | Method and Description |
---|---|
static Block |
parseBlock(Node root,
BlockSet blockSet) |
static BlockSet |
parseBlockSet(Node root,
MultipleAlignment msa) |
static MultipleAlignmentEnsemble |
parseEnsemble(Node root) |
static void |
parseHeader(Node node,
MultipleAlignmentEnsemble ensemble) |
static javax.vecmath.Matrix4d |
parseMatrix4d(Node node) |
static MultipleAlignment |
parseMultipleAlignment(Node root,
MultipleAlignmentEnsemble ensemble) |
static void |
parseScoresCache(Node root,
ScoresCache cache) |
static void |
parseStructures(Node root,
MultipleAlignmentEnsemble ensemble) |
static List<MultipleAlignmentEnsemble> |
parseXMLfile(String xml)
Creates a list of MultipleAlignment ensembles from an XML file.
|
public static List<MultipleAlignmentEnsemble> parseXMLfile(String xml) throws ParserConfigurationException, SAXException, IOException
xml
- String XML file containing any number of ensemblesParserConfigurationException
SAXException
IOException
public static MultipleAlignmentEnsemble parseEnsemble(Node root)
public static MultipleAlignment parseMultipleAlignment(Node root, MultipleAlignmentEnsemble ensemble)
public static BlockSet parseBlockSet(Node root, MultipleAlignment msa)
public static javax.vecmath.Matrix4d parseMatrix4d(Node node)
public static void parseScoresCache(Node root, ScoresCache cache)
public static void parseHeader(Node node, MultipleAlignmentEnsemble ensemble)
public static void parseStructures(Node root, MultipleAlignmentEnsemble ensemble)
Copyright © 2000–2016 BioJava. All rights reserved.