Asymmetry of the water flux induced by the deformation of a nanotube