Allison Lloyd
School of Computer Science and Software Engineering, Monash University, Clayton, Victoria, Australia 3800.
Bioinformatics. 2003 Jul 1;19(10):1294-5. doi: 10.1093/bioinformatics/btg135.
Described is an algorithm to find the longest interval having at least a specified minimum bias in a sequence of characters (bases, amino acids), e.g. 'at least 0.95 (A+T)-rich'. It is based on an algorithm to find the longest interval having a non-negative sum in a sequence of positive and negative numbers. In practice, it runs in linear time; this can be guaranteed if the bias is rational.
Java code of the algorithm can be found at http://www.csse.monash.edu.au/~lloyd/tildeProgLang/Java2/Biased/.
Examples of applications to Plasmodium falciparum genomic DNA can be found at the above URL.