function s2 = dipep(seq)
% Sequence analysis for didpeptides in a specific sequence.
% Used fields required
% s.Sequence -- the sequence typically in a single letter form
% optional
% s.Start -- sequence number of first aa in s.Sequence
% s.Good -- aa's to be favored in id'ing dipeptides
% s.Bad -- aa's to be deprecated in id'ing dipeptides
%
% output
% dipep is a text table in a 50 col setting with vertially arranged fields
% --
% 1 n
% 0 n
% 2 n - number of residue
% s a - amino acid single letter code
% v b - subsequent aa
% 1 f - numer of times ( <=9) that this dipeptide occurs
% * * - starred if f == 1 and not bad (see later)
% 1 s - score of 0 (blank) 1 or 2 for accpetable of good, - for any bad
% e.g.
% input structure =
%
% Sequence: 'lagvlgvacwym'
% Good: 'lvw'
% Bad: 'ac'
%
%
%
% 111
% 123456789012
% lagvlgvacwym
% agvlgvacwym
% 11211211111
% ** **
% --1211---1