Optimization of sequence reading