function fuzzy = isfuzzy(motif,fuzzypos) % returns true if motif is fuzzy. % fuzzypos is the possible locations of fuzzyness. all other locations % ignored. nf = length(fuzzypos); fuzzy=false; for j=1:nf switch motif(fuzzypos(j)) case {'A','C','G','T'} otherwise fuzzy=true; return; end end