#$%^&*AU2018201363A120180315.pdf#####Abstract The present invention relates to pyrazine compounds useful as inhibitors of ATR protein kinase. The invention also relates to pharmaceutical acceptable compositions comprising the compounds of this invention; me thods of treating of various diseases, disc rders, and conditions using the compounds of this invention; processes for preparing the compounds of this invention; intermediates for the preparation of the compounds of this invention; and methods of using the compounds in in vitro applications, such as the study of kinases in biological and pathological phenomena; the study of intracellular signal transduction pathways mediated by such kinases; and the com parative evaluation of n ew kin ase inhibitors. The compo un ds of this invention have formula (1):wherein the variables are as defined herein NH2 N r N R2