Click or drag to resize
FastAFormatter Class
Writes an ISequence the file specified while creating an instance of this class. The output is formatter according to the FastA format.
Inheritance Hierarchy
SystemObject
  Bio.IO.FastAFastAFormatter

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

The FastAFormatter type exposes the following members.

Constructors
  NameDescription
Public methodFastAFormatter
Constructor
Top
Properties
  NameDescription
Public propertyAutoFlush
Gets or sets a value indicating whether the FastAFormatter will flush its buffer to the underlying stream after every call to Write(ISequence).
Public propertyDescription
Gets the description of this formatter. This is intended to give developers some information of the formatter class. This property returns a simple description of what this class achieves.
Public propertyMaxSymbolsAllowedPerLine
Gets or sets the maximum symbols allowed per line. Default value is 80. Note that the FastA format recommends that all lines should be less than 80 symbol in length.
Public propertyName
Gets the name of this formatter. This is intended to give developers name of the formatter.
Public propertySupportedFileTypes
Gets the file extension supported by this formatter.
Top
Methods
  NameDescription
Public methodEquals
Determines whether the specified object is equal to the current object.
(Inherited from Object.)
Public methodFormat(Stream, ISequence)
Writes the specified sequence in FastA format to the file. Note that if the sequence contains more than the MaxSymbolsAllowedPerLine value then it will split the symbols in the specified sequence in to multiple lines, where each line will contain maximum of MaxSymbolsAllowedPerLine symbols.
Public methodFormat(Stream, IEnumerableISequence)
Writes the Multiple sequence in FastA format to the file. Note that if the sequence contains more than the MaxSymbolsAllowedPerLine value then it will split the symbols in the specified sequence in to multiple lines, where each line will contain maximum of MaxSymbolsAllowedPerLine symbols.
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