dnaTranslate
%%Purpose: The purpose of this function is to 'Translate' DNA nucleotides
%%into the amino acids that they would create.
%%
%%How it works: The function searches for the start codon, methionine, and
%%starts translating from there. After the function has reached a stop
%%codon, it will start looking for another start codon. Once it reaches the
%%start codon, the function will again translate the codons into the
%%respective amino acids. This process continues until the input, dnaVec,
%%as been iterated all the way through.
%%
%%Inputs:
%%dnaVec: This should be a string of the DNA nucleotides that need to be
%%translated into amino acids. The input should be in all lowercase and use
%%the mRNA strand that looks similar to the sense strand in that it has
%%uracil instead of thymine.
%%
%%Outputs:
%%amino_acids: This is a cell of all of the amino acids FROM THE EXONS of
%%the dnaVec. amino_acids also includes methionine and STOP.
Cite As
Alexander Wallar (2026). dnaTranslate (https://uk.mathworks.com/matlabcentral/fileexchange/32268-dnatranslate), MATLAB Central File Exchange. Retrieved .
MATLAB Release Compatibility
Platform Compatibility
Windows macOS LinuxCategories
Tags
Discover Live Editor
Create scripts with code, output, and formatted text in a single executable document.
| Version | Published | Release Notes | |
|---|---|---|---|
| 1.0.0.0 |
