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: BioAssembly: 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
)
Public Sub New (
alphabet As IAlphabet,
index As Integer,
sequenceItems As IEnumerable(Of Byte)
)
public:
SparseSequence(
IAlphabet^ alphabet,
int index,
IEnumerable<unsigned char>^ sequenceItems
)
new :
alphabet : IAlphabet *
index : int *
sequenceItems : IEnumerable<byte> -> SparseSequence
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