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: BioAssembly: Bio.Core (in Bio.Core.dll) Version: 2.0.0.1 (2.0.0.1)
Syntax public SparseSequence(
IAlphabet alphabet,
int size
)
Public Sub New (
alphabet As IAlphabet,
size As Integer
)
public:
SparseSequence(
IAlphabet^ alphabet,
int size
)
new :
alphabet : IAlphabet *
size : int -> SparseSequence
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