Click or drag to resize
GenBankFormatter Class
Writes an ISequence to a particular location, usually a file. The output is formatted according to the GenBank file format. A method is also provided for quickly accessing the content in string form for applications that do not need to first write to file.
Inheritance Hierarchy
SystemObject
  Bio.IO.GenBankGenBankFormatter

Namespace: Bio.IO.GenBank
Assembly: Bio.Core (in Bio.Core.dll) Version: 2.0.0.1 (2.0.0.1)
Syntax
public sealed class GenBankFormatter : ISequenceFormatter, 
	IFormatter<ISequence>, IFormatter

The GenBankFormatter type exposes the following members.

Constructors
  NameDescription
Public methodGenBankFormatter
Default constructor.
Top
Properties
  NameDescription
Public propertyDescription
Gets the description of GenBank formatter. This is intended to give developers some information of the formatter class. This property returns a simple description of what the GenBankFormatter class achieves.
Public propertyLocationBuilder
Location builder is used to build location string from the location object present in the feature items. By default an instance of LocationBuilder class is used to get the location string.
Public propertyName
Gets the type of Formatter i.e GenBank. This is intended to give developers some information of the formatter class.
Public propertySupportedFileTypes
Gives the supported file types.
Top
Methods
  NameDescription
Public methodEquals
Determines whether the specified object is equal to the current object.
(Inherited from Object.)
Public methodFormat(Stream, ISequence)
Writes an ISequence to the specified stream.
Public methodFormat(Stream, IEnumerableISequence)
Write a collection of ISequences to a stream.
Public methodGetHashCode
Serves as the default hash function.
(Inherited from Object.)
Public methodGetType
Gets the Type of the current instance.
(Inherited from Object.)
Public methodToString
Returns a string that represents the current object.
(Inherited from Object.)
Top
See Also