[BioPython] search for overlapping count

Sebastian Bassi sbassi at asalup.org
Thu Nov 27 07:27:39 EST 2003


Hi,

I'm about to finish the DNA melt function. But I need a function to 
count overlapping ocurrences of a string.
string.count doesn't count overlapping ocurrences.

For string.count, aagtctaaagctac has 2 "aa", but in fact there is 3 "aa".



-- 
Best regards,

//=\ Sebastian Bassi - Diplomado en Ciencia y Tecnologia, UNQ   //=\
\=// IT Manager Advanta Seeds - Balcarce Research Center -      \=//
//=\ Pro secretario ASALUP - www.asalup.org - PGP key available //=\
\=// E-mail: sbassi at genesdigitales.com - ICQ UIN: 3356556 -     \=//

                 http://Bioinformatica.info




More information about the BioPython mailing list