Patent ID: 7148347

Claim:
A process for preparing a compound of formula (I): wherein W is CH or N, R 1 is H, halo, C 1-6 alkyl, C 3-6 cycloalkyl, C 1-6 haloalkyl, C 1-6 alkoxy, C 3-6 cycloalkoxy, hydroxy, or N(R 5 ) 2 , wherein each R 5 is independently H, C 1-6 alkyl or C 3-6 cycloalkyl; R 2 is H, halo, C 1-6 alkyl, C 3-6 cycloalkyl, C 1-6 haloalkyl, C 1-6 thioalkyl, C 1-6 alkoxy, C 3-6 cycloalkoxy, C 2-7 alkoxy-C 1-6 alkyl, C 6 or C 10 aryl or Het, wherein Het is a five-, six-, or seven-membered saturated or unsaturated heterocycle containing from one to four heteroatoms selected from nitrogen, oxygen and sulfur; said cycloalkyl, aryl or Het being substituted with R 6 , wherein R 6 is H, halo, C 1-6 alkyl, C 3-6 cycloalkyl, C 1-6 alkoxy, C 3-6 cycloalkoxy, NO 2 , N(R 7 ) 2 , NH—C(O)—R 7 ; or NH—C(O)—NH—R 7 , wherein each R 7 is independently: H, C 1-6 alkyl or C 3-6 cycloalkyl; or R 6 is NH—C(O)—OR 8 wherein R 8 is C 1-6 alkyl or C 3-6 cycloalkyl; R 3 is hydroxy, NH 2 , or a group of formula —NH—R 9 , wherein R 9 is C 6 or C 10 aryl, heteroaryl, —C(O)—R 10 , C(O)—NHR 10 or —C(O)—OR 10 , wherein R 10 is C 1-6 alkyl or C 3-6 cycloalkyl; D is a 3 to 7-atom saturated alkylene chain; R 4 is H, or from one to three substituents on said chain D with up to two of these substitutents possible on any single carbon atom of said chain D, said substituent independently selected from the group consisting of: C 1-6 alkyl, C 1-6 haloalkyl, C 1-6 alkoxy, hydroxy, halo, amino, oxo, thio, or C 1-6 thioalkyl; and A is an amide of formula —C(O)—NH—R 11 , wherein R 11 is selected from the group consisting of: C 1-8 alkyl, C 3-6 cycloalkyl, C 6 or C 10 aryl; C 7-16 aralkyl and SO 2 R 11A wherein R 11A is C 1-8 alkyl, C 3-7 cycloalkyl or C 1-6 alkyl-C 3-7 cycloalkyl; or A is a carboxylic acid or a pharmaceutically acceptable salt or ester thereof; said process comprising reacting a macrocyclic compound of formula (IX) with a compound of formula (X) in a polar non-protic organic solvent in the presence of an organic or inorganic base: wherein W, R 1 , R 2 , R 3 , R 4 , D and A are as defined for formula (I), and R 12 is selected from p-tolyl, p-bromophenyl, p-nitrophenyl, methyl, trifluoromethyl, perfluorobutyl and 2,2,2-trifluoroethyl; and when A is a carboxylic acid ester group in the resulting compound of formula (I), optionally subjecting the compound of formula (I) to hydrolysis conditions to obtain a compound of formula (I) wherein A is a carboxylic acid group; and when A is a carboxylic acid group in the resulting compound of formula (I), optionally coupling this compound with a sulfonamide of formula R 11A SO 2 NH 2 in the presence of a suitable coupling agent to obtain a compound of formula (I) wherein A is —C(O)—NH—SO 2 R 11A .