Info

この質問は閉じられています。 編集または回答するには再度開いてください。

Iteratively align one coding sequences of an organism with all coding sequences of another one

1 回表示 (過去 30 日間)
Bio_Ing_Sapienza
Bio_Ing_Sapienza 2018 年 11 月 21 日
閉鎖済み: MATLAB Answer Bot 2021 年 8 月 20 日
Hi! I have two files containing all the cds of two organisms. I want to iteratively compare one cds of the first org. with all the cds in the second one, getting for each iteration the maximum score storing it in a vector(Index) .
I thought something like this
Index=zeros(numel(variable1))
for i=1:numel(variable1)
for j=1:numel(variable2)
[score(i),~]=nwalign(variable1(i),variable2(j))
Index(i)=max(score(i))
end
end
I'm not interested in the alignment so I put ~. The two variables are not of the same length. Am I doing it right?

回答 (0 件)

Community Treasure Hunt

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

Start Hunting!

Translated by