Biological Sequence Pasting Shortcuts

Fast and efficient shortcuts for grabbing biological sequences from clipboard
107 Downloads
Updated 5 Jan 2015

View License

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
Created with R2014b
Compatible with any release
Platform Compatibility
Windows macOS Linux
Categories
Find more on Genomics and Next Generation Sequencing in Help Center and MATLAB Answers

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!
Version Published Release Notes
1.0.0.0