Click or drag to resize
SparseSequence Properties

The SparseSequence type exposes the following members.

Properties
  NameDescription
Public propertyAlphabet
The alphabet to which string representations of the sequence should conform.
Public propertyCount
The number of sequence items contained in the Sequence.
Public propertyID
An identification provided to distinguish the sequence to others being worked with.
Public propertyItem
Allows the sequence to function like an array, gets the sequence item at the specified index. Note that the index value starts its count at 0.
Public propertyMetadata
Many sequence representations when saved to file also contain information about that sequence. Unfortunately there is no standard around what that data may be from format to format. This property allows a place to put structured metadata that can be accessed by a particular key. For example, if species information is stored in a particular Species class, you could add it to the dictionary by: mySequence.Metadata["SpeciesInfo"] = mySpeciesInfo; To fetch the data you would use: Species mySpeciesInfo = mySequence.Metadata["SpeciesInfo"]; Particular formats may create their own data model class for information unique to their format as well. Such as: GenBankMetadata genBankData = new GenBankMetadata(); // ... add population code mySequence.MetaData["GenBank"] = genBankData;
Public propertyStatistics
Keeps track of the number of occurrences of each symbol within a sequence.
Top
See Also