The endocycle controls nurse cell polytene chromosome structure during Drosophila oogenesis.