Alignment(3,:) in seqinsertgaps
1 visualizzazione (ultimi 30 giorni)
Mostra commenti meno recenti
Bio_Ing_Sapienza
il 30 Nov 2018
Commentato: madhan ravi
il 4 Dic 2018
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 lot![matlabimage.png](https://www.mathworks.com/matlabcentral/answers/uploaded_files/197728/matlabimage.png)
![matlabimage.png](https://www.mathworks.com/matlabcentral/answers/uploaded_files/197728/matlabimage.png)
0 Commenti
Risposta accettata
Tim DeFreitas
il 30 Nov 2018
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 Commento
Più risposte (0)
Vedere anche
Categorie
Scopri di più su Genomics and Next Generation Sequencing in Help Center e File Exchange
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!