Click or drag to resize
GenBankParser Class
A GenBankParser reads from a source of text that is formatted according to the GenBank flat file specification, and converts the data to in-memory ISequence objects. For advanced users, the ability to select an encoding for the internal memory representation is provided. There is also a default encoding for each alphabet that may be encountered. Documentation for the latest GenBank file format can be found at ftp.ncbi.nih.gov/genbank/gbrel.txt
Inheritance Hierarchy
SystemObject
  Bio.IO.GenBankGenBankParser

Namespace: Bio.IO.GenBank
Assembly: Bio.Core (in Bio.Core.dll) Version: 2.0.0.1 (2.0.0.1)
Syntax
public sealed class GenBankParser : ISequenceParser, 
	IParserWithAlphabet<ISequence>, IParser<ISequence>, IParser

The GenBankParser type exposes the following members.

Constructors
  NameDescription
Public methodGenBankParser
Default constructor chooses default encoding based on alphabet.
Top
Properties
  NameDescription
Public propertyAlphabet
The alphabet to use for parsed ISequence objects. If this is not set, an alphabet will be determined based on the file being parsed.
Public propertyDescription
Gets the description of GenBank parser. This is intended to give developers some information of the formatter class. This property returns a simple description of what the GenBankParser class achieves.
Public propertyLocationBuilder
Location builder is used to build location objects from the location string present in the features. By default an instance of LocationBuilder class is used to build location objects.
Public propertyName
Gets the type of Parser i.e GenBank. This is intended to give developers some information of the parser class.
Public propertySupportedFileTypes
Supported file types.
Top
Methods
  NameDescription
Public methodEquals
Determines whether the specified object is equal to the current object.
(Inherited from Object.)
Public methodGetHashCode
Serves as the default hash function.
(Inherited from Object.)
Public methodGetType
Gets the Type of the current instance.
(Inherited from Object.)
Public methodParse
Parses a single GenBank text from a reader into a sequence.
Public methodParseOne
Parse a single entity from the given stream.
Public methodToString
Returns a string that represents the current object.
(Inherited from Object.)
Top
See Also