public class GenbankSequenceParser<S extends AbstractSequence<C>,C extends Compound> extends Object implements SequenceParserInterface
Modifier and Type | Field and Description |
---|---|
protected static String |
ACCESSION_TAG |
protected static String |
AUTHORS_TAG |
protected static String |
BASE_COUNT_TAG |
protected static String |
BASE_COUNT_TAG_FULL |
protected static String |
COMMENT_TAG |
protected static String |
CONSORTIUM_TAG |
protected static Pattern |
dbxp |
protected static String |
DEFINITION_TAG |
protected static String |
END_SEQUENCE_TAG |
protected static String |
FEATURE_TAG |
static String |
GENBANK_FORMAT
The name of this format
|
protected static Pattern |
headerLine |
protected static String |
JOURNAL_TAG |
protected static String |
KEYWORDS_TAG |
protected static InsdcParser |
locationParser |
protected static String |
LOCUS_TAG |
protected static Pattern |
lp |
LinkedHashMap<String,ArrayList<DBReferenceInfo>> |
mapDB |
protected static String |
MEDLINE_TAG |
protected static String |
ORGANISM_TAG |
protected static String |
PUBMED_TAG |
protected static Pattern |
readableFiles |
protected static String |
REFERENCE_TAG |
protected static Pattern |
refp |
protected static Pattern |
refRange |
protected static String |
REMARK_TAG |
protected static Pattern |
sectp |
protected static String |
SOURCE_TAG |
protected static String |
START_SEQUENCE_TAG |
protected static String |
TITLE_TAG |
protected static String |
VERSION_TAG |
protected static Pattern |
vp |
Constructor and Description |
---|
GenbankSequenceParser() |
Modifier and Type | Method and Description |
---|---|
CompoundSet<?> |
getCompoundType() |
LinkedHashMap<String,ArrayList<DBReferenceInfo>> |
getDatabaseReferences() |
HashMap<String,ArrayList<AbstractFeature>> |
getFeatures() |
ArrayList<AbstractFeature> |
getFeatures(String keyword) |
String |
getHeader() |
ArrayList<String> |
getKeyWords() |
String |
getSequence(BufferedReader bufferedReader,
int sequenceLength) |
GenericGenbankHeaderParser<S,C> |
getSequenceHeaderParser() |
void |
parseFeatures(AbstractSequence<C> sequence) |
public LinkedHashMap<String,ArrayList<DBReferenceInfo>> mapDB
public static final String GENBANK_FORMAT
protected static final String LOCUS_TAG
protected static final String DEFINITION_TAG
protected static final String ACCESSION_TAG
protected static final String VERSION_TAG
protected static final String KEYWORDS_TAG
protected static final String SOURCE_TAG
protected static final String ORGANISM_TAG
protected static final String REFERENCE_TAG
protected static final String AUTHORS_TAG
protected static final String CONSORTIUM_TAG
protected static final String TITLE_TAG
protected static final String JOURNAL_TAG
protected static final String PUBMED_TAG
protected static final String MEDLINE_TAG
protected static final String REMARK_TAG
protected static final String COMMENT_TAG
protected static final String FEATURE_TAG
protected static final String BASE_COUNT_TAG_FULL
protected static final String BASE_COUNT_TAG
protected static final String START_SEQUENCE_TAG
protected static final String END_SEQUENCE_TAG
protected static final InsdcParser locationParser
protected static final Pattern readableFiles
protected static final Pattern headerLine
public GenbankSequenceParser()
public String getSequence(BufferedReader bufferedReader, int sequenceLength) throws IOException
getSequence
in interface SequenceParserInterface
IOException
public GenericGenbankHeaderParser<S,C> getSequenceHeaderParser()
public LinkedHashMap<String,ArrayList<DBReferenceInfo>> getDatabaseReferences()
public ArrayList<String> getKeyWords()
public ArrayList<AbstractFeature> getFeatures(String keyword)
public HashMap<String,ArrayList<AbstractFeature>> getFeatures()
public void parseFeatures(AbstractSequence<C> sequence)
public CompoundSet<?> getCompoundType()
Copyright © 2000–2018 BioJava. All rights reserved.