Added source Matlab code for reference
This commit is contained in:
parent
b8af977117
commit
b5d99903d2
186 changed files with 61405 additions and 1 deletions
20
matlab/linkage/seqcode.m
Normal file
20
matlab/linkage/seqcode.m
Normal file
|
|
@ -0,0 +1,20 @@
|
|||
function [NT,AA] = seqcode()
|
||||
%SEQCODE - Return vector for mapping sequence letters to integers
|
||||
%
|
||||
% Syntax: [NT,AA] = seqcode
|
||||
%
|
||||
% See also:
|
||||
|
||||
% Molecular Biology & Evolution Toolbox, (C) 2005
|
||||
% Author: James J. Cai
|
||||
% Email: jamescai@hkusua.hku.hk
|
||||
% Website: http://web.hku.hk/~jamescai/
|
||||
% Last revision: 5/28/2005
|
||||
|
||||
NT = 'ACGTDI?-';
|
||||
if (nargout>1)
|
||||
AA = 'ARNDCQEGHILKMFPSTWYV*-';
|
||||
end
|
||||
|
||||
% AANames = {'ala' 'arg' 'asn' 'asp' 'cys' 'gln' 'glu' 'gly' 'his' 'ile' 'leu' 'lys' 'met' ...
|
||||
% 'phe' 'pro' 'ser' 'thr' 'trp' 'tyr' 'val'};
|
||||
Loading…
Add table
Add a link
Reference in a new issue