Returns the symbol for a single token.

Namespace:  BioSharp.Core.Bio.Seq.IO
Assembly:  BioSharp.Core (in BioSharp.Core.dll) Version: 0.1.3191.26120 (0.1.0.0)

Syntax

C#
public abstract ISymbol ParseToken(
	string token
)

Parameters

token
Type: System..::.String
token the token to retrieve a ISymbol for

Return Value

the ISymbol for that token

Implements

ISymbolTokenization..::.ParseToken(String)

Remarks

The ISymbol will be a member of the alphabet. If the token is not recognized as mapping to a symbol, an exception will be thrown.

Exceptions

ExceptionCondition
BioSharp.Core.Bio.Symbol..::.IllegalSymbolExceptionif there is no ISymbol for the token

See Also