Uses of Class
org.biojava.nbio.alignment.io.StockholmStructure
Packages that use StockholmStructure
-
Uses of StockholmStructure in org.biojava.nbio.alignment.io
Methods in org.biojava.nbio.alignment.io that return StockholmStructureModifier and TypeMethodDescriptionStockholmFileParser.parse(InputStream inStream) parsesInputStreamand returns a the first contained alignment in aStockholmStructureobject.Parses a Stockholm file and returns aStockholmStructureobject 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.Methods in org.biojava.nbio.alignment.io that return types with arguments of type StockholmStructureModifier and TypeMethodDescriptionStockholmFileParser.parse(InputStream inStream, int max) parses anInputStreamand returns at maximummaxobjects 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 aStockholmStructureobject 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 asmaxstructures 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.