AlphabetsAutoDetectAlphabet Method |
This methods loops through supported alphabet types and tries to identify
the best alphabet type for the given symbols.
Namespace: BioAssembly: Bio.Core (in Bio.Core.dll) Version: 2.0.0.1 (2.0.0.1)
Syntax public static IAlphabet AutoDetectAlphabet(
byte[] symbols,
long offset,
long length,
IAlphabet identifiedAlphabetType
)
Public Shared Function AutoDetectAlphabet (
symbols As Byte(),
offset As Long,
length As Long,
identifiedAlphabetType As IAlphabet
) As IAlphabet
public:
static IAlphabet^ AutoDetectAlphabet(
array<unsigned char>^ symbols,
long long offset,
long long length,
IAlphabet^ identifiedAlphabetType
)
static member AutoDetectAlphabet :
symbols : byte[] *
offset : int64 *
length : int64 *
identifiedAlphabetType : IAlphabet -> IAlphabet
Parameters
- symbols
- Type: SystemByte
Symbols on which auto detection should be performed. - offset
- Type: SystemInt64
Offset from which the auto detection should start. - length
- Type: SystemInt64
Number of symbols to process from the offset position. - identifiedAlphabetType
- Type: BioIAlphabet
In case the symbols passed are a sub set of a bigger sequence,
provide the already identified alphabet type of the sequence.
Return Value
Type:
IAlphabetReturns the detected alphabet type or null if detection fails.
See Also