SparseSequence Constructor (IAlphabet) |
Creates a SparseSequence with no sequence data.
Count property of SparseSequence instance created by using this constructor will be set to zero.
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
)
Public Sub New (
alphabet As IAlphabet
)
public:
SparseSequence(
IAlphabet^ alphabet
)
new :
alphabet : IAlphabet -> SparseSequence
Parameters
- alphabet
- Type: BioIAlphabet
The alphabet the sequence uses (e.g.. Alphabets.DNA or Alphabets.RNA or Alphabets.Protein)
See Also