baselookup

Display nucleotide codes, integers, names, and abbreviations

Syntax

baselookup
baselookup('Complement', SeqNT)
baselookup('Code', CodeValue)
baselookup('Integer', IntegerValue)
baselookup('Name', )

Arguments

SeqNT

Nucleotide sequence. Enter a character string of single-letter codes from the Nucleotide Lookup Table below.

In addition to a single nucleotide sequence, SeqNT can be a cell array of sequences, or a two-dimensional character array of sequences. The complement for each sequence is determined independently

Code

Nucleotide letter code. Enter a single character from the Nucleotide Lookup Table below. Code can also be a cell array or a two-dimensional character array.

Nucleotide integer. Enter an integer from the Nucleotide Lookup Table below. Integers are arbitrarily assigned to IUB/IUPAC letters.

Name

Nucleotide name. Enter a nucleotide name from the Nucleotide Lookup Table below. NameValue can also be a single name, a cell array, or a two-dimensional character array.

Nucleotide Lookup Table

CodeInteger Base Name MeaningComplement

A

1

Adenine

AT

C

2

CytosineCG

G

3

GuanineGC

T

4

ThymineTA
U4UracilUA

R

5

(PuRine)G|AY

Y

6

(PYrimidine)T|CR

K

7

(Keto)

G|T

M

M

8

(AMino)A|CK

S

9

Strong interaction (3 H bonds)G|CS

W

10

Weak interaction (2 H bonds)A|TW

B

11

Not-A (B follows A)G|T|CV

D

12

Not-C (D follows C)G|A|TH

H

13

Not-G (H follows G)A|T|CD

V

14

Not-T (or U) (V follows U)G|A|CB

N,X

15

ANy nucleotideG|A|T|CN

-

16

Gap of indeterminate lengthGap-

Description

baselookup displays a table of all nucleotide codes, integers, meanings, and names.

baselookup('Complement', SeqNT) displays the complementary nucleotide sequence.

baselookup('Code', CodeValue) displays the corresponding letter code, meaning, and name. For ambiguous nucleotide letters (R Y K M S W B D H V N X), the name is replace by a descriptive name.

displays the corresponding letter code, meaning, and nucleotide name.

baselookup('Name', NameValue) displays the corresponding letter code and meaning.

Examples

baselookup('COMPLEMENT', 'TAGCTGRCCAAGGCCAAGCGAGCTTN')

baselookup('name','cytosine')
 

See Also

Bioinformatics Toolbox functions aminolookup, basecount, codoncount, dimercount, geneticcode, nt2aa, nt2int, revgeneticcode


© 1994-2005 The MathWorks, Inc.