Click or drag to resize
AlphabetsAutoDetectAlphabet Method
This methods loops through supported alphabet types and tries to identify the best alphabet type for the given symbols.

Namespace: Bio
Assembly: 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
)

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: IAlphabet
Returns the detected alphabet type or null if detection fails.
See Also