QualitativeSequence Class |
Namespace: Bio
The QualitativeSequence type exposes the following members.
Name | Description | |
---|---|---|
QualitativeSequence(IAlphabet, FastQFormatType, Byte, Byte) |
Initializes a new instance of the QualitativeSequence class with specified alphabet, quality score type,
byte array representing symbols and encoded quality scores.
Sequence and quality scores are validated with the specified alphabet and specified fastq format respectively.
| |
QualitativeSequence(IAlphabet, FastQFormatType, String, String) |
Initializes a new instance of the QualitativeSequence class with specified alphabet, quality score type,
string representing symbols and encoded quality scores.
Sequence and quality scores are validated with the specified alphabet and specified fastq format respectively.
| |
QualitativeSequence(IAlphabet, FastQFormatType, Byte, Byte, Boolean) |
Initializes a new instance of the QualitativeSequence class with specified alphabet, quality score type,
byte array representing symbols and encoded quality scores.
| |
QualitativeSequence(IAlphabet, FastQFormatType, Byte, Int32, Boolean) |
Initializes a new instance of the QualitativeSequence class with specified alphabet, quality score type,
byte array representing symbols and integer array representing base quality scores
(Phred or Solexa base according to the FastQ format type).
| |
QualitativeSequence(IAlphabet, FastQFormatType, Byte, SByte, Boolean) |
Initializes a new instance of the QualitativeSequence class with specified alphabet, quality score type,
byte array representing symbols and signed byte array representing base quality scores
(Phred or Solexa base according to the FastQ format type).
| |
QualitativeSequence(IAlphabet, FastQFormatType, String, String, Boolean) |
Initializes a new instance of the QualitativeSequence class with specified alphabet, quality score type,
string representing symbols and encoded quality scores.
|
Name | Description | |
---|---|---|
Alphabet |
Gets the alphabet to which symbols in this sequence belongs to.
| |
Count |
Gets the number of bytes contained in the Sequence.
| |
FormatType |
Gets the quality scores format type.
Ex: Illumina/Solexa/Sanger.
| |
ID |
Gets or sets the Identifier.
| |
Item |
Returns the byte which represents the symbol found at the specified index if within bounds. Note
that the index value starts at 0.
| |
Metadata | Gets or sets the metadata for this qualitative sequence. 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;. |
Name | Description | |
---|---|---|
ConvertEncodedQualityScore(FastQFormatType, FastQFormatType, Byte) |
Converts Encoded quality score from to specified format.
| |
ConvertEncodedQualityScore(FastQFormatType, FastQFormatType, Byte) |
Converts Encoded quality scores from to specified format.
| |
ConvertQualityScore |
Converts Quality score from to specified format.
| |
ConvertQualityScores(FastQFormatType, FastQFormatType, Int32) |
Converts Quality scores from to specified format.
| |
ConvertQualityScores(FastQFormatType, FastQFormatType, SByte) |
Converts Quality scores from to specified format.
| |
ConvertTo |
Converts the current instance to the specified FastQ format type
and returns a new instance of QualitativeSequence.
| |
Equals | Determines whether the specified object is equal to the current object. (Inherited from Object.) | |
Finalize | Allows an object to try to free resources and perform other cleanup operations before it is reclaimed by garbage collection. (Inherited from Object.) | |
GetComplementedSequence |
Return a new QualitativeSequence representing the complement of this QualitativeSequence.
| |
GetDefaultQualScore |
Gets the default quality score for the specified FastQFormatType.
| |
GetEncodedQualityScore |
Gets the encoded quality score found at the specified index if within bounds. Note that the index value start at 0.
| |
GetEncodedQualityScores |
Gets the encoded quality scores.
| |
GetEnumerator |
Gets an enumerator to the bytes present symbols in this sequence.
| |
GetHashCode | Serves as the default hash function. (Inherited from Object.) | |
GetMaxEncodedQualScore |
Gets the maximum encoded quality score for the specified FastQFormatType.
| |
GetMinEncodedQualScore |
Gets the minimum encoded quality score for the specified FastQFormatType.
| |
GetPhredQualityScore |
Gets the Phred base quality score.
| |
GetPhredQualityScores |
Gets the Phred base quality scores.
| |
GetQualityScore |
Returns base quality scores at specified index.
Returns Solexa quality scores if the FastQFormat type of this instance is Solexa Illumina v1.0,
else returns Phred quality scores.
| |
GetQualityScores |
Returns base quality scores.
Returns Solexa quality scores if the FastQFormat type of this instance is Solexa Illumina v1.0,
else returns Phred quality scores.
| |
GetReverseComplementedSequence |
Return a new QualitativeSequence representing the reverse complement of this QualitativeSequence.
| |
GetReversedSequence |
Return a new QualitativeSequence representing this QualitativeSequence with the orientation reversed.
| |
GetSolexaQualityScore |
Gets the Solexa base quality score.
| |
GetSolexaQualityScores |
Gets the solexa base quality scores.
| |
GetSubSequence |
Return a new QualitativeSequence representing a range (subsequence) of this QualitativeSequence.
| |
GetType | Gets the Type of the current instance. (Inherited from Object.) | |
IndexOfNonGap |
Gets the index of first non-gap symbol.
| |
IndexOfNonGap(Int64) |
Returns the position of the first symbol beyond startPos that does not
have a Gap symbol.
| |
LastIndexOfNonGap |
Gets the index of last non-gap symbol.
| |
LastIndexOfNonGap(Int64) |
Returns the index of last non-gap symbol before the specified end position.
| |
MemberwiseClone | Creates a shallow copy of the current Object. (Inherited from Object.) | |
ToString |
Returns a string representation of the Qualitative sequence data. This representation
will come from the symbols in the alphabet defined for the sequence.
Also their Quality scores.
(Overrides ObjectToString.) | |
ValidateQualScores |
Validates whether the specified encoded quality scores are within the FastQFormatType limit or not.
|
Name | Description | |
---|---|---|
Illumina_v1_3_MaxEncodedQualScore |
Maximum encoded quality score for Illumina v1.3 format: 126
| |
Illumina_v1_3_MinEncodedQualScore |
Minimum encoded quality score for Illumina v1.3 format: 64
| |
Illumina_v1_5_MaxEncodedQualScore |
Maximum encoded quality score for Illumina v1.5 format: 126
| |
Illumina_v1_5_MinEncodedQualScore |
Minimum encoded quality score for Illumina v1.5 format: 64
| |
Illumina_v1_8_MaxEncodedQualScore |
Maximum encoded quality score for Illumina v1.8 format: 126
| |
Illumina_v1_8_MinEncodedQualScore |
Minimum encoded quality score for Illumina v1.8 format: 33
| |
Phred_MaxQualityScore |
Phred maximum quality score: 93
| |
Phred_MinQualityScore |
Phred minimum quality score: 0
| |
Sanger_MaxEncodedQualScore |
Maximum encoded quality score for Sanger format: 126
| |
Sanger_MinEncodedQualScore |
Minimum encoded quality score for Sanger format: 33
| |
Solexa_Illumina_v1_0_MaxEncodedQualScore |
Maximum encoded quality score for Solexa/Illumina v1.0 format: 126
| |
Solexa_Illumina_v1_0_MinEncodedQualScore |
Minimum encoded quality score for Solexa/Illumina v1.0 format: 59
| |
Solexa_MaxQualityScore |
Solexa maximum quality score: 62
| |
Solexa_MinQualityScore |
Solexa minimum quality score: -5
|
Name | Description | |
---|---|---|
AppendByte(Byte) | Overloaded.
Yield an Enumeration of the list with the item appended to the end
(Defined by IEnumerableExtensions.) | |
AppendByte(IEnumerableByte) | Overloaded.
Yield a concatenation of the two Enumerable lists
(Defined by IEnumerableExtensions.) | |
ConvertToString |
Converts the sequence to a string.
(Defined by SequenceExtensions.) | |
ElementAtByte |
Returns the element at a specified index in a sequence.
(Defined by IEnumerableExtensions.) | |
ForEachByte(ActionByte) | Overloaded.
Calls an action on each element of a sequence. The action takes one argument: an element. It has no return value.
(Defined by IEnumerableExtensions.) | |
ForEachByte(ActionByte, Int32) | Overloaded.
Calls an action on each element of a sequence. The action takes two arguments: an element and the index of the element.
It has no return value.
(Defined by IEnumerableExtensions.) | |
IsMarkedAsReverseComplement |
This checks for a sequence marker to determine if the given ISequence was generated from
a reverse complement.
(Defined by SequenceExtensions.) | |
MarkAsReverseComplement |
This adds a key to the Metadata to indicate this is a reversed sequence
(Defined by SequenceExtensions.) | |
ShuffleByte |
Shuffles the elements of a sequence.
(Defined by IEnumerableExtensions.) | |
StringJoin | Overloaded.
Creates a string from a sequence of elements. No delimiter is used.
(Defined by IEnumerableExtensions.) | |
StringJoin(String) | Overloaded.
Creates a delimited string from a sequence of elements.
(Defined by IEnumerableExtensions.) | |
StringJoin(String, Int32, String) | Overloaded.
Creates a delimited string from a sequence of elements. At most maxLength elements will be used and "..." shows that more elements were in the list.
(Defined by IEnumerableExtensions.) | |
SubSequenceByte |
Take the items from a sequence starting with item # start (index 0) and contining for count items.
(Defined by IEnumerableExtensions.) | |
ToHashSetByte | Overloaded.
Creates a HashSet from a sequence. If the sequence is already a HashSet, a new HashSet is still created.
(Defined by IEnumerableExtensions.) | |
ToHashSetByte(IEqualityComparerByte) | Overloaded.
Creates a HashSet from a sequence. If the sequence is already a HashSet, a new HashSet is still created.
(Defined by IEnumerableExtensions.) | |
ToQueueByte |
Creates a Queue from a sequence. If the sequence is already a Queue, a new Queue is still created.
(Defined by IEnumerableExtensions.) |