next up previous contents
Next: One Letter Nucleic to Up: Nucleic Acids Previous: Nucleic Acids

Three Letter Nucleic to Integer

Calling Sequence:
NucToInt(
nuc)
Parameters:
nuc : three letter code for nucleic acid

Returns: 1..5

Synopsis: This function converts the following three letter codes for nucleic acids 'Ade', 'Cyt', 'Gua', 'Thy', 'Ura' to the integers 1..5 respectively.

Examples:

> NucToInt('Ade');




Gaston Gonnet
1998-09-15