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일

1 개 추천

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.

추가 답변 (0개)

카테고리

도움말 센터File Exchange에서 Genomics and Next Generation Sequencing에 대해 자세히 알아보기

질문:

2018년 11월 30일

댓글:

2018년 12월 4일

Community Treasure Hunt

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

Start Hunting!

Translated by