Class UniprotEntrySummaryReader
java.lang.Object
org.dishevelled.bio.protein.uniprot.UniprotEntrySummaryReader
Streaming UniProt XML reader that extracts entry summaries.
- Since:
- 2.5
- Author:
- Michael Heuer
-
Method Summary
Modifier and TypeMethodDescription(package private) static StringclassifyOrganism(String lineage) Classify an organism type from the specified lineage.static voidstream(Reader reader, EntrySummaryListener callback) Stream UniProt XML from the specified reader and extract entry summaries.
-
Method Details
-
stream
Stream UniProt XML from the specified reader and extract entry summaries.- Parameters:
reader- UniProt XML reader to read from, must not be nullcallback- entry summary callback, must not be null- Throws:
IOException- if an I/O error occurs
-
classifyOrganism
Classify an organism type from the specified lineage.- Parameters:
lineage- lineage, must not be null- Returns:
- an organism type from the specified lineage
-