public class InsdcParser extends Object
| Modifier and Type | Field and Description |
|---|---|
protected Integer |
featureGlobalEnd
these variables are used to compute the global start and end of complex
features
|
protected Integer |
featureGlobalStart
these variables are used to compute the global start and end of complex
features
|
protected static Pattern |
genbankSplitPattern
Decodes a split pattern.
|
protected static String |
locationSplitPattern
designed to recursively split a location string in tokens.
|
protected static Pattern |
singleLocationPattern
parse a location.
|
| Constructor and Description |
|---|
InsdcParser() |
InsdcParser(DataSource dataSource) |
| Modifier and Type | Method and Description |
|---|---|
DataSource |
getDataSource() |
static void |
main(String[] args) |
Location |
parse(String locationString)
Main method for parsing a location from a String instance
|
void |
setComplexFeaturesAppendMode(org.biojava.nbio.core.sequence.location.InsdcParser.complexFeaturesAppendEnum complexFeaturesAppendMode) |
void |
setSequenceCircular(boolean sequenceCircular) |
void |
setSequenceLength(long sequenceLength) |
protected static final Pattern singleLocationPattern
protected static final Pattern genbankSplitPattern
protected static final String locationSplitPattern
protected Integer featureGlobalStart
protected Integer featureGlobalEnd
public InsdcParser()
public InsdcParser(DataSource dataSource)
public void setComplexFeaturesAppendMode(org.biojava.nbio.core.sequence.location.InsdcParser.complexFeaturesAppendEnum complexFeaturesAppendMode)
public DataSource getDataSource()
public void setSequenceCircular(boolean sequenceCircular)
public void setSequenceLength(long sequenceLength)
public Location parse(String locationString) throws ParserException
locationString - Represents a logical locationParserException - thrown in the event of any error during parsingpublic static void main(String[] args)
Copyright © 2000–2021 BioJava. All rights reserved.