I'm looking for the best way to iterate through all
nmers within a given sequence.  For example, given a
sequence that looks like this:

ACTGACTGACTG

If I extract all trimers from this I should get:

ACT
CTG
TGA
GAC
ACT
CTG
TGA
GAC
ACT
CTG

Is there an existing class that will allow me to
iterate through a sequence this way, or am I on my
own?

Regards,

Mark Fortner

_______________________________________________
Biojava-l mailing list  -  Biojava-l@biojava.org
http://biojava.org/mailman/listinfo/biojava-l

Reply via email to