Biological Sequence Pasting Shortcuts
When pasting biological sequences from the clipboard into MATLAB, contaminating characters, such as newlines, must be removed before the sequence can be used. These three shortcuts- take, takes, and protake- paste biological sequences from the clipboard and remove contaminated characters. Take copies nucleotide sequences and allows for degenerate bases. Takes is the strict version of take and only allows for A, C, G, T, and -. Protake replicates take, but for protein sequences, including - for gaps and * for stop. Each shortcut is case insensitive and can be called to assign the output to variables or directly within function expressions. Ex: "seq = takes;" or "[score,algnmnt] = swalign(takes,otherseq,'Alphabet','NT');"
Cite As
Turner Conrad (2024). Biological Sequence Pasting Shortcuts (https://www.mathworks.com/matlabcentral/fileexchange/48951-biological-sequence-pasting-shortcuts), MATLAB Central File Exchange. Retrieved .
MATLAB Release Compatibility
Platform Compatibility
Windows macOS LinuxCategories
Tags
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!Discover Live Editor
Create scripts with code, output, and formatted text in a single executable document.
Version | Published | Release Notes | |
---|---|---|---|
1.0.0.0 |