The invention relates to pyridine derivatives of formula (I) where the variables are defined in the specification.Processes for the preparation of these compounds together with pharmaceutical compositions containing them and their use in therapy in particular in the modulation of autoimmune disease is also described.