Click or drag to resize
IAlphabetTryGetComplementSymbol Method (Byte, Byte)
Gets the complement for the specified symbol. This is to address the scenarios like in case of DNA complement of A is T etc. Note: If the complement is not supported then this method returns false. To know whether this alphabet supports complement or not, Use IsComplementSupported property.

Namespace: Bio
Assembly: Bio.Core (in Bio.Core.dll) Version: 2.0.0.1 (2.0.0.1)
Syntax
bool TryGetComplementSymbol(
	byte symbol,
	out byte complementSymbol
)

Parameters

symbol
Type: SystemByte
Symbol for which the complement symbol is needed.
complementSymbol
Type: SystemByte
Complement symbol.

Return Value

Type: Boolean
Returns true if complement symbol is found and returned, else returns false.
See Also