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!