Protein sequence manipulation for adding elements before or after the sequence.
1 次查看(过去 30 天)
显示 更早的评论
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 个评论
采纳的回答
Peng Li
2020-3-31
The easiest way to add N zeros before it can be done by:
[repmat('0', 1, N) yourProSeq];
5 个评论
更多回答(0 个)
另请参阅
类别
在 Help Center 和 File Exchange 中查找有关 Genomics and Next Generation Sequencing 的更多信息
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!