Click or drag to resize
SparseSequence Constructor (IAlphabet, Int32, IEnumerableByte)
Creates a sparse sequence based on the specified parameters. The sequenceItems parameter must contain sequence items known by the specified alphabet, else an exception will occur. The index parameter value must be a non negative.

Namespace: Bio
Assembly: Bio.Core (in Bio.Core.dll) Version: 2.0.0.1 (2.0.0.1)
Syntax
public SparseSequence(
	IAlphabet alphabet,
	int index,
	IEnumerable<byte> sequenceItems
)

Parameters

alphabet
Type: BioIAlphabet
The alphabet the sequence uses (e.g.. Alphabets.DNA or Alphabets.RNA or Alphabets.Protein)
index
Type: SystemInt32
A non negative value which indicates the start position of the specified sequence items.
sequenceItems
Type: System.Collections.GenericIEnumerableByte
A sequence which contain items known by the alphabet.
See Also