Class InsdcParser
java.lang.Object
org.biojava3.core.sequence.location.InsdcParser
Parser for working with INSDC style locations. This class supports the full range of location
types generated by Genbank, INSDC and ENA.
- Author:
- ayates
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionReader based version of the parse methods.Main method for parsing a location from a String instance
-
Constructor Details
-
InsdcParser
public InsdcParser() -
InsdcParser
-
-
Method Details
-
getDataSource
-
parse
Main method for parsing a location from a String instance- Parameters:
locationString
- Represents a logical location- Returns:
- The parsed location
- Throws:
ParserException
- thrown in the event of any error during parsing
-
parse
Reader based version of the parse methods.- Parameters:
reader
- The source of the data; assumes that end of the reader stream is the end of the location string to parse- Returns:
- The parsed location
- Throws:
IOException
- Thrown with any reader errorParserException
- Thrown with any error with parsing locations
-