We study one-dimensional optical lattices described by generalized
Aubry-Andr\'e models that include both commensurate and incommensurate
modulations of the hopping amplitude. This brings together two interesting
features of this class of systems: Anderson localization and the existence of
topological edge states. We follow changes of the single-particle energy
spectrum induced by variations of the system parameters, with focus on the
survival of topological states in the localized regime.Comment: 5 pages, 5 figure