Class GenbankSequenceParser<S extends AbstractSequence<C>,​C extends Compound>

    • Field Detail

      • GENBANK_FORMAT

        public static final java.lang.String GENBANK_FORMAT
        The name of this format
        See Also:
        Constant Field Values
      • BASE_COUNT_TAG_FULL

        protected static final java.lang.String BASE_COUNT_TAG_FULL
        See Also:
        Constant Field Values
      • START_SEQUENCE_TAG

        protected static final java.lang.String START_SEQUENCE_TAG
        See Also:
        Constant Field Values
      • END_SEQUENCE_TAG

        protected static final java.lang.String END_SEQUENCE_TAG
        See Also:
        Constant Field Values
      • lp

        protected static final java.util.regex.Pattern lp
      • vp

        protected static final java.util.regex.Pattern vp
      • refRange

        protected static final java.util.regex.Pattern refRange
      • refp

        protected static final java.util.regex.Pattern refp
      • dbxp

        protected static final java.util.regex.Pattern dbxp
      • locationParser

        protected static final InsdcParser locationParser
      • sectp

        protected static final java.util.regex.Pattern sectp
        sections start at a line and continue till the first line afterwards with a non-whitespace first character we want to match any of the following as a new section within a section \s{0,8} word \s{0,7} value \s{21} /word = value \s{21} /word
      • readableFiles

        protected static final java.util.regex.Pattern readableFiles
      • headerLine

        protected static final java.util.regex.Pattern headerLine
    • Constructor Detail

      • GenbankSequenceParser

        public GenbankSequenceParser()
    • Method Detail

      • getSequence

        public java.lang.String getSequence​(java.io.BufferedReader bufferedReader,
                                            int sequenceLength)
        Specified by:
        getSequence in interface SequenceParserInterface
        Returns:
      • getHeader

        public java.lang.String getHeader()
      • getDatabaseReferences

        public java.util.Map<java.lang.String,​java.util.List<DBReferenceInfo>> getDatabaseReferences()
      • getKeyWords

        public java.util.List<java.lang.String> getKeyWords()
      • getCompoundType

        public CompoundSet<?> getCompoundType()