Alignment(3,:) in seqinsertgaps

1 回表示 (過去 30 日間)
Bio_Ing_Sapienza
Bio_Ing_Sapienza 2018 年 11 月 30 日
コメント済み: madhan ravi 2018 年 12 月 4 日
Hi guys. There's someone able to explain me why in seqinsertgaps for the alignment (al) I have to choose the first and the third line?i.e al(1,:)
al(3,:) What should be the general criterion? Thanks a lotmatlabimage.png

採用された回答

Tim DeFreitas
Tim DeFreitas 2018 年 11 月 30 日
The alignment returned by nwalign is a 3xN character array showing the optimal alignment between the two input protein sequences. The first row is the first input sequence, the middle row shows alignment information, and the last shows the second sequence:
>> al(:,1:10)
ans =
3×10 char array
'QKQEIKMNPN'
' ||||'
'------MNPN'
We then use seqinsertgaps to get the original nucleotide sequence, but with the gap information returned by the alignment, so the inputs are the first and third rows of the alignment character vector.
  1 件のコメント
madhan ravi
madhan ravi 2018 年 12 月 4 日
Bio Ing Sapienza's answer moved here for consistency:
Great!

サインインしてコメントする。

その他の回答 (0 件)

カテゴリ

Help Center および File ExchangeGenomics and Next Generation Sequencing についてさらに検索

Community Treasure Hunt

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

Start Hunting!

Translated by