Click or drag to resize
SAMFormatter Class
Writes a SequenceAlignmentMap to a particular location, usually a file. The output is formatted according to the SAM file format specification 1.4. A method is also provided for quickly accessing the content in string form for applications that do not need to first write to file. Documentation for the latest SAM file format can be found at http://samtools.sourceforge.net/SAM1.pdf
Inheritance Hierarchy
SystemObject
  Bio.IO.SAMSAMFormatter

Namespace: Bio.IO.SAM
Assembly: Bio.Core (in Bio.Core.dll) Version: 2.0.0.1 (2.0.0.1)
Syntax
public class SAMFormatter : ISequenceAlignmentFormatter, 
	IFormatter<ISequenceAlignment>, IFormatter

The SAMFormatter type exposes the following members.

Constructors
  NameDescription
Public methodSAMFormatter
Initializes a new instance of the SAMFormatter class
Top
Properties
  NameDescription
Public propertyDescription
Gets the description of the sequence alignment formatter being implemented. This is intended to give the developer some information of the formatter.
Public propertyName
Gets the name of the sequence alignment formatter being implemented. This is intended to give the developer some information of the formatter type.
Public propertySupportedFileTypes
Gets the file extensions that the formatter implementation will support.
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 methodFormat(Stream, ISequenceAlignment)
Writes an ISequenceAlignment to the location specified by the stream.
Public methodFormat(Stream, IEnumerableISequenceAlignment)
Write a collection of ISequenceAlignments to a file.
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 methodToString
Returns a string that represents the current object.
(Inherited from Object.)
Public methodStatic memberWriteHeader
Writes specified SAMAlignedHeader to specified text writer.
Public methodStatic memberWriteSAMAlignedSequence
Writes SAMAlignedSequence to specified text writer.
Top
See Also