Click or drag to resize
ProteinAlphabet Methods

The ProteinAlphabet type exposes the following members.

Methods
  NameDescription
Protected methodAddAminoAcid
Adds a Amino acid to the existing amino acids.
Public methodCheckIsAmbiguous
Checks if the provided item is an ambiguous character or not
Public methodCheckIsGap
Checks if the provided item is a gap character or not
Public methodCompareSymbols
Compares two symbols.
Public methodEquals
Determines whether the specified object is equal to the current object.
(Inherited from Object.)
Protected methodFinalize
Allows an object to try to free resources and perform other cleanup operations before it is reclaimed by garbage collection.
(Inherited from Object.)
Public methodGetAmbiguousSymbols
Gets the ambigious characters present in alphabet.
Public methodGetConsensusSymbol
Find the consensus nucleotide for a set of nucleotides.
Public methodGetEnumerator
Byte array of nucleotides.
Public methodGetFriendlyName
Gets the friendly name of a given symbol.
Public methodGetHashCode
Serves as the default hash function.
(Inherited from Object.)
Public methodGetSymbolValueMap
Maps A to A and a to A that is key will contain unique values. This will be used in the IsValidSymbol method to address Scenarios like a == A, G == g etc.
Public methodGetType
Gets the Type of the current instance.
(Inherited from Object.)
Public methodGetValidSymbols
Gets the valid symbol.
Protected methodMapAmbiguousAminoAcid
Maps the ambiguous amino acids to the amino acids it represents. For example ambiguous amino acids M represents the basic nucleotides A or C.
Protected methodMemberwiseClone
Creates a shallow copy of the current Object.
(Inherited from Object.)
Public methodToString
Converts the Protein Alphabets to string.
(Overrides ObjectToString.)
Public methodTryGetAmbiguousSymbol
Gets the Ambiguous symbol.
Public methodTryGetBasicSymbols
Gets the Basic symbol.
Public methodTryGetComplementSymbol(Byte, Byte)
Gets the complement of the symbol.
Public methodTryGetComplementSymbol(Byte, Byte)
This method tries to get the complements for specified symbols.
Public methodTryGetDefaultGapSymbol
Gets the default Gap symbol.
Public methodTryGetDefaultTerminationSymbol
Gets the default Termination symbol.
Public methodTryGetGapSymbols
Gets the Gap symbol.
Public methodTryGetTerminationSymbols
Gets the Termination symbol.
Public methodValidateSequence
Validates if all symbols provided are Protein symbols or not.
Top
Extension Methods
  NameDescription
Public Extension MethodAppendByte(Byte)Overloaded.
Yield an Enumeration of the list with the item appended to the end
(Defined by IEnumerableExtensions.)
Public Extension MethodAppendByte(IEnumerableByte)Overloaded.
Yield a concatenation of the two Enumerable lists
(Defined by IEnumerableExtensions.)
Public Extension MethodCheckIsAmbiguous
Checks if the provided item is an ambiguous character or not
(Defined by AlphabetExtensions.)
Public Extension MethodCheckIsGap
Checks if the provided item is a gap character or not
(Defined by AlphabetExtensions.)
Public Extension MethodCheckIsTermination(Byte)Overloaded.
This returns true/false if the given symbol value is considered a termination value in the alphabet.
(Defined by AlphabetExtensions.)
Public Extension MethodCheckIsTermination(Char)Overloaded.
This returns true/false if the given symbol value is considered a termination value in the alphabet.
(Defined by AlphabetExtensions.)
Public Extension MethodElementAtByte
Returns the element at a specified index in a sequence.
(Defined by IEnumerableExtensions.)
Public Extension MethodForEachByte(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.)
Public Extension MethodForEachByte(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.)
Public Extension MethodGetFriendlyName
Gets the friendly name of a given symbol.
(Defined by AlphabetExtensions.)
Public Extension MethodGetMummerAlphabet
Find corresponding mummer alphabet which supports the concatenation symbol using an existing alphabet
(Defined by MummerAlphabetExtensions.)
Public Extension MethodShuffleByte
Shuffles the elements of a sequence.
(Defined by IEnumerableExtensions.)
Public Extension MethodStringJoinOverloaded.
Creates a string from a sequence of elements. No delimiter is used.
(Defined by IEnumerableExtensions.)
Public Extension MethodStringJoin(String)Overloaded.
Creates a delimited string from a sequence of elements.
(Defined by IEnumerableExtensions.)
Public Extension MethodStringJoin(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.)
Public Extension MethodSubSequenceByte
Take the items from a sequence starting with item # start (index 0) and contining for count items.
(Defined by IEnumerableExtensions.)
Public Extension MethodToHashSetByteOverloaded.
Creates a HashSet from a sequence. If the sequence is already a HashSet, a new HashSet is still created.
(Defined by IEnumerableExtensions.)
Public Extension MethodToHashSetByte(IEqualityComparerByte)Overloaded.
Creates a HashSet from a sequence. If the sequence is already a HashSet, a new HashSet is still created.
(Defined by IEnumerableExtensions.)
Public Extension MethodToQueueByte
Creates a Queue from a sequence. If the sequence is already a Queue, a new Queue is still created.
(Defined by IEnumerableExtensions.)
Top
See Also