"patterns in DNA or protein sequences that occur in a short sequence interval relative to a sequence anchor or landmark."They then go on to say:
"We believe that DLocalMotif is the only tool for discovering local motifs in protein sequences."This is just a quick post to point out that SLiMFinder will happily find "local motifs" in protein sequences using the start and end of the sequence as an anchor or landmark. I think it is more limited than DLocalMotif as it is restricted to SLiMs that are very proximal to the sequence termini but it features the usual SLiMChance probability calculations and corrections for evolutionary relationships. (Even without restricting to searches relative to anchor points, SLiMFinder is very successful at finding the KDEL motif and C-terminal PDZ ligand motifs.) The max distance from the termini can be set by maxwild=X up to a limit of 9aa.
If you want to restrict yourself to just N- or C-terminal motifs, use the musthave=LIST option:
If you want to anchor the motifs internally, this can be done too with a bit of imagination. Just insert an non-standard amino acid character (e.g. Z) at the anchor position, set the expanded alphabet using alphabet=LIST and then force the motif to have the new symbol using musthave=X, e.g.:
musthave="^" for N-terminal motifs.
musthave="$" for C-terminal motifs. musthave="^,$" for both.
alphabet="A,C,D,E,F,G,H,I,K,L,M,N,P,Q,R,S,T,V,W,Y,Z" musthave=ZI must confess that I have never tried this but it should work and I am happy to help iron out any wrinkles.
(BTW, SLiMFinder also has an experimental feature for using a negative dataset (negatives=FILE if anyone wants to try it out.)