Cosmology with galaxy clustering