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: BioAssembly: Bio.Core (in Bio.Core.dll) Version: 2.0.0.1 (2.0.0.1)
Syntax bool TryGetComplementSymbol(
byte symbol,
out byte complementSymbol
)
Function TryGetComplementSymbol (
symbol As Byte,
<OutAttribute> ByRef complementSymbol As Byte
) As Boolean
bool TryGetComplementSymbol(
unsigned char symbol,
[OutAttribute] unsigned char% complementSymbol
)
abstract TryGetComplementSymbol :
symbol : byte *
complementSymbol : byte byref -> bool
Parameters
- symbol
- Type: SystemByte
Symbol for which the complement symbol is needed. - complementSymbol
- Type: SystemByte
Complement symbol.
Return Value
Type:
BooleanReturns true if complement symbol is found and returned, else returns false.
See Also