Uses of Class
org.biojava.nbio.alignment.io.StockholmStructure
-
Uses of StockholmStructure in org.biojava.nbio.alignment.io
Modifier and TypeMethodDescriptionStockholmFileParser.parse
(InputStream inStream) parsesInputStream
and returns a the first contained alignment in aStockholmStructure
object.Parses a Stockholm file and returns aStockholmStructure
object with its content.
This function is meant to be used for single access to specific file and it closes the file after doing its assigned job.Modifier and TypeMethodDescriptionStockholmFileParser.parse
(InputStream inStream, int max) parses anInputStream
and returns at maximummax
objects contained in that file.
This method leaves the stream open for further calls ofStockholmFileParser.parse(InputStream, int)
(same function) orStockholmFileParser.parseNext(int)
.Parses a Stockholm file and returns aStockholmStructure
object with its content.
This function doesn't close the file after doing its assigned job; to allow for further calls ofStockholmFileParser.parseNext(int)
.StockholmFileParser.parseNext
(int max) Tries to parse and return as maximum asmax
structures in the last used file or input stream.
Please consider calling eitherStockholmFileParser.parse(InputStream)
,StockholmFileParser.parse(InputStream, int)
, orStockholmFileParser.parse(String, int)
before calling this function.