for ($i=$analysisstartposn-1 ; $i<($seqlength-$windowsize) ; $i+=$stepsize)