Counts amino acids in sequence
y = btd_aacount(x)
String of single-letter codes specifying an amino acid sequence
Frequency of each aminoacid (column of strings)
y = btd_aacount(x)
counts the number of all individual aminoacid
in the given aminoacid sequence b.
y = btd_aacount("AQIILPNMQRRRSTVHPQAABCDBCEFFGHWWIV") evstr(part(y,5:$))' // To get the values as numbers | ![]() | ![]() |
--> y = btd_aacount("AQIILPNMQRRRSTVHPQAABCDBCEFFGHWWIV") y = !A : 3 ! !B : 2 ! !C : 2 ! !D : 1 ! !E : 1 ! !F : 2 ! !G : 1 ! !H : 2 ! !I : 3 ! !K : 0 ! !L : 1 ! !M : 1 ! !N : 1 ! !P : 2 ! !Q : 3 ! !R : 3 ! !S : 1 ! !T : 1 ! !V : 2 ! !W : 2 ! !Y : 0 ! !Z : 0 ! --> evstr(part(y,5:$))' ans = column 1 to 15 1. 0. 0. 0. 0. 0. 0. 0. 2. 0. 1. 1. 1. 1. 2. column 16 to 22 2. 0. 0. 0. 0. 0. 0.