Click or drag to resize
SparseSequence Constructor (IAlphabet, Int32)
Creates a SparseSequence with no sequence data. Count property of SparseSequence instance created by using this constructor will be set a value specified by size parameter. For working with sequences that never have sequence data, but are only used for metadata storage (like keeping an ID or various features but no direct sequence data) consider using the VirtualSequence class instead.

Namespace: Bio
Assembly: Bio.Core (in Bio.Core.dll) Version: 2.0.0.1 (2.0.0.1)
Syntax
public SparseSequence(
	IAlphabet alphabet,
	int size
)

Parameters

alphabet
Type: BioIAlphabet
The alphabet the sequence uses (e.g.. Alphabets.DNA or Alphabets.RNA or Alphabets.Protein)
size
Type: SystemInt32
A value indicating the size of this sequence.
See Also