Returns the symbol for a single token.
Namespace:
BioSharp.Core.Bio.Seq.IOAssembly: BioSharp.Core (in BioSharp.Core.dll) Version: 0.1.3191.26120 (0.1.0.0)
Syntax
Parameters
- token
- Type: System..::.String
token the token to retrieve a ISymbol for
Return Value
the ISymbol for that tokenRemarks
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
Exception | Condition |
---|---|
BioSharp.Core.Bio.Symbol..::.IllegalSymbolException | if there is no ISymbol for the token |