Skip to Main Content Skip to Search
Product Documentation

dna2rna - Convert DNA sequence to RNA sequence

Syntax

SeqRNA = dna2rna(SeqDNA)

Arguments

SeqDNA

DNA sequence specified by any of the following:

Description

SeqRNA = dna2rna(SeqDNA) converts a DNA sequence to an RNA sequence by converting any thymine nucleotides (T) in the DNA sequence to uracil nucleotides (U). The RNA sequence is returned in the same format as the DNA sequence. For example, if SeqDNA is a vector of integers, then so is SeqRNA.

Examples

Convert a DNA sequence to an RNA sequence.

rna = dna2rna('ACGATGAGTCATGCTT')

rna =
ACGAUGAGUCAUGCUU

See Also

regexp | rna2dna | strrep

  


Free Computational Biology Interactive Kit

See how to analyze, visualize, and model biological data and systems using MathWorks products.

Get free kit

Trials Available

Try the latest computational biology products.

Get trial software
 © 1984-2012- The MathWorks, Inc.    -   Site Help   -   Patents   -   Trademarks   -   Privacy Policy   -   Preventing Piracy   -   RSS