|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectuk.ac.ebi.ep.mm.app.Uniprot2DiseaseParser
public class Uniprot2DiseaseParser
Class to parse the HTML file containing a table of equivalences from UniProt accessions to OMIM IDs and MeSH terms.
Constructor Summary | |
---|---|
Uniprot2DiseaseParser()
|
Method Summary | |
---|---|
static void |
main(String[] args)
Parses the HTML file and stores in the mega-map the xrefs from UniProt accessions to OMIM and MeSH terms, but only if the scores is equal or greater than minScore . |
void |
parse(String htmlFile)
Parses a XML file and extracts interesting data into a mega-map. |
void |
setWriter(MegaMapper mm)
Sets a writer to make the mega-map persistent. |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public Uniprot2DiseaseParser()
Method Detail |
---|
public static void main(String[] args) throws Exception
minScore
.
args
- see CliOptionsParser.getCommandLine(String...)
Exception
- in case of error while parsing.public void parse(String htmlFile) throws Exception
MmParser
parse
in interface MmParser
htmlFile
- an XML file.
Exception
public void setWriter(MegaMapper mm)
MmParser
setWriter
in interface MmParser
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |