IAlphabetTryGetComplementSymbol Method (Byte, Byte) |
Gets the complements for the specified symbols.
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[] symbols,
out byte[] complementSymbols
)
Function TryGetComplementSymbol (
symbols As Byte(),
<OutAttribute> ByRef complementSymbols As Byte()
) As Boolean
bool TryGetComplementSymbol(
array<unsigned char>^ symbols,
[OutAttribute] array<unsigned char>^% complementSymbols
)
abstract TryGetComplementSymbol :
symbols : byte[] *
complementSymbols : byte[] byref -> bool
Parameters
- symbols
- Type: SystemByte
Symbol for which the complement symbol is needed. - complementSymbols
- Type: SystemByte
Complement symbol.
Return Value
Type:
BooleanReturns true if complement symbol is found and returned, else returns false.
See Also