Hi, I am trying to use the seqpdist function in matlab (Matlab R2019a, academic license) to compute the pairwise distance between two sequences, with the Kimura method, however, I get the following error even though I am working with nucleotides, not amino acids:
Error using seqpdist (line 335)
Distance method not available for amino acids.
below a 2-line MWE:
ex = {'aagt', 'aatg'}
seqpdist(ex, 'Method', 'Kimura')
Error using seqpdist (line 335)
Distance method not available for amino acids.
I also tried with
ex = {'ACGT', 'AATG'}
ex = ['ACGT', 'AATG']
And got the same error. Can someone explain?
Thanks in Advance!
3 Comments
Direct link to this comment
https://www.mathworks.com/matlabcentral/answers/499659-seqpdist-kimura-method-not-available-for-amino-acids-even-though-working-with-nucleotides#comment_784704
Direct link to this comment
https://www.mathworks.com/matlabcentral/answers/499659-seqpdist-kimura-method-not-available-for-amino-acids-even-though-working-with-nucleotides#comment_784704
Direct link to this comment
https://www.mathworks.com/matlabcentral/answers/499659-seqpdist-kimura-method-not-available-for-amino-acids-even-though-working-with-nucleotides#comment_784710
Direct link to this comment
https://www.mathworks.com/matlabcentral/answers/499659-seqpdist-kimura-method-not-available-for-amino-acids-even-though-working-with-nucleotides#comment_784710
Direct link to this comment
https://www.mathworks.com/matlabcentral/answers/499659-seqpdist-kimura-method-not-available-for-amino-acids-even-though-working-with-nucleotides#comment_784714
Direct link to this comment
https://www.mathworks.com/matlabcentral/answers/499659-seqpdist-kimura-method-not-available-for-amino-acids-even-though-working-with-nucleotides#comment_784714
Sign in to comment.