Protein sequence manipulation for adding elements before or after the sequence.
1 view (last 30 days)
Show older comments
how do i add zeros to both ends or one end (before or after) of a protein sequence?
Example:
a protein sequence is given as 'ITYTDCTESGQDLCLCEGSDVCGKGNKCILGSNGEENQCVTGEGTPKPQSHNDGDFEEIPEEYLQ'
how do i add zeros at the beginning before the first element of the sequence?
0 Comments
Accepted Answer
Peng Li
on 31 Mar 2020
The easiest way to add N zeros before it can be done by:
[repmat('0', 1, N) yourProSeq];
5 Comments
More Answers (0)
See Also
Categories
Find more on Large Files and Big Data in Help Center and File Exchange
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!