next up previous contents
Next: Full Name to Integer Up: Nucleic Acids Previous: Three Letter Nucleic to

One Letter Nucleic to Integer

Calling Sequence:
NToInt(
nuc)
Parameters:
nuc : one letter code for nucleic acid

Returns: 0..6

Synopsis: This function converts the following one letter codes for nucleic acids 'A', 'C', 'G', 'T', 'U', 'X' to the integers 1..6 respectively. If nuc is not one of these symbols, then 0 is returned.

Examples:

> NToInt('A');
> NToInt('R');




Gaston Gonnet
1998-09-15