Click or drag to resize
FastAParser Class
A FastaParser reads from a source of text that is formatted according to the FASTA 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 FastA file format can be found at http://www.ncbi.nlm.nih.gov/blast/fasta.shtml .
Inheritance Hierarchy
SystemObject
  Bio.IO.FastAFastAParser

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

The FastAParser type exposes the following members.

Constructors
  NameDescription
Public methodFastAParser
Initializes a new instance of the FastAParser class
Top
Properties
  NameDescription
Public propertyAlphabet
Gets or sets the alphabet to use for parsed ISequence objects. If this is not set, the alphabet will be determined based on the file being parsed.
Public propertyDescription
Gets the description of the parser. This is intended to give developers some information of the parser class. This property returns a simple description of what this class achieves.
Public propertyName
Gets the type of parser. This is intended to give developers name of the parser.
Public propertySupportedFileTypes
Gets a comma separated values of the possible FastA file extensions.
Top
Methods
  NameDescription
Public methodEquals
Determines whether the specified object is equal to the current object.
(Inherited from Object.)
Protected methodFinalize
Allows an object to try to free resources and perform other cleanup operations before it is reclaimed by garbage collection.
(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.)
Protected methodMemberwiseClone
Creates a shallow copy of the current Object.
(Inherited from Object.)
Public methodParse
Returns an IEnumerable of sequences in the stream being parsed.
Public methodParseOne
Returns an IEnumerable of sequences in the stream being parsed.
Public methodToString
Returns a string that represents the current object.
(Inherited from Object.)
Top
See Also