Class GenbankSequenceParser<S extends AbstractSequence<C>,C extends Compound>
- java.lang.Object
- 
- org.biojava.nbio.core.sequence.io.GenbankSequenceParser<S,C>
 
- 
- All Implemented Interfaces:
- SequenceParserInterface
 
 public class GenbankSequenceParser<S extends AbstractSequence<C>,C extends Compound> extends Object implements SequenceParserInterface 
- 
- 
Field SummaryFields Modifier and Type Field Description protected static StringACCESSION_TAGprotected static StringAUTHORS_TAGprotected static StringBASE_COUNT_TAGprotected static StringBASE_COUNT_TAG_FULLprotected static StringCOMMENT_TAGprotected static StringCONSORTIUM_TAGprotected static Patterndbxpprotected static StringDEFINITION_TAGprotected static StringEND_SEQUENCE_TAGprotected static StringFEATURE_TAGstatic StringGENBANK_FORMATThe name of this formatprotected static PatternheaderLineprotected static StringJOURNAL_TAGprotected static StringKEYWORDS_TAGprotected static InsdcParserlocationParserprotected static StringLOCUS_TAGprotected static PatternlpLinkedHashMap<String,ArrayList<DBReferenceInfo>>mapDBprotected static StringMEDLINE_TAGprotected static StringORGANISM_TAGprotected static StringPUBMED_TAGprotected static PatternreadableFilesprotected static StringREFERENCE_TAGprotected static Patternrefpprotected static PatternrefRangeprotected static StringREMARK_TAGprotected static Patternsectpprotected static StringSOURCE_TAGprotected static StringSTART_SEQUENCE_TAGprotected static StringTITLE_TAGprotected static StringVERSION_TAGprotected static Patternvp
 - 
Constructor SummaryConstructors Constructor Description GenbankSequenceParser()
 - 
Method SummaryAll Methods Instance Methods Concrete Methods Modifier and Type Method Description CompoundSet<?>getCompoundType()LinkedHashMap<String,ArrayList<DBReferenceInfo>>getDatabaseReferences()HashMap<String,ArrayList<AbstractFeature>>getFeatures()ArrayList<AbstractFeature>getFeatures(String keyword)StringgetHeader()ArrayList<String>getKeyWords()StringgetSequence(BufferedReader bufferedReader, int sequenceLength)GenericGenbankHeaderParser<S,C>getSequenceHeaderParser()voidparseFeatures(AbstractSequence<C> sequence)
 
- 
- 
- 
Field Detail- 
mapDBpublic LinkedHashMap<String,ArrayList<DBReferenceInfo>> mapDB 
 - 
GENBANK_FORMATpublic static final String GENBANK_FORMAT The name of this format- See Also:
- Constant Field Values
 
 - 
LOCUS_TAGprotected static final String LOCUS_TAG - See Also:
- Constant Field Values
 
 - 
DEFINITION_TAGprotected static final String DEFINITION_TAG - See Also:
- Constant Field Values
 
 - 
ACCESSION_TAGprotected static final String ACCESSION_TAG - See Also:
- Constant Field Values
 
 - 
VERSION_TAGprotected static final String VERSION_TAG - See Also:
- Constant Field Values
 
 - 
KEYWORDS_TAGprotected static final String KEYWORDS_TAG - See Also:
- Constant Field Values
 
 - 
SOURCE_TAGprotected static final String SOURCE_TAG - See Also:
- Constant Field Values
 
 - 
ORGANISM_TAGprotected static final String ORGANISM_TAG - See Also:
- Constant Field Values
 
 - 
REFERENCE_TAGprotected static final String REFERENCE_TAG - See Also:
- Constant Field Values
 
 - 
AUTHORS_TAGprotected static final String AUTHORS_TAG - See Also:
- Constant Field Values
 
 - 
CONSORTIUM_TAGprotected static final String CONSORTIUM_TAG - See Also:
- Constant Field Values
 
 - 
TITLE_TAGprotected static final String TITLE_TAG - See Also:
- Constant Field Values
 
 - 
JOURNAL_TAGprotected static final String JOURNAL_TAG - See Also:
- Constant Field Values
 
 - 
PUBMED_TAGprotected static final String PUBMED_TAG - See Also:
- Constant Field Values
 
 - 
MEDLINE_TAGprotected static final String MEDLINE_TAG - See Also:
- Constant Field Values
 
 - 
REMARK_TAGprotected static final String REMARK_TAG - See Also:
- Constant Field Values
 
 - 
COMMENT_TAGprotected static final String COMMENT_TAG - See Also:
- Constant Field Values
 
 - 
FEATURE_TAGprotected static final String FEATURE_TAG - See Also:
- Constant Field Values
 
 - 
BASE_COUNT_TAG_FULLprotected static final String BASE_COUNT_TAG_FULL - See Also:
- Constant Field Values
 
 - 
BASE_COUNT_TAGprotected static final String BASE_COUNT_TAG - See Also:
- Constant Field Values
 
 - 
START_SEQUENCE_TAGprotected static final String START_SEQUENCE_TAG - See Also:
- Constant Field Values
 
 - 
END_SEQUENCE_TAGprotected static final String END_SEQUENCE_TAG - See Also:
- Constant Field Values
 
 - 
locationParserprotected static final InsdcParser locationParser 
 - 
readableFilesprotected static final Pattern readableFiles 
 - 
headerLineprotected static final Pattern headerLine 
 
- 
 - 
Constructor Detail- 
GenbankSequenceParserpublic GenbankSequenceParser() 
 
- 
 - 
Method Detail- 
getSequencepublic String getSequence(BufferedReader bufferedReader, int sequenceLength) throws IOException - Specified by:
- getSequencein interface- SequenceParserInterface
- Returns:
- Throws:
- IOException
 
 - 
getSequenceHeaderParserpublic GenericGenbankHeaderParser<S,C> getSequenceHeaderParser() 
 - 
getDatabaseReferencespublic LinkedHashMap<String,ArrayList<DBReferenceInfo>> getDatabaseReferences() 
 - 
getKeyWordspublic ArrayList<String> getKeyWords() 
 - 
getFeaturespublic ArrayList<AbstractFeature> getFeatures(String keyword) 
 - 
getFeaturespublic HashMap<String,ArrayList<AbstractFeature>> getFeatures() 
 - 
parseFeaturespublic void parseFeatures(AbstractSequence<C> sequence) 
 - 
getCompoundTypepublic CompoundSet<?> getCompoundType() 
 
- 
 
-