1 apos is prepared; process for preparing-cyano nucleosides

By using a flow reactor method, compound (II-a) is treated in a flow reactor with Lewis acid and cyaniding agent, which solves the problems of yield and purity in the large-scale preparation of 1'-cyanonucleotide compounds in the prior art and achieves efficient compound preparation.

CN118994170APending Publication Date: 2024-11-22GILEAD SCIENCES INC
View PDF 0 Cites 0 Cited by

Patent Information

Application Number
CN202411102117.0
Authority / Receiving Office
CN · China
Patent Type
Applications(China)
Current Assignee / Owner
Priority Date
2020-03-12
Filing Date
2021-03-11
Publication Date
2024-11-22

AI Technical Summary

Technical Problem

Existing technologies make it difficult to prepare 1'-cyanonucleotide compounds such as (2R,3R,4R,5R)-2-(4-aminopyrrolo[2,1-f][1,2,4]triazine-7-yl)-3,4-bis(benzyloxy)-5-((benzyloxy)methyl)tetrahydrofuran-2-carboxylon and other compounds on a large scale with good yield and purity.

Method used

The target compound was prepared by using a flow reactor method, in which Lewis acid, Brønsted acid and compound (II-a) were mixed in a first flow reactor and then reacted with a cyaniding agent in a second flow reactor.

Benefits of technology

Large-scale preparation of compounds with good yields and purity has been achieved, with yields of about 70% to about 90% and purity of about 95% to about 99.9%.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN118994170A_ABST
    Figure CN118994170A_ABST
Patent Text Reader

Abstract

The present disclosure generally describes methods of preparing 1 '-cyano nucleosides, such as compounds of Formula (I). For example, the compound of formula (I) may be prepared from a compound of formula (II-a) in a flow reactor. # imgabs0 #
Need to check novelty before this filing date? Find Prior Art

Description

[0001] This application is a divisional application of a patent application with application number 202180019951.1, application date March 11, 2021, and name “Method for preparing 1'-cyano nucleoside”.

[0002] CROSS-REFERENCE TO RELATED APPLICATIONS

[0003] This application claims priority to U.S. Provisional Patent Application No. 62 / 988,661, filed on March 12, 2020, which is incorporated herein by reference in its entirety for all purposes. Background Art

[0004] The compound (2R, 3R, 4R, 5R) -2- (4-aminopyrrolo [2, 1-f] [1, 2, 4] triazine-7-yl) -3, 4-bis (benzyloxy) -5- ((benzyloxy) methyl) tetrahydrofuran-2-carbonitrile is an important synthetic intermediate (see, e.g., WO2016 / 069825). There remains a need for methods of preparing this intermediate and other 1 '-cyano nucleosides. In addition, there remains a need for methods of preparing these compounds on a large scale, in good yields and / or in good purity. The present invention meets this and other needs. Summary of the invention

[0005] In one embodiment, the present invention provides a method for preparing a compound of formula (I):

[0006]

[0007] The method comprises: (a) adding a first input mixture to a first flow reactor, wherein the first input mixture comprises a Lewis acid, a Bronsted acid and a compound of formula (II-a):

[0008]

[0009] wherein the first flow reactor provides a first output mixture; and (b) adding a second input mixture to a second flow reactor, wherein the second input mixture comprises the first output mixture and a cyanating agent; wherein the second flow reactor provides a second output mixture comprising the compound of formula (I).

[0010] In another embodiment, provided herein is a method for preparing a compound of formula (II-a):

[0011]

[0012] comprising adding a fifth input mixture to a fifth reactor, wherein the fifth input mixture comprises a compound of formula (V):

[0013]

[0014] an oxidant and a fifth base, wherein the fifth reactor provides a fifth output mixture comprising the compound of formula (II-a).

[0015] In another embodiment, provided herein is a method for preparing a compound of formula (VII) or a salt thereof:

[0016]

[0017] The method includes adding an eighth input mixture to an eighth flow reactor, wherein the eighth input mixture comprises an eighth Lewis acid and a compound of formula (I):

[0018] and

[0019] The eighth flow reactor provides an eighth output mixture comprising the compound of formula (VII) or a salt thereof.

[0020] In another embodiment, provided herein is a method for preparing a compound of formula (VII) or a salt thereof:

[0021]

[0022] The method comprises treating a compound of formula (I):

[0023]

[0024] The ninth Lewis acid and the additive are combined in a ninth reactor to provide a ninth output mixture comprising the compound of formula (VII) or a salt thereof.

[0025] In another embodiment, provided herein is a method for preparing a compound of formula (VII) or a salt thereof:

[0026]

[0027] The method comprises treating a compound of formula (I):

[0028] and

[0029] The tenth Lewis acid is combined in the tenth reactor to provide a tenth output mixture comprising the compound of formula (VII) or a salt thereof, wherein the tenth Lewis acid is selected from the group consisting of aluminum trichloride (AlCl3), aluminum tribromide (AlBr3), titanium (IV) chloride (TiCl4) and tin (IV) chloride (SnCl4).

[0030] In another embodiment, provided herein is a method for preparing a compound of formula (VIII) or a pharmaceutically acceptable salt thereof:

[0031]

[0032] The method comprises (a) adding an eleventh input mixture to an eleventh reactor, wherein the eleventh input mixture comprises an eleventh acid HX, an eleventh protecting agent, an eleventh solvent and a compound of formula (VII):

[0033]

[0034] wherein the eleventh reactor provides an eleventh output mixture comprising an acid salt of formula (VIII-a):

[0035]

[0036] wherein the eleventh acid HX is sulfuric acid, hydrochloric acid, phosphoric acid, benzoic acid, oxalic acid, methanesulfonic acid, benzenesulfonic acid, camphorsulfonic acid, naphthalenesulfonic acid, 1-hydroxy-2-naphthoic acid, 1,5-naphthalenedisulfonic acid, maleic acid, ethanesulfonic acid, p-toluenesulfonic acid or oxalic acid; the eleventh protecting agent is acetone, 2-methoxypropylene, 2,2-dimethoxypropane, alkyl acetal or vinyl ether; and the eleventh solvent is dichloromethane, methyl acetate, ethyl acetate, isopropyl acetate, tetrahydrofuran, 2-methyltetrahydrofuran, or acetonitrile, or a combination thereof; and

[0037] (b) adding a twelfth input mixture to a twelfth reactor, wherein the twelfth input mixture comprises the eleventh output mixture, a twelfth base and a twelfth solvent; wherein the twelfth reactor provides a twelfth output mixture comprising the compound of formula (VIII-a); the twelfth base is sodium bicarbonate, sodium carbonate, potassium bicarbonate, potassium carbonate, sodium acetate, potassium acetate, calcium acetate or calcium hydroxide; and the twelfth solvent is methanol, ethanol, isopropanol, or water, or a combination thereof.

[0038] In another embodiment, provided herein is a method for preparing a compound of formula (X):

[0039]

[0040] comprising adding a thirteenth input mixture to a thirteenth reactor, wherein the thirteenth input mixture comprises a compound of formula (VIII):

[0041]

[0042] or a pharmaceutically acceptable salt thereof, magnesium chloride, diisopropylethylamine, a thirteenth solvent and a compound of formula (IX):

[0043]

[0044] The thirteenth reactor provides a thirteenth output mixture comprising a compound of formula (X); and the thirteenth solvent is dichloromethane, tetrahydrofuran, or 2-methyltetrahydrofuran, or a combination thereof. BRIEF DESCRIPTION OF THE DRAWINGS

[0045] Figure 1 A schematic flow diagram of a method for preparing a compound of formula (I) as described in Example 7 is shown.

[0046] Figure 2 A schematic flow diagram of the method for preparing the compound of formula (VII) as described in Example 13 is shown. DETAILED DESCRIPTION

[0047] I. Overview

[0048] The present disclosure describes methods for preparing 1'-cyano nucleosides. The methods described herein relate to efficient, scalable methods that can be performed at any scale (e.g., 1 kg or higher). In some embodiments, the method comprises preparing a compound of formula (I) in a flow reactor:

[0049]

[0050] II. Definitions

[0051] When referring to a value, "about" includes the specified value + / - 10% of the specified value. For example, about 50% includes a range of 45% to 55%, and about 20 molar equivalents includes a range of 18 molar equivalents to 22 molar equivalents. Thus, when referring to a range, "about" refers to each of the specified values ​​+ / - 10% of the specified value for each endpoint of the specified range. For example, a ratio of about 1 to about 3 (weight / weight) includes a range of 0.9 to 3.3.

[0052] A "flow reactor" or "tubular reactor" refers to a vessel to which chemicals, reagents, and solvents are added continuously as a feed mixture, typically at steady state, and which is configured so that the conversion of the chemicals, reagents, and other dependent variables is a function of the position and residence time within the reactor. For example, fluids can flow through a flow reactor as if they were a solid plug or piston, and at any given cross-section, the reaction time is the same for all flowing materials. As materials are added continuously to a flow reactor, products are continuously produced via the output mixture until the feed mixture is exhausted, i.e., no feed mixture remains. For example, with respect to Figure 1 In the schematic flow diagram shown in FIG. 1 , the first flow reactor is represented by reaction loop 140. Figure 1In the schematic flow diagram shown, the second flow reactor is represented by reaction loop 170.

[0053] "Continuous addition" refers to providing sources of chemicals, reagents, and solvents as flowing streams to the reactor to provide a product stream.

[0054] "Exhaustion" refers to the point in time where the feed mixture of chemicals, reagents, and solvents has been completely delivered to the flow reactor.

[0055] As used herein, "input mixture" refers to the mixture of one or more reagents and / or solvents that enters the reactor.The reactor may be a batch reactor or a flow reactor.

[0056] As used herein, "first input mixture" refers to a mixture of one or more reagents and / or solvents that enters the first flow reactor. Figure 1 In the schematic flow diagram shown in , the first input mixture is represented by stream 135 entering the first flow reactor.

[0057] As used herein, "second input mixture" refers to a mixture of one or more reagents and / or solvents that enters the second flow reactor. Figure 1 In the process schematic diagram shown in , the second input mixture is represented by stream 165 entering the second flow reactor.

[0058] As used herein, "output mixture" refers to the mixture of one or more reagents and / or solvents that exits the reactor.The reactor may be a batch reactor or a flow reactor.

[0059] As used herein, "first output mixture" refers to a mixture of one or more compounds and / or solvents exiting a first flow reactor. Figure 1 In the process schematic diagram shown in , the first output mixture is represented by stream 145 exiting the first flow reactor.

[0060] As used herein, "second output mixture" refers to a mixture of one or more compounds and / or solvents exiting the second flow reactor. Figure 1 In the process schematic diagram shown in , the second output mixture is represented by stream 180 exiting the second flow reactor.

[0061] "Residence time" in a reactor refers to the period of time that one or more components spend on average in a flow reactor. Residence time is a function of flow rate and equipment size.

[0062] "Feed mixture" refers to a mixture of reagents and / or solvents prior to input into a flow reactor. Because chemical reactions can be concentration and temperature dependent, the concentrations and temperatures of the reagents can be prepared prior to combining and / or reacting as an input mixture in a flow reactor. For example, Figure 1 In the embodiment shown, the "first feed mixture" comprises compounds of formula (II-a) represented as stream 110. Figure 1 In the embodiment shown, the "second feed mixture" comprises a Lewis acid and a Bronsted acid mixed and provided in stream 120. Figure 1 In the embodiment shown, the “third feed mixture” comprises a cyanating agent mixed and provided in stream 150 .

[0063] "Lewis acid" refers to a chemical group that can accept an electron pair from a second chemical group that can donate an electron pair. Lewis acids can be inorganic compounds, including: boron salts, such as boron trifluoride, or aluminum salts, such as aluminum chloride; organic compound salts, such as trimethylsilyl trifluoromethanesulfonate (TMSOTf); or metal complexes containing organic and / or inorganic ligands, such as indium (III) chloride or diisopropoxytitanium (IV) dichloride.

[0064] "Bronsted acid (Bronsted acid, " or "Brønsted-Lowry acid" refers to an acid that is able to donate a proton and form a conjugate base. Examples of Bronsted acids include inorganic acids, such as hydrogen chloride or monohydrotetrafluoroboric acid; and organic acids, for example carboxylic acids such as trifluoroacetic acid (TFA), or sulfonic acids such as trifluoromethanesulfonic acid.

[0065] "Cyaniding agent" refers to an agent capable of installing a cyano group (-CN) on a corresponding compound. Cyaniding agents include inorganic cyanides, such as sodium cyanide, potassium cyanide, tetrabutylammonium cyanide, and organic cyanides, such as trialkylsilyl cyanide, such as trimethylsilyl cyanide (TMSCN) or tert-butyl cyanodimethylsilane (TBSCN).

[0066] When referring to molar equivalents, "relative" refers to the ratio of the molar amount of the first component to the molar amount of the second component. For example, 2.0 molar equivalents of trifluoroacetic acid (TFA) relative to the compound of formula (II-a) refers to an embodiment in which the number of molecules of TFA is twice the number of molecules of the compound of formula (II-a).

[0067] The amount of the first component "relative to" the amount of the second component by weight refers to the ratio of the weight of the first component to the weight of the second component. For example, 20% (w / w) trimethylsilyl cyanide (TMSCN) relative to dichloromethane (DCM) refers to a solution of 2 kg TMSCN in 10 kg DCM.

[0068] "Volume" refers to the number of liters (L) of solvent per kilogram (kg) of component. For example, 15 times the volume of dichloromethane refers to 15 liters per kilogram of compound of formula (II-a). Since the density of dichloromethane is 1.33 g / mL, 15 times the volume corresponds to 20 kg of dichloromethane per 1 kg of compound of formula (II-a). Similarly, 8 times the volume of water corresponds to 8 kg of water per 1 kg of compound of formula (II-a). Therefore, a reaction involving 250 kg of compound of formula (II-a) and 15 times the volume of dichloromethane includes 3,750 L of dichloromethane.

[0069] III. Preparation Method

[0070] The present disclosure describes methods for preparing the following compounds

[0071] (1) A compound of formula I, (2R,3R,4R,5R)-2-(4-aminopyrrolo[2,1-f][1,2,4]triazine-7-yl)-3,4-bis(benzyloxy)-5-((benzyloxy)methyl)tetrahydrofuran-2-carbonitrile,

[0072] (2) a compound of formula II-a, (3R,4R,5R)-2-(4-aminopyrrolo[2,1-f][1,2,4]triazine-7-yl)-3,4-bis(benzyloxy)-5-((benzyloxy)methyl)tetrahydrofuran-2-ol,

[0073] (3) a compound of formula VII, (2R,3R,4S,5R)-2-(4-aminopyrrolo[2,1-f][1,2,4]triazine-7-yl)-3,4-dihydroxy-5-(hydroxymethyl)tetrahydrofuran-2-carbonitrile,

[0074] (4) Compound of formula VIII, (3aR,4R,6R,6aR)-4-(4-aminopyrrolo[2,1-f][1,2,4]triazine

[0075] -7-yl)-6-(hydroxymethyl)-2,2-dimethyltetrahydrofuro[3,4-d][1,3]dioxole

[0076] -4-carbonitrile, and

[0077] (5) A compound of formula X, ((S)-(((3aR,4R,6R,6aR)-6-(4-aminopyrrolo[2,1-f][1,2,4]

[0078] 7-triazine-6-cyano-2,2-dimethyltetrahydrofuro[3,4-d][1,3]dioxole

[0079] -4-yl)methoxy)(phenoxy)phosphoryl)-L-alanine 2-ethylbutyl ester.

[0080] A. Formula (I) from formula (II-a)

[0081] Provided herein are methods for preparing the compounds described herein. Provided herein are methods for preparing the compound of formula (I), i.e., (2R,3R,4R,5R)-2-(4-aminopyrrolo[2,1-f][1,2,4]triazine-7-yl)-3,4-bis(benzyloxy)-5-((benzyloxy)methyl)tetrahydrofuran-2-carbonitrile:

[0082]

[0083] In one embodiment, the present disclosure provides a method for preparing a compound of formula (I):

[0084]

[0085] The method comprises: (a) adding a first input mixture to a first flow reactor, wherein the first input mixture comprises a Lewis acid, a Bronsted acid and a compound of formula (II-a):

[0086]

[0087] wherein the first flow reactor provides a first output mixture; and (b) adding a second input mixture to a second flow reactor, wherein the second input mixture comprises the first output mixture and a cyanating agent; wherein the second flow reactor provides a second output mixture comprising the compound of formula (I).

[0088] A compound of formula (I) having the following structure:

[0089]

[0090] Also known as (2R,3R,4R,5R)-2-(4-aminopyrrolo[2,1-f][1,2,4]triazin-7-yl)-3,4-bis(benzyloxy)-5-((benzyloxy)methyl)tetrahydrofuran-2-carbonitrile.

[0091] A compound of formula (II-a) having the following structure:

[0092]

[0093] Also known as (3R,4R,5R)-2-(4-aminopyrrolo[2,1-f][1,2,4]triazin-7-yl)-3,4-bis(benzyloxy)-5-((benzyloxy)methyl)tetrahydrofuran-2-ol.

[0094] As is generally understood in the art, the compound of formula (II-a) exists in equilibrium with the compound of formula (II-b):

[0095]

[0096] Thus, as used herein, a compound of formula (II-a) when listed alone is understood to mean a compound of formula (II-a) and / or a compound of formula (II-b) or any combination of the two.

[0097] In some embodiments, the method for preparing a compound of formula (I) further comprises a solvent. In some embodiments, the first input mixture, the second input mixture and / or the third input mixture comprise a solvent. Any suitable solvent may be used in the method for preparing a compound of formula (I). In some embodiments, the solvent may comprise an ester (e.g., ethyl acetate, isopropyl acetate, n-propyl acetate, butyl acetate, isobutyl acetate), an ether (e.g., ethyl ether, methyl tert-butyl ether, tetrahydrofuran, 2-methyltetrahydrofuran, 1,4-dioxane), an aromatic solvent (e.g., toluene, benzene, xylene), a polar aprotic solvent (e.g., N,N-dimethylformamide, N,N-dimethylacetamide, N-methylpyrrolidone, dimethyl sulfoxide), a chlorinated solvent (e.g., dichloromethane, chloroform, dichloroethane, chlorobenzene), a nitrile (e.g., acetonitrile, propionitrile, butyronitrile), or a combination thereof.

[0098] In some embodiments, the solvent is dichloromethane, chloroform, dichloroethane, or chlorobenzene, or a combination thereof. In some embodiments, the solvent is dichloromethane (DCM).

[0099] Any suitable Lewis acid can be used in the method for preparing the compound of formula (I). In some embodiments, the Lewis acid is tert-butyldimethylsilyl trifluoromethanesulfonate (TBSOTf), triethylsilyl trifluoromethanesulfonate (TESOTf), boron trifluoride (BF3), boron trifluoride ethyl ether (BF3-OEt2), boron trichloride (BCl3), boron trifluoride tetrahydrofuran complex (BF3-THF), magnesium dichloride (MgCl2), magnesium dibromide (MgBr2), magnesium dibromide etherate (MgBr2-OEt2), zinc dichloride (ZnCl2), zinc dibromide (ZnBr2), lithium chloride (LiCl), lithium bromide (LiBr), lithium iodide (LiI), aluminum chloride (AlCl3), aluminum tribromide (AlBr3 ), aluminum triiodide (AlI3), dimethylsilyl bis(trifluoromethanesulfonate) (Me2Si(OTf)2), diethylsilyl bis(trifluoromethanesulfonate) (Et2Si(OTf)2), dipropylsilyl bis(trifluoromethanesulfonate) (Pr2Si(OTf)2), diisopropylsilyl bis(trifluoromethanesulfonate) (iPr2Si(OTf)2), di-tert-butylsilyl bis(trifluoromethanesulfonate) ((tBu)2Si(OTf)2), tris(pentafluorophenyl)borane ((C6F5)3B), trichloromethylsilane (MeSiCl3), dichlorodimethylsilane (Me2SiCl2), tetrachlorosilane (SiCl4), trimethylsilane trifluoromethanesulfonate (TMSOTf), trimethylsilyl chloride (TMSCl), trimethylsilyl iodide (TMSI), trimethylsilyl bromide (TMSBr), tert-butyldimethylsilyl chloride (TBSCl), tert-butyldimethylsilyl bromide (TBSBr), tert-butyldimethylsilyl iodide (TBSI), triethylsilyl chloride (TESCl), triethylsilyl bromide (TESBr), triethylsilyl iodide (TESI), samarium (III) chloride (SmCl3), samarium (III) bromide (SmBr3), samarium (II) iodide (SmI2), samarium (III) iodide (SmI3), scandium (III) iodide (ScI3), scandium (III) bromide (ScBr3), iodine Scandium (III) (ScI3), samarium (III) trifluoromethanesulfonate (Sm(OTf)3), scandium (III) trifluoromethanesulfonate (Sc(OTf)3), titanium (IV) chloride (TiCl4), titanium (IV) isopropoxide (Ti(OiPr)4), triisopropoxytitanium (IV) chloride (Ti(OiPr)3Cl), diisopropoxytitanium (IV) dichloro (Ti(OiPr)2Cl2), triisopropoxytitanium (IV) chloride (Ti(OiPr)Cl3), zinc tetrafluoroborate (Zn(BF4)2), lithium tetrafluoroborate (LiBF4), magnesium tetrafluoroborate (Mg(BF4)2), zirconium chloride (ZrCl4), iron (II) chloride (FeCl2),Iron (III) chloride (FeCl3), iron (II) bromide (FeBr2), iron (III) bromide (FeBr3), iron (II) iodide (FeI2), iron (III) iodide (FeI3), copper (I) trifluoromethanesulfonate (Cu(OTf)), 4-toluenesulfonyl chloride, benzenesulfonyl chloride, 4-toluenesulfonyl trifluoromethanesulfonate, benzenesulfonyl trifluoromethanesulfonate, methanesulfonyl chloride, methanesulfonic anhydride, indium (III) chloride (InCl3), indium (III) bromide (InBr3), indium (III) iodide (InI3), indium trifluoromethanesulfonate (In(OTf)3), magnesium sulfate (MgSO4) or sodium sulfate (Na2SO4); or a combination thereof.

[0100] In some embodiments, the Lewis acid is a trialkylsilyl Lewis acid. In some embodiments, the Lewis acid is trimethylsilyl trifluoromethanesulfonate (TMSOTf), trimethylchlorosilane (TMSCl), trimethyliodosilane (TMSI), trimethylbromosilane (TMSBr), tert-butyldimethylchlorosilane (TBSCl), tert-butyldimethylbromosilane (TBSBr), tert-butyldimethyliodosilane (TBSI), triethylchlorosilane (TESCl), triethylbromosilane (TESBr), triethyliodosilane (TESI), tert-butyldimethylsilyl trifluoromethanesulfonate (TBSOTf), or triethylsilyl trifluoromethanesulfonate (TESOTf). In some embodiments, the Lewis acid is trimethylsilyl trifluoromethanesulfonate (TMSOTf).

[0101] The Lewis acid can exist in any suitable amount. For example, the Lewis acid can exist in an amount of at least 1 molar equivalent such as about 2 molar equivalents, about 3 molar equivalents, about 4 molar equivalents, about 5 molar equivalents, about 6 molar equivalents, about 7 molar equivalents, about 8 molar equivalents, about 9 molar equivalents or about 10 molar equivalents relative to the compound of formula (II-a). In some embodiments, the Lewis acid can exist in an amount of about 1.0 molar equivalents to about 10.0 molar equivalents relative to the compound of formula (II-a). The Lewis acid can also exist in an amount of about 3.0 molar equivalents to about 9.0 molar equivalents such as about 4.0 molar equivalents to about 8.0 molar equivalents relative to the compound of formula (II-a). In some embodiments, the Lewis acid can exist in an amount of about 5.0 molar equivalents to about 7.0 molar equivalents relative to the compound of formula (II-a). In some embodiments, the Lewis acid can exist in an amount of about 6.0 molar equivalents relative to the compound of formula (II-a).

[0102] In some embodiments, the Lewis acid is TMSOTf. In some embodiments, the second input mixture comprises TMSOTf. TMSOTf can be present in any suitable amount. For example, TMSOTf can be present in at least 1 molar equivalent such as about 2 molar equivalents, about 3 molar equivalents, about 4 molar equivalents, about 5 molar equivalents, about 6 molar equivalents, about 7 molar equivalents, about 8 molar equivalents, about 9 molar equivalents or about 10 molar equivalents relative to the compound of formula (II-a). TMSOTf can also be present in an amount of about 1.0 molar equivalents to about 10.0 molar equivalents relative to the compound of formula (II-a). In some embodiments, TMSOTf is present in an amount of about 4.0 molar equivalents to about 8.0 molar equivalents or about 3.0 molar equivalents to about 9.0 molar equivalents relative to the compound of formula (II-a). In some embodiments, TMSOTf is present in an amount of about 5.0 molar equivalents to about 7.0 molar equivalents relative to the compound of formula (II-a). In some embodiments, TMSOTf is present in an amount of about 6.0 molar equivalents relative to the compound of Formula (II-a).

[0103] Any suitable Bronsted acid can be used in the method of preparing the compound of formula (I) described herein. The Bronsted acid can be benzenesulfonic acid, hydrogen chloride, hydrogen bromide, hydrogen iodide, 4-toluenesulfonic acid, trifluoromethanesulfonic acid (triflicacid), trifluoroacetic acid, 4-nitrobenzoic acid, methanesulfonic acid, sulfuric acid, phosphoric acid, acetic acid, formic acid, trifluoroacetic acid (TFA), trifluoromethanesulfonic acid, 4-fluorobenzoic acid, pivalic acid, monohydrotetrafluoroboric acid (HBF4), nitric acid, 4-chlorobenzoic acid, pentafluorophenol, hexafluorophosphoric acid (HPF6), camphorsulfonic acid; or a combination thereof. In some embodiments, the Bronsted acid is trifluoroacetic acid (TFA), trifluoromethanesulfonic acid, 4-fluorobenzoic acid, pivalic acid, monohydrotetrafluoroboric acid (HBF4), nitric acid, 4-chlorobenzoic acid, pentafluorophenol, or hexafluorophosphoric acid (HPF6). In some embodiments, the Bronsted acid is trifluoroacetic acid.

[0104] The Bronsted acid can be present in any suitable amount. For example, the Bronsted acid can be present in an amount of at least 0.5 molar equivalents such as about 0.6 molar equivalents, about 0.7 molar equivalents, about 0.8 molar equivalents, about 0.9 molar equivalents, about 1.0 molar equivalents, about 1.1 molar equivalents, about 1.2 molar equivalents, about 1.3 molar equivalents, about 1.4 molar equivalents, or about 1.5 molar equivalents relative to the compound of formula (II-a). In some embodiments, the Bronsted acid is present in an amount of about 0.5 molar equivalents to about 1.5 molar equivalents. In some embodiments, the Bronsted acid is present in an amount of about 0.7 molar equivalents to about 1.3 molar equivalents. In some embodiments, the Bronsted acid is present in an amount of about 0.8 molar equivalents to about 1.2 molar equivalents. In some embodiments, the Bronsted acid is present in an amount of about 1.0 molar equivalents relative to the compound of formula (II-a).

[0105] In some embodiments, the Bronsted acid is trifluoroacetic acid (TFA). The trifluoroacetic acid can be present in any suitable amount. For example, the trifluoroacetic acid can be present in at least 0.5 molar equivalents such as about 0.6 molar equivalents, about 0.7 molar equivalents, about 0.8 molar equivalents, about 0.9 molar equivalents, about 1.0 molar equivalents, about 1.1 molar equivalents, about 1.2 molar equivalents, about 1.3 molar equivalents, about 1.4 molar equivalents or about 1.5 molar equivalents relative to the compound of formula (II-a). In some embodiments, the trifluoroacetic acid is present in an amount of about 0.7 molar equivalents to about 1.3 molar equivalents, about 0.9 molar equivalents to about 1.1 molar equivalents or about 0.6 molar equivalents to about 1.4 molar equivalents relative to the compound of formula (II-a). In some embodiments, the trifluoroacetic acid is present in an amount of about 0.5 molar equivalents to about 1.5 molar equivalents relative to the compound of formula (II-a). In some embodiments, the trifluoroacetic acid is present in an amount of about 0.8 molar equivalents to about 1.2 molar equivalents relative to the compound of formula (II-a). In some embodiments, the trifluoroacetic acid is present in an amount of about 1.0 molar equivalents relative to the compound of formula (II-a).

[0106] Any suitable cyanating agent can be used in the method for preparing the compound of formula (I). In some embodiments, the cyanating agent is trimethylsilyl cyanide (TMSCN), tert-butyl cyanodimethylsilane (TBSCN), triethylsilyl cyanide (TESCN), hydrogen cyanide (HCN), potassium cyanide (KCN), sodium cyanide (NaCN), 4-toluenesulfonyl cyanide, copper (I) cyanide (CuCN), copper (I) cyanide-lithium chloride (CuCN-LiCl), lithium cyanide (LiCN), zinc cyanide (Zn(CN)2), potassium ferrocyanide (K4[Fe( CN)6]), tetrabutylammonium cyanide, tetramethylammonium cyanide, tetraethylammonium cyanide, tetraalkylammonium cyanide (wherein the alkyl groups are independently methyl, ethyl, propyl, isopropyl, butyl, isobutyl, tert-butyl, pentyl or hexyl), tributyltin cyanide, trimethyltin cyanide, triethyltin cyanide, tripropyltin cyanide, trialkyltin cyanide (wherein the alkyl groups are independently methyl, ethyl, propyl, isopropyl, butyl, isobutyl, tert-butyl, pentyl or hexyl), 2-hydroxy-2-methylpropionitrile; or a combination thereof.

[0107] In some embodiments, the cyanating agent is trimethylsilyl cyanide (TMSCN), tert-butyl cyanodimethylsilane (TBSCN), triethylsilyl cyanide (TESCN), tetrabutylammonium cyanide, tetramethylammonium cyanide or tetraethylammonium cyanide. In some embodiments, the cyanating agent is TMSCN.

[0108] The cyaniding agent can be present in any suitable amount. For example, the cyaniding agent can be present in an amount of at least 1 molar equivalent such as about 2 molar equivalents, about 3 molar equivalents, about 4 molar equivalents, about 5 molar equivalents, about 6 molar equivalents, about 7 molar equivalents, about 8 molar equivalents, about 9 molar equivalents or about 10 molar equivalents relative to the compound of formula (II-a). In some embodiments, the cyaniding agent can be present in an amount of about 1.0 molar equivalents to about 10.0 molar equivalents relative to the compound of formula (II-a). The cyaniding agent can also be present in an amount of about 3.0 molar equivalents to about 9.0 molar equivalents such as about 4.0 molar equivalents to about 8.0 molar equivalents relative to the compound of formula (II-a). In some embodiments, the cyaniding agent can be present in an amount of about 5.0 molar equivalents to about 7.0 molar equivalents relative to the compound of formula (II-a). In some embodiments, the cyaniding agent is present in an amount of about 6.0 molar equivalents relative to the compound of formula (II-a).

[0109] In some embodiments, the cyaniding agent is TMSCN. In some embodiments, the second input mixture comprises TMSCN. TMSCN can exist in any suitable amount. For example, TMSCN can exist in the amount of at least 1 molar equivalent such as about 2 molar equivalents, about 3 molar equivalents, about 4 molar equivalents, about 5 molar equivalents, about 6 molar equivalents, about 7 molar equivalents, about 8 molar equivalents, about 9 molar equivalents or about 10 molar equivalents relative to the compound of formula (II-a). In some embodiments, TMSCN can also exist in the amount of about 1.0 molar equivalents to about 10.0 molar equivalents relative to the compound of formula (II-a). In some embodiments, TMSCN exists in the amount of about 4.0 molar equivalents to about 8.0 molar equivalents or about 3.0 molar equivalents to about 9.0 molar equivalents relative to the compound of formula (II-a). In some embodiments, TMSCN exists in the amount of about 5.0 molar equivalents to about 7.0 molar equivalents relative to the compound of formula (II-a). In some embodiments, TMSCN is present in an amount of about 6.0 molar equivalents relative to the compound of formula (II-a).

[0110] In some embodiments, the Lewis acid is triflate (TMSOTf), the Bronsted acid is trifluoroacetic acid (TFA), the solvent is dichloromethane, and the cyanating agent is trimethylsilyl cyanide (TMSCN).

[0111] In some embodiments, compounds of formula (I) are prepared:

[0112] The method comprises: (a) adding a first input mixture to a first flow reactor, wherein the first input mixture comprises trimethylsilyl trifluoromethanesulfonate (TMSOTf), trifluoroacetic acid (TFA), dichloromethane (DCM) and a compound of formula (II-a):

[0113]

[0114] wherein the first flow reactor provides a first output mixture; and (b) adding a second input mixture to a second flow reactor, wherein the second input mixture comprises the first output mixture and trimethylsilyl cyanide (TMSCN); wherein the second flow reactor provides a second output mixture comprising the compound of formula (I).

[0115] The method disclosed herein can be used to prepare the compound of formula (I) by the compound of formula (II-a) in any desired amount, for example, grams to kilograms. Because the method described herein is a continuous flow method, the method can be used to prepare any amount of compound of formula (I), including an amount greater than the specific amount described herein. In some embodiments, the method includes at least 5g, 10g, 15g, 20g, 25g, 30g, 35g, 40g, 45g, 50g, 100g, 200g, 300g, 400g, 500g, 600g, 700g, 800g, 900g, 1kg, 2kg, 3kg, 4kg, 5kg, 10kg, 20kg, 30kg, 40kg, 50kg, 100kg, 200kg, 250kg, 280kg, 300kg, 400kg, 500kg or at least 1000kg or more of the compound of formula (II-a). In some embodiments, the method includes about 50g to about 1000kg, for example, about 50g to about 300kg of a compound of formula (II-a). In some embodiments, the method includes at least 1kg of a compound of formula (II-a). In some embodiments, the method includes at least 100kg of a compound of formula (II-a). For example, the method may include at least 280kg of a compound of formula (II-a). In some embodiments, the method includes about 200g to about 300kg of a compound of formula (II-a). In some embodiments, the method includes about 250g to about 300kg of a compound of formula (II-a).

[0116] The method for preparing the compound of formula (I) described herein comprises using a flow reactor, such as a first flow reactor and a second flow reactor. In some embodiments, the method comprises continuously adding the first input mixture to the first flow reactor until the first input mixture is exhausted. In some embodiments, the method comprises continuously adding the second input mixture to the second flow reactor until the first output mixture is exhausted.

[0117] The first input mixture may include a plurality of components, which may be combined from one or more feed mixtures prior to addition to the first flow reactor. For example, the first input mixture may include a first feed mixture, such as Figure 1Feed 1 in, it comprises the compound of formula (II-a) and solvent such as dichloromethane. The compound of formula (II-a) can be present in any suitable amount in a solvent, such as but not limited to about 3% to about 30% (w / w) relative to the solvent, or about 3%, about 4%, about 5%, about 6%, about 7%, about 8%, about 9%, about 10%, about 15%, about 20%, about 25% or about 30% of the compound of formula (II-a). In some embodiments, the compound of formula (II-a) is present in solution at about 3% to about 10% (w / w) relative to dichloromethane. In some embodiments, the compound of formula (II-a) can be present in solution at about 5% (w / w) relative to dichloromethane.

[0118] The first input mixture may also include a second feed mixture, such as Figure 1 In the feed 2, it comprises Lewis acid and solvent such as dichloromethane.Lewis acid such as TMSOTf can be present in any suitable amount, such as but not limited to about 10% to about 60% (w / w) or about 20% to about 50% (w / w) relative to solvent, or about 20%, about 25%, about 30%, about 35%, about 40%, about 45% or about 50% Lewis acid. In some embodiments, Lewis acid is present in an amount of about 30% to about 50% (w / w) relative to solvent. In some embodiments, Lewis acid is present in an amount of about 40% (w / w) relative to solvent.

[0119] The second feed mixture also includes Bronsted acid. Bronsted acid such as trifluoroacetic acid can be present in any suitable amount, such as but not limited to about 1% to about 5% (w / w) relative to solvent, for example, about 1%, about 2%, about 2.5%, about 3%, about 3.5%, about 4%, about 4.5% or about 5% trifluoroacetic acid. In some embodiments, the second feed mixture also includes trifluoroacetic acid of about 2% to about 5% (w / w) relative to dichloromethane. Alternatively, the solvent of the second feed mixture can be present in an amount of about 1 times volume to about 10 times volume, about 1 times volume to about 8 times volume, about 2 times volume to about 7 times volume, about 3 times volume to about 6 times volume or about 4 times volume to about 5 times volume. In some embodiments, the solvent in the second feed mixture can be present in an amount of about 1 times volume, or 2 times volume, 3 times volume, 4 times volume, 5 times volume, 6 times volume, 7 times volume, 8 times volume, 9 times volume or about 10 times volume. In some embodiments, the solvent in the second feed mixture can exist in an amount of about 4.0 times of volume, or 4.1 times of volume, 4.2 times of volume, 4.3 times of volume, 4.4 times of volume, 4.5 times of volume, 4.6 times of volume, 4.7 times of volume, 4.8 times of volume, 4.9 times of volume or about 5.0 times of volume. In some embodiments, the solvent of the second feed mixture can exist in an amount of about 4.4 times of volume. Volume can be calculated relative to any component in the method. In some embodiments, the volume of solvent in the second feed mixture is relative to the compound of formula (II-a).

[0120] In some embodiments, the method for preparing a compound of formula (I) provided herein includes combining a first feed mixture of a compound of formula (II-a) containing about 3% to about 7% (w / w) relative to dichloromethane with a second feed mixture containing about 30% to about 50% (w / w) TMSOTf relative to dichloromethane and about 2% to about 5% (w / w) trifluoroacetic acid relative to dichloromethane to form a first input mixture. Alternatively, the solvent of the first feed mixture can be present in an amount of about 1 volume to about 50 volumes, about 5 volumes to about 15 volumes, about 10 volumes to about 20 volumes, about 12 volumes to about 18 volumes, or about 14 volumes to about 16 volumes. In some embodiments, the solvent in the first feed mixture can exist in an amount of about 10 times of volume, or 11 times of volume, 12 times of volume, 13 times of volume, 14 times of volume, 15 times of volume, 16 times of volume, 17 times of volume, 18 times of volume, 19 times of volume or about 20 times of volume. In some embodiments, the solvent of the first feed mixture can exist in an amount of about 15 times of volume. Volume can be calculated relative to any component in the method. In some embodiments, the volume of solvent in the first feed mixture is relative to the compound of formula (II-a).

[0121] In some embodiments, the methods for preparing compounds of Formula (I) provided herein further comprise adding a third feed mixture (e.g. Figure 1 In some embodiments, the third feed mixture comprises a cyaniding agent and a solvent. In some embodiments, the method includes merging the first output mixture with a third feed mixture comprising TMSCN of about 10% to about 50% (w / w) relative to dichloromethane to form a second input mixture. In some embodiments, the method includes merging the first output mixture with a third feed mixture comprising TMSCN of about 10% to about 30% (w / w) relative to dichloromethane to form a second input mixture. Alternatively, the solvent of the third feed mixture can be present in an amount of about 1 volume to about 10 volumes, about 1 volume to about 8 volumes, about 2 volumes to about 7 volumes, about 3 volumes to about 6 volumes, or about 4 volumes to about 5 volumes. In some embodiments, the solvent in the third feed mixture can exist in the amount of about 1 times of volume, or 2 times of volume, 3 times of volume, 4 times of volume, 5 times of volume, 6 times of volume, 7 times of volume, 8 times of volume, 9 times of volume or about 10 times of volume. In some embodiments, the solvent in the third feed mixture can exist in the amount of about 4.0 times of volume, or 4.1 times of volume, 4.2 times of volume, 4.3 times of volume, 4.4 times of volume, 4.5 times of volume, 4.6 times of volume, 4.7 times of volume, 4.8 times of volume, 4.9 times of volume or about 5.0 times of volume. In some embodiments, the solvent of the third feed mixture can exist in the amount of about 4.5 times of volume. Volume can be calculated relative to any component in the method. In some embodiments, the volume of solvent in the third feed mixture is relative to the compound of formula (II-a).

[0122] In some embodiments, the third feed mixture comprises about 10% to about 50% (w / w) TMSCN relative to dichloromethane. In some embodiments, the third feed mixture comprises about 10% to about 30% (w / w) TMSCN relative to dichloromethane. In some embodiments, the third feed mixture comprises about 10%, about 15%, about 20%, about 25%, about 30%, about 35%, about 40%, about 45%, or about 50% TMSCN relative to dichloromethane.

[0123] The TMSCN in the third feed mixture can exist in any suitable amount.For example, TMSCN can exist in an amount of at least 1 molar equivalent such as about 1 molar equivalent, about 2 molar equivalents, about 3 molar equivalents, about 4 molar equivalents, about 5 molar equivalents, about 6 molar equivalents, about 7 molar equivalents, about 8 molar equivalents, about 9 molar equivalents or about 10 molar equivalents relative to the compound of formula (II-a). TMSCN can also exist in an amount of about 3.0 molar equivalents to about 9.0 molar equivalents such as about 4.0 molar equivalents to about 8.0 molar equivalents relative to the compound of formula (II-a). In some embodiments, TMSCN can exist in an amount of about 5.0 molar equivalents to about 7.0 molar equivalents relative to the compound of formula (II-a). In some embodiments, TMSCN exists in an amount of about 6.0 molar equivalents relative to the compound of formula (II-a).

[0124] The feed mixture can be provided to the reactor at an appropriate flow rate to prepare the compound of formula (I). The flow rate can vary according to the size of the equipment. For example, adding a first input mixture to a first flow reactor can be carried out at any rate suitable for providing a first output mixture. Similarly, adding a second input mixture to a second flow reactor can be carried out at any rate suitable for providing a second output mixture.

[0125] The residence time of the first input mixture in the first flow reactor is any time sufficient to provide the first output mixture. In some embodiments, the residence time of the first input mixture in the first flow reactor is about 0.1 minute to about 30 minutes, such as about 0.1 minute, about 0.2 minute, about 0.3 minute, about 0.4 minute, about 0.5 minute, about 0.6 minute, about 0.7 minute, about 0.8 minute, about 0.9 minute, about 1 minute, about 2 minutes, about 3 minutes, about 4 minutes or about 5 minutes. In some embodiments, the residence time in the first flow reactor is about 0.1 minute to about 10 minutes. In some embodiments, the residence time of the first input mixture in the first flow reactor is about 0.1 minute to about 20 minutes, about 0.1 minute to about 10 minutes, about 0.1 minute to about 5 minutes, about 0.2 minutes to about 5 minutes or about 0.3 minutes to about 0.7 minutes. In some embodiments, the residence time of the first input mixture in the first flow reactor is about 0.5 minutes.

[0126] The residence time of the second input mixture in the second flow reactor is any time sufficient to provide the second output mixture. In some embodiments, the residence time of the second input mixture in the second flow reactor is about 0.1 minute to about 30 minutes, such as about 0.5 minute, about 0.6 minute, about 0.7 minute, about 0.8 minute, about 0.9 minute, about 1 minute, about 2 minutes, about 3 minutes, about 4 minutes, about 5 minutes, about 6 minutes, about 7 minutes, about 8 minutes, about 9 minutes or about 10 minutes. In some embodiments, the residence time of the second input mixture in the second flow reactor is about 0.1 minute to about 10 minutes. In some embodiments, the residence time of the second input mixture in the second flow reactor is about 0.5 minute to about 10 minutes, about 0.2 minute to about 20 minutes, about 0.5 minute to about 5 minutes, about 0.4 minute to about 10 minutes or about 1 minute to about 3 minutes. In some embodiments, the residence time of the second input mixture in the second flow reactor is about 2 minutes.

[0127] The method for preparing the compound of formula (I) can be carried out at any suitable temperature. For example, the temperature may be about -120°C to about 20°C, for example, about -60°C to about 0°C, such as about -60°C, about -50°C, about -40°C, about -30°C, about -20°C, about -10°C. In some embodiments, the temperature is about -40°C to about -20°C. In some embodiments, the first flow reactor and the second flow reactor are each independently maintained at a temperature of about -40°C to about -20°C. In some embodiments, the first flow reactor is maintained at a temperature of about -40°C to about -20°C. In some embodiments, the second flow reactor is maintained at a temperature of about -40°C to about -20°C. In some embodiments, the first flow reactor and the second flow reactor are each independently maintained at a temperature of about -35°C to about -25°C. In some embodiments, the first flow reactor and the second flow reactor are both maintained at a temperature of about -30°C.

[0128] The temperature of the feed mixture can be appropriately adjusted according to the reaction and equipment used, so as to be effectively converted into product with desired yield and purity. The temperature of one or more of these feed mixtures may be the same or different. In some embodiments, before forming the first input mixture and / or the second input mixture, the temperature of one or more feed mixtures is adjusted to a temperature suitable for the first flow reactor and / or the second flow reactor. Therefore, the temperature of the first feed mixture, the second feed mixture, the third feed mixture and / or the first output mixture may be about -120 ° C to about 30 ° C, such as about -60 ° C to about 0 ° C, such as about -60 ° C, about -50 ° C, about -40 ° C, about -30 ° C, about -20 ° C, about -10 ° C. In some embodiments, the temperature is about -40 ° C to about -20 ° C.

[0129] In some embodiments, the first feed mixture, the third feed mixture, and / or the first output mixture are each independently adjusted to a temperature of about -40°C to about -20°C, about -35°C to about -25°C, such as about -30°C.

[0130] In some embodiments, the first feed mixture is cooled to about -35°C to about -25°C, such as about -30°C, prior to being mixed with the second feed mixture to obtain the first input mixture. In some embodiments, the method includes cooling the first feed mixture to a temperature of about -35°C to about -25°C prior to combining with the second feed mixture. In some embodiments, the temperature of the second feed mixture prior to combining with the first feed mixture is about 20°C to about 30°C, for example about 22°C. In some embodiments, the temperature of the second feed mixture prior to combining with the first feed mixture is about 17°C to about 27°C.

[0131] In some embodiments, the first feed mixture is cooled to about -35°C to about 25°C, such as about -30°C, and mixed with the second feed mixture to obtain a first input mixture, wherein the temperature of the second feed mixture is about 20°C to about 30°C, for example about 22°C.

[0132] In some embodiments, the method includes cooling the third feed mixture to about 35° C. to about −25° C. prior to combining with the first output mixture. In some embodiments, the third feed mixture is cooled to about −35° C. to about −25° C., such as about −30° C., prior to mixing with the first output mixture to obtain the second input mixture.

[0133] An exemplary embodiment of a method for preparing a compound of formula (I) from a compound of formula (II-a) described herein is shown in Figure 1In. The first feed mixture (feed 1) (110) comprises a compound of formula (II-a), which can be mixed in a suitable solvent such as DCM. Feed 1 is fed into a precooling loop #1 (111) maintained at a first temperature and then combined with a second feed mixture (feed 2) (120) at a crossover point #1 (130) to form a first input mixture (135). The second feed mixture (feed 2) comprises a Lewis acid and a Bronsted acid, such as TMSOTf and TFA, which can be mixed in a suitable solvent such as DCM and maintained at a second temperature. The first input mixture is fed into a first flow reactor (140) maintained at a third temperature during a first residence time to provide a first output mixture (145). A third feed mixture (feed 3) (150) comprising a cyaniding agent such as TMSCN mixed in a suitable solvent such as DCM is fed into a precooling loop #2 (151) maintained at a fourth temperature. The first output mixture 145 is combined with the third feed mixture from the pre-cooling loop 151 at intersection #2 (160) to form a second input mixture (165). The second input mixture is fed into a second flow reactor (170) maintained at a fifth temperature during a second residence time to provide a second output mixture (180). The second output mixture 180 comprising the compound of formula (I) is then fed into an aqueous potassium hydroxide solution maintained at a sixth temperature for post-processing.

[0134] In some embodiments, the first temperature is about -60°C to about 0°C. In some embodiments, the first temperature is about -40°C to about -20°C. In some embodiments, the first temperature is about -35°C to about -25°C. In some embodiments, the first temperature is about -40°C, about -30°C, about -20°C, or about -10°C. In some embodiments, the first temperature is about -30°C.

[0135] In some embodiments, the second temperature is about 0°C to about 30°C. In some embodiments, the second temperature is about 15°C to about 25°C. In some embodiments, the second temperature is about 17°C to about 27°C. In some embodiments, the second temperature is about 0°C, about 10°C, about 20°C, or about 30°C. In some embodiments, the second temperature is about 22°C.

[0136] In some embodiments, the third temperature is about -60°C to about 0°C. In some embodiments, the third temperature is about -40°C to about -20°C. In some embodiments, the third temperature is about -35°C to about -25°C. In some embodiments, the third temperature is about -40°C, about -30°C, about -20°C, or about -10°C. In some embodiments, the third temperature is about -30°C.

[0137] In some embodiments, the fourth temperature is about -60°C to about 0°C. In some embodiments, the fourth temperature is about -40°C to about -20°C. In some embodiments, the fourth temperature is about -35°C to about -25°C. In some embodiments, the fourth temperature is about -40°C, about -30°C, about -20°C, or about -10°C. In some embodiments, the fourth temperature is about -30°C.

[0138] In some embodiments, the fifth temperature is about -60°C to about 0°C. In some embodiments, the fifth temperature is about -40°C to about -20°C. In some embodiments, the fifth temperature is about -35°C to about -25°C. In some embodiments, the fifth temperature is about -40°C, about -30°C, about -20°C, or about -10°C. In some embodiments, the fifth temperature is about -30°C.

[0139] In some embodiments, the sixth temperature is about -60°C to about 0°C. In some embodiments, the sixth temperature is about -20°C to about 0°C. In some embodiments, the sixth temperature is about -15°C to about -5°C. In some embodiments, the sixth temperature is about -30°C, about -20°C, about -10°C, or about 0°C. In some embodiments, the sixth temperature is about -10°C.

[0140] The method of the present invention can be carried out at any suitable pressure. For example, the method can be carried out at atmospheric pressure. The first input mixture and / or the second input mixture can also be exposed to any suitable environment, such as atmosphere or an inert gas such as nitrogen or argon.

[0141] The method may further include separating the compound of formula (I) from the second output mixture. In some embodiments, the method further includes separating the compound of formula (I) from the second output mixture. Such separation methods may include suitable post-treatment or extraction conditions, such as extraction with one or more organic solvents, or washing with an aqueous solution, such as sodium chloride solution. In some embodiments, the method includes adding the second output mixture to an aqueous potassium hydroxide solution to form a biphasic mixture comprising an organic layer.

[0142] The temperature at which the second output mixture is added to the potassium hydroxide solution can be any suitable temperature. For example, the temperature at which the second output mixture is added to the potassium hydroxide solution can be about -20°C to about 0°C, such as at about -20°C, about -15°C, about -10°C, about -5°C, or about 0°C. In some embodiments, the temperature can be about -15°C to about -5°C. In some embodiments, the temperature at which the second output mixture is added to the potassium hydroxide solution is about -10°C.

[0143] In some embodiments, for dissolving purposes, easy distillation or other purposes, the biphasic mixture may include a second organic solvent. The second organic solvent added to the biphasic mixture may be any suitable organic solvent, including but not limited to methylene chloride and other halogenated solvents, and ether, tetrahydrofuran, isopropanol, hexane, benzene, toluene and other non-halogenated solvents. In some embodiments, the second organic solvent is isopropanol. In some embodiments, the method includes adding isopropanol to the biphasic mixture.

[0144] In some embodiments, the method includes separating the organic layer from the biphasic mixture.

[0145] In some embodiments, the method includes adding toluene to the organic layer.The organic layer can be co-distilled with toluene to precipitate the compound of formula (I).

[0146] In some embodiments, the method includes concentrating the organic layer.

[0147] In some embodiments, the compound of formula (I) is collected and dried under vacuum. The drying temperature may be any suitable temperature that is not expected to damage the quality of the compound. In some embodiments, the drying temperature is about 20°C to about 80°C, such as about 20°C, about 30°C, about 40°C, about 50°C, about 60°C, about 70°C, or about 80°C. In some embodiments, the drying temperature is about 60°C. In some embodiments, the drying temperature is about 55°C to about 65°C. In some embodiments, the drying temperature is about 50°C to about 70°C.

[0148] The disclosed method can provide a compound of formula (I) in any suitable yield. For example, the compound of formula (I) can be prepared in a yield of at least 50%, 55%, 60%, 65%, 70%, 75%, 80%, 85%, 90%, 95%, 97%, 98% or at least 99%. In some embodiments, the yield of the compound of formula (I) is about 60% to about 100%. In some embodiments, the yield of the compound of formula (I) is about 60% to about 90%. In some embodiments, the yield of the compound of formula (I) is about 70% to about 80% or about 75% to about 85%. In some embodiments, the yield of the compound of formula (I) is about 70% to about 95%. In some embodiments, the yield of the compound of formula (I) is about 70% to about 90%. In some embodiments, the yield of the compound of formula (I) is about 75% to about 90%. In some embodiments, the yield of the compound of formula (I) is about 75% to about 95%. In some embodiments, the yield of the compound of formula (I) is about 80% to about 95%. In some embodiments, the yield of the compound of formula (I) is about 80% to about 90%. In some embodiments, the yield of the compound of formula (I) is about 60%, about 70%, about 72%, about 74%, about 75%, about 76%, about 78%, about 80%, about 82%, about 84%, about 85%, about 86%, about 88%, about 90%, about 95%, about 97%, about 98% or about 99%. In some embodiments, the yield of the compound of formula (I) is about 78%. In some embodiments, the yield of the compound of formula (I) is about 70% to about 80%. In some embodiments, the yield of the compound of formula (I) is about 70% to about 90%.

[0149] The disclosed method can provide the compound of formula (I) with any suitable purity. For example, the compound of formula (I) can be prepared with a purity of about 90% to about 100%, such as about 95% to about 100% or about 98% to about 100%. In some embodiments, the purity of the compound of formula (I) is about 98% to about 100%. In some embodiments, the compound of formula (I) is prepared with a purity of about 90%, about 95%, about 96%, about 97%, about 98%, about 99%, about 99.9%, about 99.99%, about 99.999%, about 99.9999% or about 99.99999%. In some embodiments, the compound of formula (I) is prepared with a purity of about 99.9%. In some embodiments, the compound of Formula (I) is prepared with a purity of about 95% to about 99.999%, about 98% to about 99.999%, about 98% to about 99.99%, or about 99% to about 99.99%.

[0150] B. Formula (II-a)

[0151] Also provided herein is a method for preparing a compound of formula (II-a), namely (3R,4R,5R)-2-(4-aminopyrrolo[2,1-f][1,2,4]triazin-7-yl)-3,4-bis(benzyloxy)-5-((benzyloxy)methyl)tetrahydrofuran-2-ol:

[0152]

[0153] In some embodiments, the method of preparing a compound of Formula (I) further comprises preparing a compound of Formula (II-a) by any of the methods described herein.

[0154] 1. Formula (II-a) from formula (III)

[0155] In some embodiments, the method further comprises: (c) adding a third input mixture to a third reactor, wherein the third input mixture comprises trimethylsilyl chloride (TMSCl), isopropylmagnesium chloride (iPrMgCl), phenylmagnesium chloride (PhMgCl), tetrahydrofuran (THF), and a compound of formula (IV):

[0156]

[0157] wherein the third reactor provides a third output mixture; and (d) adding a fourth input mixture to a fourth reactor, wherein the fourth input mixture comprises the third output mixture, a fourth catalyst, a fourth additive, and a compound of formula (III):

[0158]

[0159] wherein the fourth reactor provides a fourth output mixture comprising the compound of formula (II-a).

[0160] Any suitable fourth catalyst can be used in the method for preparing a compound of formula (II-a). In some embodiments, the fourth catalyst is a lanthanide salt. In some embodiments, the fourth catalyst is selected from the group consisting of the following items: NdCl3, YCl3, CeCl3 and LaCl3. In some embodiments, the fourth catalyst is NdCl3 or CeCl3. In some embodiments, the fourth catalyst is CeCl3. In some embodiments, the fourth catalyst is NdCl3.

[0161] Any suitable form of the fourth catalyst can be used in the method for preparing the compound of formula (II-a). For example, the fourth catalyst can be in the form of a hydrate or a solvate thereof. In some embodiments, the fourth catalyst is anhydrous. In some embodiments, the fourth catalyst is a solvate. Representative solvate forms of the fourth catalyst include, but are not limited to, ether solvents. The solvate form of the fourth catalyst may include solvates of any suitable molar ratio, for example, solvates, disolvates, trisolvates, etc. In some embodiments, the fourth catalyst is a THF solvate. In some embodiments, the fourth catalyst is a hydrate. The hydrate form of the fourth catalyst may be in any suitable molar ratio, for example, a monohydrate, a dihydrate, a trihydrate, a tetrahydrate, a pentahydrate, or a hexahydrate. In some embodiments, the fourth catalyst is a hexahydrate.

[0162] In some embodiments, the fourth additive is a tetraalkylammonium salt, such as a tetramethylammonium salt, a tetraethylammonium salt or a tetra-n-butylammonium salt. In some embodiments, the fourth additive is a tetra-n-butylammonium salt, such as tetra-n-butylammonium chloride (n-Bu4NCl or Bu4NCl), tetra-n-butylammonium bromide (n-Bu4NBr or Bu4NBr) or tetra-n-butylammonium iodide (n-Bu4NI or Bu4NI). In some embodiments, the fourth additive is tetra-n-butylammonium chloride (n-Bu4NCl). In some embodiments, the fourth additive is tetra-n-butylammonium bromide (n-Bu4NBr).

[0163] In some embodiments, the fourth catalyst is neodymium chloride (NdCl3), and the fourth additive is tetra-n-butylammonium chloride (n-Bu4NCl). In some embodiments, the fourth catalyst is neodymium chloride (NdCl3), and the fourth additive is tetra-n-butylammonium bromide (n-Bu4NBr). In some embodiments, the fourth catalyst is neodymium chloride tetrahydrofuran solvate (NdCl3·THF), and the fourth additive is tetra-n-butylammonium chloride (n-Bu4NCl). In some embodiments, the fourth catalyst is neodymium chloride tetrahydrofuran solvate (NdCl3·THF), and the fourth additive is tetra-n-butylammonium bromide (n-Bu4NBr). In some embodiments, the fourth catalyst is neodymium chloride hexahydrate (NdCl3·6H2O), and the fourth additive is tetra-n-butylammonium chloride (n-Bu4NCl). In some embodiments, the fourth catalyst is neodymium chloride hexahydrate (NdCl3·6H2O), and the fourth additive is tetra-n-butylammonium bromide (n-Bu4NBr). In some embodiments, the fourth catalyst is cerium chloride (CeCl3), and the fourth additive is tetra-n-butylammonium chloride (n-Bu4NCl). In some embodiments, the fourth catalyst is cerium chloride (CeCl3), and the fourth additive is tetra-n-butylammonium bromide (n-Bu4NBr).

[0164] In some embodiments, the method further comprises: (c) adding a third input mixture to a third reactor, wherein the third input mixture comprises trimethylsilyl chloride (TMSCl), isopropylmagnesium chloride (iPrMgCl), phenylmagnesium chloride (PhMgCl), tetrahydrofuran (THF), and a compound of formula (IV):

[0165]

[0166] wherein the third reactor provides a third output mixture; and (d) adding a fourth input mixture to a fourth reactor, wherein the fourth input mixture comprises the third output mixture, neodymium chloride (NdCl3), tetra-n-butylammonium chloride (n-Bu4NCl) and a compound of formula (III):

[0167]

[0168] wherein the fourth reactor provides a fourth output mixture comprising the compound of formula (II-a).

[0169] In some embodiments, the method further comprises: (c) adding a third input mixture to a third reactor, wherein the third input mixture comprises trimethylsilyl chloride (TMSCl), isopropylmagnesium chloride (iPrMgCl), phenylmagnesium chloride (PhMgCl), tetrahydrofuran (THF), and a compound of formula (IV):

[0170]

[0171] wherein the third reactor provides a third output mixture; and (d) adding a fourth input mixture to a fourth reactor, wherein the fourth input mixture comprises the third output mixture, neodymium chloride (NdCl3), tetra-n-butylammonium bromide (n-Bu4NBr) and a compound of formula (III):

[0172]

[0173] wherein the fourth reactor provides a fourth output mixture comprising the compound of formula (II-a).

[0174] Any suitable form of neodymium chloride (NdCl3) may be used in the method of preparing a compound of formula (II-a). In some embodiments, NdCl3 is anhydrous. In some embodiments, NdCl3 is a solvate, for example, with an ether solvent. In some embodiments, NdCl3 is neodymium chloride tetrahydrofuran solvate (NdCl3·THF). In some embodiments, NdCl3 is a hydrate. In some embodiments, NdCl3 is neodymium chloride hexahydrate (NdCl3·6H2O).

[0175] Embodiments of the method for preparing a compound of formula (II-a) using NdCl3 solvate may also include a dehydrating agent. In some embodiments, the dehydrating agent is an ortho acid trialkyl ester, such as trimethyl orthoformate, triethyl orthoformate, triethyl orthoacetate, triethyl orthopropionate or 3,3,3-triethoxy-1-propyne. In some embodiments, the dehydrating agent is trimethyl orthoformate.

[0176] In some embodiments, the method further comprises: (c) adding a third input mixture to a third reactor, wherein the third input mixture comprises trimethylsilyl chloride (TMSCl), isopropylmagnesium chloride (iPrMgCl), phenylmagnesium chloride (PhMgCl), tetrahydrofuran (THF), and a compound of formula (IV):

[0177]

[0178] wherein the third reactor provides a third output mixture; and (d) adding a fourth input mixture to a fourth reactor, wherein the fourth input mixture comprises the third output mixture, neodymium chloride tetrahydrofuran solvate (NdCl3.THF), tetra-n-butylammonium bromide (n-Bu4NBr) and a compound of formula (III):

[0179]

[0180] wherein the fourth reactor provides a fourth output mixture comprising the compound of formula (II-a).

[0181] In some embodiments, the method further comprises: (c) adding a third input mixture to a third reactor, wherein the third input mixture comprises trimethylsilyl chloride (TMSCl), isopropylmagnesium chloride (iPrMgCl), phenylmagnesium chloride (PhMgCl), tetrahydrofuran (THF), and a compound of formula (IV):

[0182]

[0183] wherein the third reactor provides a third output mixture; and (d) adding a fourth input mixture to the fourth reactor, wherein the fourth input mixture comprises the third output mixture, neodymium chloride hexahydrate (NdCl3.6H2O), trimethyl orthoformate, tetra-n-butylammonium bromide (n-Bu4NBr) and a compound of formula (III):

[0184]

[0185] wherein the fourth reactor provides a fourth output mixture comprising the compound of formula (II-a).

[0186] In some embodiments, the method further comprises: (c) adding a third input mixture to a third reactor, wherein the third input mixture comprises trimethylsilyl chloride (TMSCl), isopropylmagnesium chloride (iPrMgCl), phenylmagnesium chloride (PhMgCl), tetrahydrofuran (THF), and a compound of formula (IV):

[0187]

[0188] wherein the third reactor provides a third output mixture; and (d) adding a fourth input mixture to a fourth reactor, wherein the fourth input mixture comprises the third output mixture, cerium chloride (CeCl3), tetra-n-butylammonium bromide (n-Bu4NBr) and a compound of formula (III):

[0189]

[0190] wherein the fourth reactor provides a fourth output mixture comprising the compound of formula (II-a).

[0191] The method of the present disclosure is applicable to the synthesis of grams to kilograms of compounds of formula (II-a) by compounds of formula (III). In some embodiments, the fourth input mixture comprises at least 50g, 100g, 200g, 300g, 400g, 500g, 600g, 700g, 800g, 900g, 1kg, 2kg, 3kg, 4kg, 5kg, 10kg, 20kg, 30kg, 40kg, 50kg, 100kg, 200kg, 500kg or at least 1000kg or more of compounds of formula (III). In some embodiments, the fourth input mixture comprises at least 1kg of compounds of formula (III). In some embodiments, the fourth input mixture comprises about 50g to about 100kg, for example, about 50g to about 20kg, or about 30g to about 20kg of compounds of formula (III). In some embodiments, the fourth input mixture comprises about 5kg to about 15kg of compounds of formula (III). For example, in some embodiments, the fourth input mixture comprises about 10 kg of the compound of formula (III).

[0192] A compound of formula (III) having the following structure:

[0193]

[0194] Also known as (3R,4R,5R)-3,4-bis(benzyloxy)-5-((benzyloxy)methyl)dihydrofuran-2(3H)-one.

[0195] A compound of formula (IV) having the following structure:

[0196]

[0197] Also known as 7-iodopyrrolo[2,1-f][1,2,4]triazine-4-amine.

[0198] 2. Formula (II-a) from formula (V)

[0199] In some embodiments, the present disclosure provides a method for preparing a compound of formula (II-a):

[0200]

[0201] comprising adding a fifth input mixture to a fifth reactor, wherein the fifth input mixture comprises a compound of formula (V):

[0202]

[0203] an oxidant and a fifth base, wherein the fifth reactor provides a fifth output mixture comprising the compound of formula (II-a).

[0204] In some embodiments, the oxidant is (2,2,6,6-tetramethylpiperidin-1-yl)oxy, 9-azabicyclo[3.3.1]nonane N-oxyl, dichloroiodobenzene, diacetate iodobenzene, sodium hypochlorite, 1,1,1-tris(acetoxy)-1,1-dihydro-1,2-benzidoyl-3-(1H)-one, dimethyl sulfoxide / pyridine sulfur trioxide, manganese oxide, 2,3-dichloro-5,6-dicyanobenzoquinone or N-methylmorpholine-N-oxide / tetrapropylammonium perruthenate, or a combination thereof. In some embodiments, the oxidant is (2,2,6,6-tetramethylpiperidin-1-yl)oxy and diacetate iodobenzene.

[0205] In some embodiments, the fifth base is sodium bicarbonate, potassium bicarbonate, sodium carbonate, potassium carbonate, sodium dihydrogen phosphate, potassium dihydrogen phosphate, disodium hydrogen phosphate, dipotassium hydrogen phosphate, sodium phosphate, potassium phosphate, or ammonium acetate, or a combination thereof. In some embodiments, the fifth base is dipotassium hydrogen phosphate.

[0206] In some embodiments, the fifth input mixture further comprises a fifth solvent selected from the group consisting of dichloromethane, dichloroethane, chloroform, toluene, trifluorotoluene, water, sulfolane, dimethylformamide, N-methylpyrrolidine, dimethyl sulfoxide, methyl acetate, isopropyl acetate, ethyl acetate and acetonitrile, or a combination thereof. In some embodiments, the fifth solvent is acetonitrile.

[0207] In some embodiments, the oxidant is (2,2,6,6-tetramethylpiperidin-1-yl)oxy and iodobenzene diacetate; the fifth base is dipotassium hydrogen phosphate; and the fifth solvent is acetonitrile.

[0208] The method for preparing the compound of formula (II-a) can be carried out at any suitable temperature. For example, the fifth reactor can be maintained at a temperature of about -10 ° C to about 60 ° C, or about 0 ° C to about 30 ° C, or about 10 ° C to about 30 ° C, such as at about 10 ° C, about 15 ° C, about 20 ° C, about 25 ° C, or about 30 ° C. In some embodiments, the fifth reactor is maintained at a temperature of about -10 ° C to about 60 ° C. In some embodiments, the fifth reactor is maintained at a temperature of about 10 ° C to about 30 ° C. In some embodiments, the fifth reactor is maintained at a temperature of about 20 ° C.

[0209] In some embodiments, the method further comprises preparing a compound of formula (V), the method comprising: (a) adding a sixth input mixture to a sixth reactor, wherein the sixth input mixture comprises an amine protecting agent, a sixth base, and a compound of formula (IV):

[0210]

[0211] wherein the sixth reactor provides a sixth output mixture;

[0212] (b) adding a seventh input mixture to a seventh reactor, wherein the seventh input mixture comprises the sixth output mixture, a seventh transfer metal agent, and a compound of formula (VI):

[0213]

[0214] Wherein the seventh reactor provides a seventh output mixture comprising a compound of formula (V).

[0215] In some embodiments, the amine protecting agent is trimethylchlorosilane, triethylchlorosilane, tert-butyldimethylchlorosilane, tert-butyldiphenylchlorosilane, 1,2-bis(chlorodimethylsilyl)ethane, trifluoroacetic anhydride or di(tert-butyl)dicarbonate. In some embodiments, the amine protecting agent is trimethylchlorosilane.

[0216] In some embodiments, the sixth base is phenylmagnesium chloride, phenylmagnesium bromide, phenylmagnesium iodide, isopropylmagnesium chloride, isopropylmagnesium bromide, tert-butylmagnesium chloride, phenyllithium, methyllithium, isopropyllithium, tert-butyllithium, sodium hydride, potassium hydride, or calcium hydride, or a combination thereof. In some embodiments, the sixth base is phenylmagnesium chloride.

[0217] In some embodiments, the sixth input mixture further comprises a sixth solvent selected from the group consisting of tetrahydrofuran (THF), 2-methyltetrahydrofuran, tert-butyl methyl ether, diisopropyl ether, cyclopentyl methyl ether and toluene, or a combination thereof. In some embodiments, the sixth solvent is tetrahydrofuran (THF).

[0218] In some embodiments, the amine protecting agent is trimethylsilyl chloride; the sixth base is phenylmagnesium chloride; and the sixth solvent is tetrahydrofuran (THF).

[0219] The method for preparing the compound of formula (II-a) can be carried out at any suitable temperature. For example, the sixth reactor can be maintained at a temperature of about -70°C to about 40°C, or about -30°C to about 30°C, or about -20°C to about 10°C, such as at about -20°C, about -10°C, about 0°C, or about 10°C. In some embodiments, the sixth reactor is maintained at a temperature of about -70°C to about 40°C. In some embodiments, the sixth reactor is maintained at a temperature of about -20°C to about 10°C.

[0220] In some embodiments, the seventh metal transfer agent is phenylmagnesium chloride, phenylmagnesium bromide, phenylmagnesium iodide, isopropylmagnesium chloride, isopropylmagnesium bromide, tert-butylmagnesium chloride, tert-butylmagnesium bromide, phenyllithium, methyllithium, isopropyllithium, or tert-butyllithium, or a combination thereof. In some embodiments, the seventh metal transfer agent is isopropylmagnesium chloride.

[0221] In some embodiments, the seventh input mixture further comprises a seventh solvent selected from the group consisting of tetrahydrofuran (THF), 2-methyltetrahydrofuran, tert-butyl methyl ether, diisopropyl ether, cyclopentyl methyl ether and toluene, or a combination thereof. In some embodiments, the seventh solvent is tetrahydrofuran (THF).

[0222] In some embodiments, the seventh transmetallation agent is isopropylmagnesium chloride; and the seventh solvent is tetrahydrofuran (THF).

[0223] The method for preparing the compound of formula (II-a) can be carried out at any suitable temperature. For example, the seventh reactor can be maintained at a temperature of about -70°C to about 40°C, or about -30°C to about 30°C, or about -30°C to about -10°C, such as at about -30°C, about -25°C, about -20°C, or about -10°C. In some embodiments, the seventh reactor is maintained at a temperature of about -70°C to about 40°C. In some embodiments, the seventh reactor is maintained at a temperature of about -30°C to about -10°C. In some embodiments, the seventh reactor is maintained at a temperature of about -20°C.

[0224] The method of the present disclosure is applicable to the synthesis of grams to kilograms of compounds of formula (II-a) by compounds of formula (V). In some embodiments, the sixth input mixture comprises at least 50g, 100g, 200g, 300g, 400g, 500g, 600g, 700g, 800g, 900g, 1kg, 2kg, 3kg, 4kg, 5kg, 10kg, 20kg, 30kg, 40kg, 50kg, 100kg, 200kg, 500kg or at least 1000kg or more of compounds of formula (V). In some embodiments, the sixth input mixture comprises at least 1kg of compounds of formula (V). In some embodiments, the sixth input mixture comprises about 50g to about 100kg, for example, about 50g to about 20kg, or about 30g to about 20kg of compounds of formula (V). In some embodiments, the sixth input mixture comprises about 5kg to about 15kg of compounds of formula (V). For example, in some embodiments, the sixth input mixture comprises about 10 kg of the compound of Formula (V).

[0225] The disclosed method can provide a compound of formula (II-a) with any suitable yield by a compound of formula (III) or a compound of formula (V). For example, the compound of formula (II-a) can be prepared in a yield of at least 50%, 55%, 60%, 65%, 70%, 75%, 80%, 85%, 90%, 95%, 97%, 98% or at least 99%. In some embodiments, the yield of formula (II-a) is about 60% to about 100%. In some embodiments, the yield of formula (II-a) is about 70% to about 80% or about 75% to about 85%. In some embodiments, the yield of formula (II-a) is about 60%, about 70%, about 72%, about 74%, about 75%, about 76%, about 78%, about 80%, about 82%, about 84%, about 85%, about 86%, about 88%, about 90%, about 95%, about 97%, about 98% or about 99%. In some embodiments, the yield of formula (II-a) is about 79%. In some embodiments, the yield of formula (II-a) is about 70% to about 90%. In some embodiments, the yield of formula (II-a) is about 70% to about 80%. In some embodiments, the yield of formula (II-a) is about 75% to about 85%.

[0226] The disclosed method can provide a compound of formula (II-a) with any suitable purity by a compound of formula (III) or a compound of formula (V). For example, the compound of formula (II-a) can be prepared with a purity of about 90% to about 100%, such as about 95% to about 100% or about 98% to about 100%. In some embodiments, the purity of the compound of formula (II-a) is about 98% to about 100%. In some embodiments, the compound of formula (II-a) is prepared with a purity of about 90%, about 95%, about 96%, about 97%, about 98%, about 99%, about 99.9%, about 99.99%, about 99.999%, about 99.9999% or about 99.99999%. In some embodiments, the compound of formula (II-a) is prepared with a purity of about 99.92%. In some embodiments, the compound of Formula (II-a) is prepared with a purity of about 95% to about 99.999%, about 98% to about 99.999%, about 98% to about 99.99%, or about 99% to about 99.99%.

[0227] C. Formula (VII) from formula (I)

[0228] Also provided herein is a method for preparing a compound of formula (VII), namely (2R,3R,4S,5R)-2-(4-aminopyrrolo[2,1-f][1,2,4]triazine-7-yl)-3,4-dihydroxy-5-(hydroxymethyl)tetrahydrofuran-2-carbonitrile:

[0229]

[0230] Compounds of formula VII can be prepared by a variety of methods as described below.

[0231] 1. Flow Reactor Method

[0232] In some embodiments, the present disclosure provides a method for preparing a compound of formula (VII) or a salt thereof:

[0233]

[0234] The method includes adding an eighth input mixture to an eighth flow reactor, wherein the eighth input mixture comprises an eighth Lewis acid and a compound of formula (I):

[0235] and

[0236] The eighth flow reactor provides an eighth output mixture comprising the compound of formula (VII) or a salt thereof.

[0237] In some embodiments, the eighth input mixture further comprises an eighth solvent selected from the group consisting of dichloromethane, chloroform, dichloroethane, chlorobenzene, toluene, ethyl acetate (EtOAc), isopropyl acetate (iPrOAc), acetonitrile, tetrahydrofuran (THF), 2-methyltetrahydrofuran, and combinations thereof. In some embodiments, the eighth solvent is dichloromethane.

[0238] In some embodiments, the eighth Lewis acid is boron trichloride (BCl3), boron trifluoride (BF3), boron trifluoride ether complex (BF3.OEt2), boron trifluoride tetrahydrofuran complex (BF3.THF), boron trichloride dimethyl sulfide complex (BCl3.SMe2) or 2-chloro-1,3,2-benzodioxaborolane. In some embodiments, the eighth Lewis acid is boron trichloride (BCl3).

[0239] The method for preparing the compound of formula (VII) can be carried out at any suitable temperature. For example, the compound of formula (I) can be cooled to a temperature of about -20°C to about 30°C, or about -10°C to about 30°C, or about -10°C to about 20°C, such as at about -10°C, about -5°C, about 0°C, about 5°C, or about 10°C. In some embodiments, the method also includes cooling the compound of formula (I) to a temperature of about -10°C to about 20°C before merging with the eighth Lewis acid. In some embodiments, the method includes cooling to about 0°C before merging the compound of formula (I) with the eighth Lewis acid.

[0240] The method for preparing the compound of formula (VII) can be carried out at any suitable temperature. For example, the eighth Lewis acid can be cooled to a temperature of about -20°C to about 20°C, or about -10°C to about 20°C, or about -10°C to about 10°C, such as at about -10°C, about -5°C, about 0°C, about 5°C, or about 10°C. In some embodiments, the method also includes cooling the eighth Lewis acid to a temperature of about -10°C to about 20°C before merging the compound of formula (I). In some embodiments, the method also includes cooling the eighth Lewis acid to about 0°C before merging with the compound of formula (I).

[0241] The eighth Lewis acid can exist in any suitable concentration. For example, the eighth Lewis acid can exist in a concentration of 0.1M to 10M, or 0.1M to 5M, or 0.1M to 2M, such as about 0.5M, 0.6M, 0.7M, 0.8M, 0.9M, 1M, 1.1M, 1.2M, 1.3M, 1.4M or about 1.5M. In some embodiments, the concentration of the eighth Lewis acid is about 0.1M to about 5M. In some embodiments, the concentration of the eighth Lewis acid is about 0.9M to about 1.1M. In some embodiments, the concentration of the eighth Lewis acid is about 1M.

[0242] In some embodiments, the method includes combining a compound of formula (I) with an eighth Lewis acid, BCl 3 , at a concentration of about 1 M in an eighth solvent, dichloromethane, to form an eighth input mixture.

[0243] In some embodiments, the method includes continuously adding the eighth input mixture to the eighth flow reactor until the eighth input mixture is consumed.

[0244] In some embodiments, the method includes a residence time for the eighth input mixture, wherein the residence time of the eighth input mixture in the eighth flow reactor is from about 0.1 minutes to about 10 minutes. In some embodiments, the residence time of the eighth input mixture in the eighth flow reactor is from about 0.5 minutes to about 3 minutes. In some embodiments, the residence time of the eighth input mixture in the eighth flow reactor is about 135 seconds.

[0245] The method for preparing the compound of formula (VII) can be carried out at any suitable temperature. For example, the eighth flow reactor can be maintained at a temperature of about -20°C to about 30°C, or about -10°C to about 30°C, or about -10°C to about 20°C, such as at about -10°C, about -5°C, about 0°C, about 5°C, or about 10°C. In some embodiments, the eighth flow reactor is maintained at a temperature of about -10°C to about 20°C. In some embodiments, the eighth flow reactor is maintained at a temperature of about 0°C.

[0246] In some embodiments, the method further comprises combining the eighth output mixture with an eighth protic solvent selected from the group consisting of water, methanol, ethanol, n-propanol, isopropanol, n-butanol, tert-butanol, and combinations thereof. In some embodiments, the eighth protic solvent is methanol.

[0247] In some embodiments, the method further comprises combining the eighth output mixture with an eighth base. In some embodiments, the eighth base is selected from the group consisting of triethylamine, sodium carbonate, potassium carbonate, sodium hydroxide, and potassium hydroxide. In some embodiments, the eighth base is potassium carbonate.

[0248] An exemplary embodiment of a flow reactor process for preparing a compound of formula (VII) from a compound of formula (I) described herein is shown in Figure 2 In. The fourth feed mixture (feed 4) (210) comprises a compound of formula (I), which may be mixed in a suitable solvent such as DCM. Feed 4 is fed into a precooling loop #4 (211) maintained at the seventh temperature. The fifth feed mixture (feed 5) (220) comprises an eighth Lewis acid, such as BCl3, which may be mixed in a suitable solvent such as DCM. Feed 5 is fed into a precooling loop #5 (221) maintained at the seventh temperature. Feed 4 and feed 5 are combined at intersection #3 (230) to form an eighth input mixture (235). The eighth input mixture is fed into an eighth flow reactor (240) maintained at the eighth temperature during the third residence time to provide an eighth output mixture (250). The eighth output mixture comprising the compound of formula (VII) is then fed into an eighth protic solvent such as methanol. The mixture may be post-treated with an aqueous alkali solution such as potassium carbonate to provide a compound of formula (VII).

[0249] 2. Lewis acid and additive method

[0250] In some embodiments, the present disclosure provides a method for preparing a compound of formula (VII) or a salt thereof:

[0251]

[0252] The method comprises treating a compound of formula (I):

[0253]

[0254] The ninth Lewis acid and the additive are combined in a ninth reactor to provide a ninth output mixture comprising the compound of formula (VII) or a salt thereof.

[0255] In some embodiments, the method further comprises a ninth solvent selected from the group consisting of dichloromethane, toluene, ethyl acetate (EtOAc), isopropyl acetate (iPrOAc), acetonitrile, and combinations thereof. In some embodiments, the ninth solvent is dichloromethane.

[0256] In some embodiments, the ninth Lewis acid is boron trichloride (BCl3), boron tribromide (BBr3), or boron trifluoride etherate / sodium iodide (BF3.OEt2 / NaI). In some embodiments, the ninth Lewis acid is boron trichloride (BCl3).

[0257] The ninth Lewis acid can exist in any suitable amount. For example, the ninth Lewis acid can exist in at least 1 molar equivalent such as about 2 molar equivalents, about 3 molar equivalents, about 4 molar equivalents, about 5 molar equivalents, about 6 molar equivalents, about 7 molar equivalents, about 8 molar equivalents, about 9 molar equivalents or about 10 molar equivalents relative to the compound of formula (I). In some embodiments, the ninth Lewis acid exists in an amount of about 2.0 molar equivalents to about 6.0 molar equivalents relative to the compound of formula (I). In some embodiments, the ninth Lewis acid exists in an amount of about 3.0 molar equivalents to about 4.0 molar equivalents relative to the compound of formula (I). In some embodiments, the ninth Lewis acid exists in an amount of about 3.6 molar equivalents relative to the compound of formula (I).

[0258] In some embodiments, the additive is selected from the group consisting of trialkyl borate, triaryl borate, methanol, ethanol, isopropanol, and combinations thereof. The trialkyl borate may be trimethyl borate, triethyl borate, triisopropyl borate, tri-n-butyl borate, tri(tert-butyl) borate, etc. The triaryl borate may be triphenyl borate, tri(o-tolyl) borate, etc. In some embodiments, the additive is selected from the group consisting of trimethyl borate (B(OMe)3), triethyl borate (B(OEt)3), triisopropyl borate (B(OiPr)3), tri-n-butyl borate (B(OBu)3), triphenyl borate (B(OPh)3), methanol, ethanol, isopropanol, and combinations thereof. In some embodiments, the additive is trimethyl borate (B(OMe)3).

[0259] The additive can be present in any suitable amount. For example, the additive can be present in an amount of at least 1 molar equivalent such as about 2 molar equivalents, about 3 molar equivalents, about 4 molar equivalents, about 5 molar equivalents, about 6 molar equivalents, about 7 molar equivalents, about 8 molar equivalents, about 9 molar equivalents or about 10 molar equivalents relative to the compound of formula (I). In some embodiments, the additive is present in an amount of about 1.0 molar equivalents to about 4.0 molar equivalents relative to the compound of formula (I). In some embodiments, the additive is present in an amount of about 1.5 molar equivalents to about 2.5 molar equivalents relative to the compound of formula (I). In some embodiments, the additive is present in an amount of about 1.8 molar equivalents relative to the compound of formula (I).

[0260] The ninth Lewis acid, the additive, and the compound of formula (I) can be combined in any suitable order. For example, the ninth Lewis acid and the additive can be directly combined with the compound of formula (I), or combined before combining with the compound of formula (I). Alternatively, one of the ninth Lewis acid and the additive can be combined with the compound of formula (I), and then the other can be combined. In some embodiments, the method also includes combining the ninth Lewis acid and the additive before combining with the compound of formula (I).

[0261] The method for preparing the compound of formula (VII) can be carried out at any suitable temperature. For example, the merging of the ninth Lewis acid and the additive can be carried out at a temperature of about 0°C to about 50°C, or about 10°C to about 40°C, or about 10°C to about 30°C, such as at about 10°C, about 15°C, about 20°C, about 25°C, or about 30°C. In some embodiments, the merging of the ninth Lewis acid and the additive is carried out at a temperature of about 0°C to about 40°C. In some embodiments, the merging of the ninth Lewis acid and the additive is carried out at a temperature of about 10°C to about 30°C.

[0262] The ninth Lewis acid can exist in any suitable amount. For example, the ninth Lewis acid can exist in at least 1 molar equivalent such as about 2 molar equivalents, about 3 molar equivalents, about 4 molar equivalents, about 5 molar equivalents, about 6 molar equivalents, about 7 molar equivalents, about 8 molar equivalents, about 9 molar equivalents or about 10 molar equivalents relative to the compound of formula (I). In some embodiments, the method includes the compound of formula (I), the ninth Lewis acid boron trichloride (BCl3) of the amount of about 3.0 molar equivalents to about 4.0 molar equivalents relative to the compound of formula (I) and the additive trimethyl borate (B(OMe)3) of about 1.5 molar equivalents to about 2.5 molar equivalents relative to the compound of formula (I) in the ninth reactor. In some embodiments, the method includes combining in a ninth reactor a compound of formula (I), a ninth Lewis acid boron trichloride (BCl3) in an amount of about 3.6 molar equivalents relative to the compound of formula (I), and an additive trimethyl borate (B(OMe)3) in an amount of about 1.8 molar equivalents relative to the compound of formula (I).

[0263] The method for preparing the compound of formula (VII) can be carried out at any suitable temperature. For example, the ninth reactor can be maintained at a temperature of about -20°C to about 40°C, or about -10°C to about 30°C, or about 0°C to about 30°C, such as at about 0°C, about 5°C, about 10°C, about 15°C, or about 20°C. In some embodiments, the ninth reactor is maintained at a temperature of about -20°C to about 40°C. In some embodiments, the ninth reactor is maintained at a temperature of about 20°C.

[0264] In some embodiments, the method further comprises combining the ninth output mixture with a ninth protic solvent selected from the group consisting of water, methanol, ethanol, n-propanol, isopropanol, n-butanol, tert-butanol, and combinations thereof. In some embodiments, the ninth protic solvent is methanol.

[0265] In some embodiments, the method further comprises combining the ninth output mixture with a ninth base. In some embodiments, the ninth base is potassium carbonate.

[0266] 3. Lewis acid method

[0267] In some embodiments, the present disclosure provides a method for preparing a compound of formula (VII) or a salt thereof:

[0268]

[0269] The method comprises treating a compound of formula (I):

[0270] and

[0271] The tenth Lewis acid is combined in the tenth reactor to provide a tenth output mixture comprising the compound of formula (VII) or a salt thereof, wherein the tenth Lewis acid is selected from the group consisting of aluminum trichloride (AlCl3), aluminum tribromide (AlBr3), titanium (IV) chloride (TiCl4) and tin (IV) chloride (SnCl4).

[0272] In some embodiments, the method further comprises a tenth solvent selected from the group consisting of: dichloromethane, anisole, toluene, chlorobenzene, nitrobenzene, trifluorotoluene, tetrahydrofuran (THF), acetone, isopropyl acetate (iPrOAc), acetonitrile, acetic acid, and combinations thereof. In some embodiments, the tenth solvent is dichloromethane, anisole, or a combination thereof.

[0273] In some embodiments, the tenth Lewis acid is aluminum trichloride (AlCl 3 ).

[0274] In some embodiments, the method further includes a tenth additive selected from the group consisting of tetrabutylammonium chloride, tetrabutylammonium bisulfite, lithium chloride, magnesium chloride, and combinations thereof.

[0275] In some embodiments, the method further comprises combining the tenth Lewis acid and the tenth solvent prior to combining with the compound of Formula (I).

[0276] The tenth Lewis acid can exist in any suitable amount.For example, the tenth Lewis acid can exist in the amount of at least 1 molar equivalent such as about 2 molar equivalents, about 3 molar equivalents, about 4 molar equivalents, about 5 molar equivalents, about 6 molar equivalents, about 7 molar equivalents, about 8 molar equivalents, about 9 molar equivalents or about 10 molar equivalents relative to the compound of formula (I).In some embodiments, the method also includes the compound of formula (I) and the tenth Lewis acid aluminum chloride (AlCl3) of the amount of about 3.0 molar equivalents to about 5.0 molar equivalents relative to the compound of formula (I) merging in the tenth reactor.In some embodiments, the method also includes the compound of formula (I) and the tenth Lewis acid aluminum chloride (AlCl3) of the amount of about 4.0 molar equivalents relative to the compound of formula (I) merging in the tenth reactor.

[0277] The method for preparing the compound of formula (VII) can be carried out at any suitable temperature. For example, the tenth reactor can be maintained at a temperature of about 0°C to about 150°C, or about 0°C to about 100°C, or about 0°C to about 50°C, such as at about 10°C, about 15°C, about 20°C, about 25°C, or about 30°C. In some embodiments, the tenth reactor is maintained at a temperature of about 0°C to about 150°C. In some embodiments, the tenth reactor is maintained at a temperature of about 20°C.

[0278] In some embodiments, the method further comprises combining the tenth output mixture with a tenth protic solvent selected from the group consisting of water, methanol, ethanol, n-propanol, isopropanol, n-butanol, tert-butanol, and combinations thereof. In some embodiments, the tenth protic solvent is methanol.

[0279] In some embodiments, the method further comprises combining the tenth output mixture with a tenth base. In some embodiments, the tenth base is potassium carbonate.

[0280] In some embodiments, any of the above methods further comprises isolating the compound of formula (VII) or a salt thereof.

[0281] The method of the present disclosure is applicable to the compound of formula (VII) synthesized by the compound of formula (I) in grams to kilograms. In some embodiments, the method includes at least 50g, 100g, 200g, 300g, 400g, 500g, 600g, 700g, 800g, 900g, 1kg, 2kg, 3kg, 4kg, 5kg, 10kg, 20kg, 30kg, 40kg, 50kg, 100kg, 200kg, 500kg or at least 1000kg or more of the compound of formula (I). In some embodiments, the method includes at least 1kg of the compound of formula (I). In some embodiments, the method includes about 50g to about 100kg, for example, about 50g to about 20kg or about 30g to about 20kg of the compound of formula (I). In some embodiments, the method includes about 5kg to about 15kg of the compound of formula (I). For example, in some embodiments, the method includes about 10kg of the compound of formula (I).

[0282] The disclosed method can provide the compound of formula (VII) in any suitable yield. For example, the compound of formula (VII) can be prepared with a yield of at least 50%, 55%, 60%, 65%, 70%, 75%, 80%, 85%, 90%, 95%, 97%, 98% or at least 99%. In some embodiments, the yield of the compound of formula (VII) is about 50% to about 100%. In some embodiments, the yield of the compound of formula (VII) is about 50% to about 90%. In some embodiments, the yield of the compound of formula (VII) is about 50% to about 80%. In some embodiments, the yield of the compound of formula (VII) is about 60% to about 100%. In some embodiments, the yield of the compound of formula (VII) is about 60% to about 90%. In some embodiments, the yield of the compound of formula (VII) is about 70% to about 80% or about 75% to about 85%. In some embodiments, the yield of the compound of formula (VII) is about 70% to about 95%. In some embodiments, the yield of the compound of formula (VII) is about 70% to about 90%. In some embodiments, the yield of the compound of formula (VII) is about 75% to about 90%. In some embodiments, the yield of the compound of formula (VII) is about 75% to about 95%. In some embodiments, the yield of the compound of formula (VII) is about 80% to about 95%. In some embodiments, the yield of the compound of formula (VII) is about 80% to about 90%. In some embodiments, the yield of the compound of formula (VII) is about 60%, about 70%, about 72%, about 74%, about 75%, about 76%, about 78%, about 80%, about 82%, about 84%, about 85%, about 86%, about 88%, about 90%, about 95%, about 97%, about 98% or about 99%. In some embodiments, the yield of the compound of formula (VII) is about 78%. In some embodiments, the yield of the compound of formula (VII) is about 70% to about 80%. In some embodiments, the yield of the compound of Formula (VII) is from about 70% to about 90%.

[0283] The disclosed method can provide the compound of formula (VII) with any suitable purity. For example, the compound of formula (VII) can be prepared with a purity of about 90% to about 100%, such as about 95% to about 100% or about 98% to about 100%. In some embodiments, the purity of the compound of formula (VII) is about 98% to about 100%. In some embodiments, the compound of formula (VII) is prepared with a purity of about 90%, about 95%, about 96%, about 97%, about 98%, about 99%, about 99.9%, about 99.99%, about 99.999%, about 99.9999% or about 99.99999%. In some embodiments, the compound of formula (VII) is prepared with a purity of about 99.9%. In some embodiments, the compound of Formula (VII) is prepared in a purity of about 95% to about 99.999%, about 98% to about 99.999%, about 98% to about 99.99%, or about 99% to about 99.99%.

[0284] In some embodiments, the method of preparing a compound of Formula (VII) further comprises preparing a compound of Formula (I) by any of the methods described herein.

[0285] D. Formula (VIII) from formula (VII)

[0286] Also provided herein is a method for preparing a compound of formula (VIII), namely (3aR,4R,6R,6aR)-4-(4-aminopyrrolo[2,1-f][1,2,4]triazin-7-yl)-6-(hydroxymethyl)-2,2-dimethyltetrahydrofuro[3,4-d][1,3]dioxole-4-carbonitrile:

[0287]

[0288] In some embodiments, the present disclosure provides a method for preparing a compound of formula (VIII) or a pharmaceutically acceptable salt thereof:

[0289]

[0290] include:

[0291] (a) adding an eleventh input mixture to an eleventh reactor, wherein the eleventh input mixture comprises an eleventh acid HX, an eleventh protecting agent, an eleventh solvent and a compound of formula (VII):

[0292]

[0293] wherein the eleventh reactor provides an eleventh output mixture comprising an acid salt of formula (VIII-a):

[0294]

[0295] wherein the eleventh acid HX is sulfuric acid, hydrochloric acid, phosphoric acid, benzoic acid, oxalic acid, methanesulfonic acid, benzenesulfonic acid, camphorsulfonic acid, naphthalenesulfonic acid, 1-hydroxy-2-naphthoic acid, 1,5-naphthalenedisulfonic acid, maleic acid, ethanesulfonic acid, p-toluenesulfonic acid or oxalic acid; the eleventh protecting agent is acetone, 2-methoxypropylene or 2,2-dimethoxypropane; and

[0296] The eleventh solvent is dichloromethane, methyl acetate, ethyl acetate, isopropyl acetate, tetrahydrofuran, 2-methyltetrahydrofuran, or acetonitrile, or a combination thereof; and

[0297] (b) adding a twelfth input mixture to a twelfth reactor, wherein the twelfth input mixture comprises the eleventh output mixture, a twelfth base and a twelfth solvent; wherein the twelfth reactor provides a twelfth output mixture comprising the compound of formula (VIII-a); the twelfth base is sodium bicarbonate, sodium carbonate, potassium bicarbonate, potassium carbonate, sodium acetate, potassium acetate, calcium acetate or calcium hydroxide; and the twelfth solvent is methanol, ethanol, isopropanol, or water, or a combination thereof.

[0298] In some embodiments, the eleventh acid HX is sulfuric acid.

[0299] In some embodiments, the eleventh protecting agent is 2,2-dimethoxypropane.

[0300] In some embodiments, the eleventh solvent is isopropyl acetate.

[0301] In some embodiments, the eleventh acid HX is sulfuric acid; the eleventh protecting agent is 2,2-dimethoxypropane; and the eleventh solvent is isopropyl acetate.

[0302] In some embodiments, the twelfth base is potassium acetate.

[0303] In some embodiments, the twelfth solvent is methanol.

[0304] In some embodiments, the twelfth base is potassium acetate; and the twelfth solvent is methanol.

[0305] The method for preparing the compound of formula (VIII) can be carried out at any suitable temperature. For example, the eleventh reactor can be maintained at a temperature of about 0°C to about 60°C, or about 10°C to about 50°C, or about 20°C to about 40°C, such as at about 20°C, about 25°C, about 30°C, about 35°C, or about 40°C. In some embodiments, the eleventh reactor is maintained at a temperature of about 0°C to about 60°C. In some embodiments, the eleventh reactor is maintained at a temperature of about 20°C to about 40°C.

[0306] The method of the present disclosure is applicable to the compound of formula (VIII) synthesized by the compound of formula (VII) in grams to kilograms. In some embodiments, the eleventh input mixture comprises at least 50g, 100g, 200g, 300g, 400g, 500g, 600g, 700g, 800g, 900g, 1kg, 2kg, 3kg, 4kg, 5kg, 10kg, 20kg, 30kg, 40kg, 50kg, 100kg, 200kg, 500kg or at least 1000kg or more of the compound of formula (VII). In some embodiments, the eleventh input mixture comprises at least 1kg of the compound of formula (VII). In some embodiments, the eleventh input mixture comprises about 50g to about 100kg, for example, about 50g to about 20kg, or about 30g to about 20kg of the compound of formula (VII). In some embodiments, the eleventh input mixture comprises about 5kg to about 15kg of the compound of formula (VII). For example, in some embodiments, the eleventh input mixture comprises about 10 kg of the compound of Formula (VII).

[0307] The disclosed method can provide the compound of formula (VIII) in any suitable yield. For example, the compound of formula (VIII) can be prepared in a yield of at least 50%, 55%, 60%, 65%, 70%, 75%, 80%, 85%, 90%, 95%, 97%, 98% or at least 99%. In some embodiments, the yield of the compound of formula (VIII) is about 60% to about 100%. In some embodiments, the yield of the compound of formula (VIII) is about 60% to about 90%. In some embodiments, the yield of the compound of formula (VIII) is about 70% to about 80% or about 75% to about 85%. In some embodiments, the yield of the compound of formula (VIII) is about 70% to about 95%. In some embodiments, the yield of the compound of formula (VIII) is about 70% to about 90%. In some embodiments, the yield of the compound of formula (VIII) is about 75% to about 90%. In some embodiments, the yield of the compound of formula (VIII) is about 75% to about 95%. In some embodiments, the yield of the compound of formula (VIII) is about 80% to about 95%. In some embodiments, the yield of the compound of formula (VIII) is about 80% to about 90%. In some embodiments, the yield of the compound of formula (VIII) is about 60%, about 70%, about 72%, about 74%, about 75%, about 76%, about 78%, about 80%, about 82%, about 84%, about 85%, about 86%, about 88%, about 90%, about 95%, about 97%, about 98% or about 99%. In some embodiments, the yield of the compound of formula (VIII) is about 78%. In some embodiments, the yield of the compound of formula (VIII) is about 70% to about 80%. In some embodiments, the yield of the compound of formula (VIII) is about 70% to about 90%.

[0308] The disclosed method can provide the compound of formula (VIII) with any suitable purity. For example, the compound of formula (VIII) can be prepared with a purity of about 90% to about 100%, such as about 95% to about 100% or about 98% to about 100%. In some embodiments, the purity of the compound of formula (VIII) is about 98% to about 100%. In some embodiments, the compound of formula (VIII) is prepared with a purity of about 90%, about 95%, about 96%, about 97%, about 98%, about 99%, about 99.9%, about 99.99%, about 99.999%, about 99.9999% or about 99.99999%. In some embodiments, the compound of formula (VIII) is prepared with a purity of about 99.9%. In some embodiments, the compound of Formula (VIII) is prepared in a purity of about 95% to about 99.999%, about 98% to about 99.999%, about 98% to about 99.99%, or about 99% to about 99.99%.

[0309] In some embodiments, the method of preparing a compound of Formula (VIII) further comprises preparing a compound of Formula (VII) by any method described herein.

[0310] E. Formula (X) from formula (VIII)

[0311] Also provided herein is a method for preparing a compound of formula (X), i.e., ((S)-(((3aR,4R,6R,6aR)-6-(4-aminopyrrolo[2,1-f][1,2,4]triazin-7-yl)-6-cyano-2,2-dimethyltetrahydrofuro[3,4-d][1,3]dioxol-4-yl)methoxy)(phenoxy)phosphoryl)-L-alanine 2-ethylbutyl ester:

[0312]

[0313] In some embodiments, the present disclosure provides a method for preparing a compound of formula (X):

[0314]

[0315] comprising adding a thirteenth input mixture to a thirteenth reactor, wherein the thirteenth input mixture comprises a compound of formula (VIII):

[0316]

[0317] or a pharmaceutically acceptable salt thereof, magnesium chloride, diisopropylethylamine, a thirteenth solvent and a compound of formula (IX):

[0318]

[0319] The thirteenth reactor provides a thirteenth output mixture comprising a compound of formula (X); and the thirteenth solvent is dichloromethane, tetrahydrofuran, or 2-methyltetrahydrofuran, or a combination thereof.

[0320] In some embodiments, the thirteenth solvent is tetrahydrofuran.

[0321] The method for preparing the compound of formula (X) can be carried out at any suitable temperature. For example, the thirteenth reactor can be maintained at a temperature of about 0°C to about 50°C, or about 10°C to about 40°C, or about 10°C to about 30°C, such as at about 10°C, about 15°C, about 20°C, about 25°C, or about 30°C. In some embodiments, the thirteenth reactor is maintained at a temperature of about 10°C to about 30°C.

[0322] The method of the present disclosure is applicable to the compound of formula (X) synthesized by the compound of formula (VIII) in grams to kilograms. In some embodiments, the method includes at least 50g, 100g, 200g, 300g, 400g, 500g, 600g, 700g, 800g, 900g, 1kg, 2kg, 3kg, 4kg, 5kg, 10kg, 20kg, 30kg, 40kg, 50kg, 100kg, 200kg, 500kg or at least 1000kg or more of the compound of formula (VIII). In some embodiments, the method includes at least 1kg of the compound of formula (VIII). In some embodiments, the method includes about 50g to about 100kg, for example, about 50g to about 20kg or about 30g to about 20kg of the compound of formula (VIII). In some embodiments, the method includes about 5kg to about 15kg of the compound of formula (VIII). For example, in some embodiments, the method comprises about 10 kg of the compound of Formula (VIII).

[0323] The method of the present disclosure can provide the compound of formula (X) in any suitable yield. For example, the compound of formula (X) can be prepared in a yield of at least 50%, 55%, 60%, 65%, 70%, 75%, 80%, 85%, 90%, 95%, 97%, 98% or at least 99%. In some embodiments, the yield of the compound of formula (X) is about 60% to about 100%. In some embodiments, the yield of the compound of formula (X) is about 60% to about 90%. In some embodiments, the yield of the compound of formula (X) is about 70% to about 80% or about 75% to about 85%. In some embodiments, the yield of the compound of formula (X) is about 70% to about 95%. In some embodiments, the yield of the compound of formula (X) is about 70% to about 90%. In some embodiments, the yield of the compound of formula (X) is about 75% to about 90%. In some embodiments, the yield of the compound of formula (X) is about 75% to about 95%. In some embodiments, the yield of the compound of formula (X) is about 80% to about 95%. In some embodiments, the yield of the compound of formula (X) is about 80% to about 90%. In some embodiments, the yield of the compound of formula (X) is about 60%, about 70%, about 72%, about 74%, about 75%, about 76%, about 78%, about 80%, about 82%, about 84%, about 85%, about 86%, about 88%, about 90%, about 95%, about 97%, about 98% or about 99%. In some embodiments, the yield of the compound of formula (X) is about 78%. In some embodiments, the yield of the compound of formula (X) is about 70% to about 80%. In some embodiments, the yield of the compound of formula (X) is about 70% to about 90%.

[0324] The disclosed method can provide the compound of formula (X) with any suitable purity. For example, the compound of formula (X) can be prepared with a purity of about 90% to about 100%, such as about 95% to about 100% or about 98% to about 100%. In some embodiments, the purity of the compound of formula (X) is about 98% to about 100%. In some embodiments, the compound of formula (X) is prepared with a purity of about 90%, about 95%, about 96%, about 97%, about 98%, about 99%, about 99.9%, about 99.99%, about 99.999%, about 99.9999% or about 99.99999%. In some embodiments, the compound of formula (X) is prepared with a purity of about 99.9%. In some embodiments, the compound of Formula (X) is prepared in a purity of about 95% to about 99.999%, about 98% to about 99.999%, about 98% to about 99.99%, or about 99% to about 99.99%.

[0325] In some embodiments, the method of preparing a compound of Formula (X) further comprises preparing a compound of Formula (VIII) by any of the methods described herein.

[0326] IV. Examples

[0327] Example 1. Synthesis of the compound of formula (II-a)

[0328]

[0329] A cylindrical reactor equipped with a reprocessing curve overhead agitator, a thermocouple and a N2 bubbler was charged with anhydrous NdCl3 (60.00 g, 239 mol, 1.00 equiv), n-Bu4NCl (71.51 g, 239 mmol, 1.00 equiv) and THF (900 g). The resulting mixture was concentrated to about 450 mL at ambient pressure using a jacket temperature of 90°C under a N2 pad. THF (500 g) was charged and the distillation was repeated (twice). The mixture was cooled to 22°C and the compound of formula (III) (100.02 g, 239 mmol, 1.00 equiv) was charged. After 30 minutes, the mixture was cooled to -20°C and maintained. In a separate reaction flask, the compound of formula (IV) (68.52 g, 264 mmol, 1.10 equiv) and THF (601 g) were combined and cooled to 0°C. TMSCl (28.64 g, 264 mmol, 1.10 equiv) was added slowly, and after about 30 minutes, the mixture was cooled to 10 ° C. PhMgCl (2.0 M THF solution, 270.00 g, 5.18 mmol, 2.17 equiv) was added slowly, and the mixture was stirred for about 30 minutes and cooled to -20 ° C. i-PrMgCl (2.0 M THF solution, 131.13 g, 269 mmol, 1.13 equiv) was added slowly. After about 2 hours, the Grignard reaction mixture was transferred to the lactone / NdCl3 / nBu4NCl / THF mixture via a cannula, and the mixture was stirred at about -20 ° C. After about 16 hours, a solution of acetic acid (100 g) in water (440 g) was added and the mixture was warmed to 22 ° C. i-PrOAc (331 g) was added and the layers were separated. The organic layer was washed with 10% KHCO3 (aqueous solution) (2×500g) and 10% NaCl (aqueous solution) (500g). The organic layer was concentrated to about 450mL and i-PrOAc (870g) was loaded. The organic mixture was washed with water (2×500g) and concentrated to about 450mL. i-PrOAc (435g) was loaded and the mixture was concentrated to about 450mL. The mixture was filtered and the residue was rinsed with i-PrOAc (129g) in advance. The filtrate was concentrated to about 250mL and MTBE (549g) was loaded, and the mixture was adjusted to 22°C. Seed crystals (0.15g) were loaded, followed by n-heptane (230mL), and the mixture was cooled to 0°C. The solid was separated by filtration and rinsed with a mixture of MTBE (113g) and n-heptane (30g) in advance. The resulting solid was dried under vacuum at 35°C to afford the compound of formula (II-a) (79% yield and 99.92% purity).

[0330] Example 2. Alternative Synthesis of Compounds of Formula (II-a)

[0331]

[0332] Anhydrous NdCl3 (1.0 equivalent), n-Bu4NCl (1.0 equivalent) and THF (3.7 g / mmol) were loaded under an inert atmosphere. The resulting mixture was concentrated to about half volume at ambient pressure and elevated temperature. THF (1 volume) was loaded and distillation was repeated (twice). The mixture was cooled to room temperature and the compound of formula (III) (1.0 equivalent) was loaded. After 30 minutes, the mixture was cooled to -20°C and maintained. In a separate reaction flask, the compound of formula (IV) (1.1 equivalent) and THF (8.8 g / mmol) were combined and cooled to 0°C. TMSCl (1.1 equivalent) was slowly added, and after about 30 minutes, the mixture was cooled to -10°C. A THF solution of PhMgCl (2.17 equivalent) was slowly added, and the mixture was stirred for about 30 minutes and cooled to -20°C. A THF solution of i-PrMgCl (1.13 equivalent) was slowly added. After about 2 hours, the Grignard reaction mixture was transferred to the compound of formula III / NdCl3 / nBu4NCl / THF mixture via a cannula, and the mixture was stirred at about -20°C. After about 16 hours, a solution of acetic acid (0.4 g / mmol) in water (1.8 g / mmol) was added and the mixture was warmed to room temperature. i-PrOAc was added and the layers were separated. The organic layer was washed with 10% KHCO3 (aqueous solution) and 10% NaCl (aqueous solution). The organic layer was concentrated to about half volume and i-PrOAc was loaded. The organic mixture was washed twice with water and concentrated to about half volume. i-PrOAc was loaded and the mixture was concentrated to about half volume. The mixture was filtered and the residue was rinsed with i-PrOAc in advance. The filtrate was concentrated to about 1 / 4 volume, and MTBE was loaded and the mixture was adjusted to room temperature. Seed crystals were loaded, followed by n-heptane, and the mixture was cooled to 0°C. The solid was separated by filtration and rinsed with a mixture of MTBE and n-heptane in advance. The obtained solid was dried in vacuo to obtain the compound of formula (II-a).

[0333] Example 3. Synthesis of the compound of formula (II-a) using tetrabutylammonium bromide

[0334]

[0335] Anhydrous NdCl3 (169 kg, 674 mol, 1.00 equiv), n-Bu4NBr (217 kg, 673 mol, 1.00 equiv) and THF (2865 L) were charged into the reactor. The resulting mixture was concentrated to about 1270 L at ambient pressure under a N2 pad with a jacket temperature of about 90°C. THF (2865 L) was charged and the distillation was repeated. The mixture was cooled to about 22°C and the compound of formula (III) (282 kg, 674 mol, 1.00 equiv) was charged. After about 30 minutes, the mixture was cooled to about -20°C and held. In a separate reactor, the compound of formula (IV) (195 kg, 750 mol, 1.11 equiv) and THF (1432 L) were combined and cooled to about 0°C. TMSCl (81.8 kg, 753 mol, 1.12 eq) was slowly added, and after about 30 minutes, the mixture was cooled to about -10 ° C. PhMgCl (2.0 M solution in THF, 761 kg, 1463 mol, 2.17 eq) was slowly added, and the mixture was stirred for about 30 minutes and cooled to about -20 ° C. i-PrMgCl (2.0 M solution in THF, 372 kg, 763 mol, 1.13 eq) was slowly added. After about 4 hours, the Grignard reaction mixture was transferred to a mixture of compound of formula (III) / NdCl3 / n-Bu4NBr / THF, and the mixture was stirred at about -20 ° C. After about 9 hours, a solution of acetic acid (282 kg) in water (1100 L) was added and the mixture was warmed to about 22 ° C. i-PrOAc (931 kg) was added and the layers were separated. The organic layer was washed with 10% KHCO3 (aq) (2 x 1322 L) and NaCl (141 kg) in water (1269 L) in turn. The organic layer was concentrated to about 1270 L and i-PrOAc (2453 kg) was charged. The organic mixture was washed with water (1410 L), filtered and the layers were separated. The organic layer was washed with water (1410 L) and concentrated to about 1270 L. i-PrOAc (2453 kg) was charged and the mixture was concentrated to about 1270 L. The mixture was filtered and the residue was rinsed with i-PrOAc (367 kg) in advance. The filtrate was concentrated to about 845 L and MTBE (1551 kg) was charged, and the mixture was adjusted to about 22° C. Seed crystals (0.28 kg) were charged, followed by n-heptane (451 kg), and the mixture was cooled to 0° C. The solid was separated by filtration and rinsed with a mixture of MTBE (310 kg) and n-heptane (85 kg) in advance. The obtained solid was dried under vacuum at about 35° C. to give the compound of formula (II-a) (86% yield and 98.23% purity).

[0336] Example 4. Synthesis of the compound of formula (II-a) using cerium chloride

[0337]

[0338] A cylindrical reactor equipped with a reprocessing curve overhead agitator, a thermocouple and a N2 bubbler was charged with anhydrous CeCl3 (12.03 g, 48.8 mol, 1.02 equiv), n-Bu4NBr (15.40 g, 47.8 mmol, 1.00 equiv) and THF (180 g). The resulting mixture was concentrated to about 90 mL under a N2 pad with a jacket temperature of about 90°C at ambient pressure. THF (180 g) was charged and the distillation was repeated. The mixture was cooled to about 22°C and the compound of formula (III) (20.03 g, 47.9 mmol, 1.00 equiv) was charged. After about 30 minutes, the mixture was cooled to about -20°C and maintained. In a separate reaction flask, the compound of formula (IV) (13.82 g, 53.2 mol, 1.11 equiv) and THF (90 g) were combined and cooled to about 0°C. TMSCl (5.80 g, 53.4 mmol, 1.12 eq) was slowly added, and after about 30 minutes, the mixture was cooled to about -10°C. PhMgCl (2.0 M in THF, 54.26 g, 104 mmol, 2.18 eq) was slowly added, and the mixture was stirred for about 30 minutes and cooled to about -20°C. i-PrMgCl (2.0 M in THF, 26.58 g, 55.0 mol, 1.10 eq) was slowly added. After about 1 hour, the Grignard reaction mixture was transferred to a mixture of compound of formula (III) / CeCl3 / n-Bu4NBr / THF, and the mixture was stirred at about -20°C. After about 15 hours, a solution of acetic acid (20.40 g) in water (88 g) was added and the mixture was warmed to about 22°C. i-PrOAc (66 g) was added, the mixture was filtered through a pad of diatomaceous earth, and the pad was rinsed with i-PrOAc (28 g). The layers of the biphasic filtrate were separated, and the organic layer was washed with 10% KHCO (aqueous solution) (2×100 g) and 10% NaCl (aqueous solution) (101 g) in sequence. The organic layer was concentrated to about 60 mL and i-PrOAc (175 g) and water (100 g) were loaded. The mixture was filtered through a pad of diatomaceous earth, and the pad was rinsed with i-PrOAc (26 g). The layers of the biphasic filtrate were separated and the organic layer was washed with water (100 g). The organic layer was concentrated to about 90 mL, and i-PrOAc (175 g) was loaded. The mixture was concentrated to about 90 mL and the concentrated mixture was filtered, and the residue was rinsed with i-PrOAc (28 g) in advance. The filtrate was concentrated to about 60 mL, MTBE (110 g) was loaded, and the mixture was adjusted to about 22° C. Seed crystals (0.022 g) were charged, followed by n-heptane (33 g), and the mixture was cooled to 0° C. The solid was isolated by filtration and rinsed beforehand with a mixture of MTBE (22 g) and n-heptane (6 g).The resulting solid was dried under vacuum at about 35°C to afford the compound of formula (II-a) (69% yield and 97.08% purity).

[0339] Example 5. Synthesis of the compound of formula (II-a) using neodymium chloride-tetrahydrofuran solvate

[0340]

[0341] A cylindrical reactor equipped with a reprocessing curve overhead stirrer, a thermocouple and a N2 bubbler was charged with NdCl3·6H2O (8.74 g, 24.3 mmol, 1.02 equiv) and THF (35 g). Thionyl chloride (23.3 g, 196 mmol, 8.17 equiv) was slowly added and the mixture was stirred for about 1 hour. A mixture of anhydrous NdCl3 (0.11 g) in THF (1 g) was added and the mixture was stirred for about 4 hours. The mixture was filtered and solid NdCl3·THF was combined with n-Bu4NBr (7.70 g, 239 mmol, 1.00 equiv) and THF (91 g) in a cylindrical reactor. The resulting mixture was concentrated to about 45 mL at ambient pressure under a N2 pad with a jacket temperature of about 90°C. THF (91 g) was charged and the distillation was repeated. The mixture was cooled to about 22°C and charged with a compound of formula (III) (10.0 g, 23.9 mmol, 1.00 equiv). After about 30 minutes, the mixture was cooled to about -20°C and maintained. In a separate reactor, a compound of formula (IV) (6.91 g, 26.6 mmol, 1.11 equiv) and THF (45 g) were combined and cooled to about 0°C. TMSCl (2.91 g, 26.8 mmol, 1.12 equiv) was slowly added, and after about 30 minutes, the mixture was cooled to about -10°C. PhMgCl (2.0 M solution in THF, 27.0 g, 52.0 mmol, 2.17 equiv) was slowly added, and the mixture was stirred for about 30 minutes and cooled to about -20°C. i-PrMgCl (2.0 M solution in THF, 13.5 g, 27.6 mmol, 1.15 equiv) was slowly added. After about 3 hours, the Grignard reaction mixture was transferred to a mixture of a compound of formula (III) / NdCl3.THF / n-Bu4NBr / THF, and the mixture was stirred at about -20°C. After about 17 hours, a solution of acetic acid (10.7 g) in water (45 g) was added and the mixture was warmed to about 22°C. i-PrOAc (33 g) was added and the layers were separated. The organic layer was washed with 10% KHCO3 (aqueous solution) (2×51 g) and 10% NaCl (aqueous solution) (50 g) in sequence. i-PrOAc (88 g) was charged and the organic layer was concentrated to about 45 mL. i-PrOAc (87 g) and water (50 g) were charged and the mixture was filtered through a diatomaceous earth pad. The pad was rinsed with i-PrOAc (13 g) and the layers of the biphasic filtrate were separated. The organic layer was washed with water (50 g) and concentrated to about 45 mL. i-PrOAc (87 g) was charged and the mixture was concentrated to about 30 mL. MTBE (55 g) was charged followed by seed crystals (0.01 g). n-Heptane (16 g) was charged and the mixture was cooled to 0° C. The mixture was filtered and the solid was rinsed with a mixture of MTBE (12 g) and n-heptane (3 g).The resulting solid was dried under vacuum at about 35°C to afford the compound of formula (II-a) (43% yield and 98.53% purity).

[0342] Example 6. Synthesis of the compound of formula (II-a) using neodymium chloride hydrate

[0343]

[0344] A cylindrical reactor equipped with a reprocessing curve overhead stirrer, a thermocouple and a N2 bubbler was charged with NdCl3.6H2O (17.2 g, 48.1 mmol, 1.17 equiv), THF (180 g) and trimethyl orthoformate (30.7 g, 189 mmol, 7.07 equiv) and the mixture was stirred at about 22°C for about 2 hours. n-Bu4NBr (15.4 g, 47.8 mmol, 1.17 equiv) was charged and the mixture was concentrated to about 90 mL at ambient pressure under a pad of N2 with a jacket temperature of about 90°C. The sequence of adding THF (180 g) followed by concentration to about 90 mL at ambient pressure under a pad of N2 was performed three times. The mixture was cooled to about 22°C and charged with the compound of formula (III) (17.1 g, 40.9 mmol, 1.00 equiv). After about 30 minutes, the mixture was cooled to about -20 ° C and maintained. In a separate reactor, the compound of formula (IV) (11.8 g, 45.4 mmol, 1.11 equiv) and THF (77 g) were combined and cooled to about 0 ° C. TMSCl (4.97 g, 45.7 mmol, 1.12 equiv) was slowly added, and after about 30 minutes, the mixture was cooled to about -10 ° C. PhMgCl (2.0 M solution in THF, 46.5 g, 91.2 mmol, 2.23 equiv) was slowly added, and the mixture was stirred for about 30 minutes and cooled to about -20 ° C. i-PrMgCl (2.0 M solution in THF, 22.7 g, 46.5 mmol, 1.14 equiv) was slowly added. After about 4 hours, the Grignard reaction mixture was transferred to a compound of formula (III) / NdCl3 / n-Bu4NBr / THF mixture, and the mixture was stirred at about -20°C. After about 20 hours, a solution of acetic acid (17.1 g) in water (76 g) was added, and the mixture was warmed to about 22°C. Water (8 g) and i-PrOAc (56 g) were added and the layers were separated. The organic layer was washed with 10% KHCO3 (aqueous solution) (2×86 g) and 10% NaCl (aqueous solution) (86 g) in sequence. The organic layer was concentrated to about 90 mL and i-PrOAc (149 g) was loaded. Water (86 g) was loaded and the mixture was filtered through a diatomaceous earth pad. The pad was rinsed with i-PrOAc (22 g) and the layers of the biphasic filtrate were separated. The organic layer was washed with water (86 g) and concentrated to about 90 mL. i-PrOAc (149 g) was charged and the mixture was concentrated to about 90 mL. The mixture was filtered and the residue was rinsed with i-PrOAc (22 g) in advance. The filtrate was concentrated to about 60 mL and MTBE (94 g) was charged, and the mixture was adjusted to about 22 ° C. Seed crystals (0.02 g) were charged, followed by n-heptane (28 g), and the mixture was cooled to 0 ° C. The solid was separated by filtration and rinsed with a mixture of MTBE (19 g) and n-heptane (5 g) in advance.The resulting solid was dried under vacuum at about 35°C to afford the compound of formula (II-a) (65% yield and 86.16% purity).

[0345] Example 7. Flow Reactor Synthesis of Compounds of Formula (I)

[0346]

[0347] The reactor was charged with potassium hydroxide (19.7 eq.) and water (8 volumes). In separate reactors or feed containers, a stock solution of the compound of formula (II-a) (250 kg, 1.0 eq., scale factor) in dichloromethane (15.0 volumes) (feed 1), a stock solution of TMSOTf (6.0 eq.) and TFA (1.0 eq.) in dichloromethane (4.4 volumes) (feed 2), and a stock solution of TMSCN (6.0 eq.) in dichloromethane (4.5 volumes) (feed 3) were prepared ( Figure 1 ). Feed 1 was pumped through a precooling loop at about -30°C at a flow rate of about 504 mL / min, and feed 2 was pumped at a flow rate of about 207 mL / min. Feeds 1 and 2 were combined in reaction loop #1 at about -30°C for about 30 seconds. The effluent was then combined with feed 3 (pumped through a precooling loop at about -30°C at about 189 mL / min) in reaction loop #2 at about -30°C for about 2 minutes. The effluent of the combined feeds was collected directly into a container containing an aqueous potassium hydroxide solution at about -10°C. The mixture was adjusted to about 22°C, then 2-propanol was charged and the layers were separated. The organic layer was washed twice with an aqueous sodium chloride solution and concentrated. The resulting solution was filtered. Toluene was charged into the filtrate and the mixture was concentrated. The mixture was heated to about 55°C and then cooled to about 0°C. The resulting slurry was filtered, rinsed with toluene and dried at about 60°C to give the compound of formula (I) in 78% yield and 99.9% purity. 1 H-NMR (400MHz, DMSO-d6): δ7.99–7.82(m,3H),7.37–7.23(m,15H),6.88(d,J =4.5Hz,1H),6.76(d,J=4.5Hz,1H),4.91(d,J=5.0Hz,1H),4.85(d,J=11.7Hz ,1H),4.77(d,J=11.7Hz,1H),4.60–4.45(m,4H),4.40(q,J=4.6Hz,1H),4.12 (t,J=5.4Hz,1H),3.69(dd,J=11.1,3.7Hz,1H),3.59(dd,J=11.1,4.7Hz,1H); 13C-NMR (100MHz, DMSO-d6): δ155.54,147.86,138.08,137.94,137.32,128.17,128.14,128.11,127.93,127.72,127.52, 127.40,122.63,116.78,116.73,110.48,100.81,81.90,79.25,77.61,76.26,72.30,72.27,71.45,68.79; HRMS(m / z): C 33 H 31 The calculated value of [M]+ of N5O4 is 561.2376; the measured value is 561.2394.

[0348] Example 8. Alternative Synthesis of Compounds of Formula (I)

[0349]

[0350] The reactor was charged with potassium hydroxide (19.7 eq.) and water (8 volumes). In separate reactors or feed containers, a stock solution of the compound of formula (II-a) (1.0 eq., scale factor) in dichloromethane (15.0 volumes) (feed 1), a stock solution of TMSOTf (6.0 eq.) and TFA (1.0 eq.) in dichloromethane (4.4 volumes) (feed 2), and a stock solution of TMSCN (6.0 eq.) in dichloromethane (4.5 volumes) (feed 3) were prepared ( Figure 1 ). Feed 1 is pumped through a precooling loop at about -30°C. Feeds 1 and 2 are combined in reaction loop #1 at about -30°C for about 30 seconds. The effluent is then combined with feed 3 (pumped through a precooling loop at about -30°C) in reaction loop #2 at about -30°C for about 2 minutes. The effluent of the combined feeds is collected directly into a container containing an aqueous potassium hydroxide solution at about -10°C. The mixture is adjusted to about 22°C, then charged with 2-propanol and the layers are separated. The organic layer is washed twice with an aqueous sodium chloride solution and concentrated. The resulting solution is filtered. Toluene is charged into the filtrate and the mixture is concentrated. The mixture is heated to about 55°C and then cooled to about 0°C. The resulting slurry is filtered, rinsed with toluene and dried at about 60°C to obtain a compound of formula (I).

[0351] Example 9. Comparative Synthesis of Compounds of Formula (I) without Bronsted Acid

[0352] Following the same conditions as described above in Example 8, but without the use of trifluoroacetic acid, the reaction of the compound of formula (II-a) on a 100-g scale afforded the compound of formula (I) in 68% isolated yield and 99.4% purity.

[0353] Example 10. Synthesis of the compound of formula (II-a) from formula (V)

[0354]

[0355] Reactor A was charged with a compound of formula (IV) (1.2 eq) and THF (6 volumes), and the reactor contents were cooled to about 0° C. Trimethylsilyl chloride (1.2 eq) was added to the reaction mixture, and the reaction was then cooled to about -10° C. A solution of phenylmagnesium chloride in THF (2.4 eq) was added to the mixture, and stirring was continued at about -10° C. The resulting reaction mixture was further cooled to about -20° C. and a solution of isopropylmagnesium chloride in THF (1.0 eq) was added.

[0356] Reactor B was charged with 2,3,5-tri-O-benzyl-D-ribofuranose (Formula (V), 1.0 equivalents, scale factor) and THF (6 volumes), and the reactor contents were cooled to about -20°C. A solution of isopropylmagnesium chloride in THF (1.1 equivalents) was added to reactor B. The Grignard reagent generated in reactor A was transferred to reactor B at about -20°C. The reactor and transfer line were flushed with THF (7 volumes) in advance. The reaction mixture was warmed to ambient temperature and the reaction mixture was aged for about 17 hours. The reaction mixture was then cooled to about 0°C and quenched with glacial acetic acid (7.0 equivalents) and water (4 volumes). The resulting mixture was extracted with isopropyl acetate (4 volumes). The organic layer was washed twice with 10% w / w potassium bicarbonate solution (5 volumes each) and finally with 10% w / w brine solution (5 volumes). The organic layer was then concentrated to dryness and co-evaporated once with isopropyl acetate (10 volumes) to give the compound of formula (VI). Characterization data for the major diastereomers are provided: 1H NMR (400MHz, CD3OD) δ7.67(s,1H,Ar-H),7.38–7.01(m,15H,Ar-H),6.89(d,J=4.4Hz,1H,Ar-H),6.75(d,J=4.4Hz ,1H,Ar-H),5.55(d,J=4.0Hz,1H,H-1),4.62(d,J=11.3Hz,1H,Ph-CH2-),4.53(d,J=11.3Hz,1H,Ph-CH2-),4.50–4 .35 (m, 3H, Ph-CH2-), 4.29 (dd, J = 4.3 and 4.3 Hz, 1H, H-2), 4.14 (d, J = 11.2 Hz, 1H, Ph-CH2-), 4.09 (ddd, J = 3.4 and 5.6 Hz, 1H, H-4), 3.73 (dd, J = 5.0 and 5.2 Hz, 1H, H-3), 3.67 (dd, J = 3.3 and 10.0 Hz, 1H, H-5a), 3.57 (dd, J = 5.8 and 9.9 Hz, 1H, H-5b). 13 C NMR (100 MHz, CD3OD) δ 155.7, 146.5, 138.3, 138.0, 131.7, 127.92, 127.90, 127.86, 127.77, 127.59, 127.55, 127.21, 127.19, 127.10, 114.1, 109.8, 101.5, 80.1, 79.2, 73.4, 72.9, 72.8, 71.2, 70.3, 66.8. LC-MS analysis of the crude material: m / z = 555.5 [M+1].

[0357] The reactor is charged with a compound of formula (VI) (1.0 equivalent, scale factor), acetonitrile (52 volumes) and potassium dihydrogen phosphate (7.0 equivalents). Iodobenzene diacetate (3.5 equivalents) and (2,2,6,6-tetramethylpiperidin-1-yl)oxy (TEMPO, 0.2 equivalents) are added to the reaction mixture at ambient temperature in one go, and stirring is continued for about 22 hours. The reaction mixture is quenched with 3% w / w sodium sulfite solution (28 volumes) and diluted with water (20 volumes) and isopropyl acetate (12 volumes). After stirring for about 10 minutes, the layers are separated. The organic layer is then concentrated to dryness, and the resulting residue is dissolved in isopropyl acetate (17 volumes) and washed with an aqueous NaCl solution (15 volumes). The organic layer is then concentrated to provide a compound of formula (II-a): 1HNMR(400MHz,DMSO-d6)δ8.10(s,2H,NH),7.98(s,1H,Ar-H),7.35-6.93(m,18H,Ar-H),5.37(d,1H,Ar -H),5.06(d,1H),4.58–4.44(m,6H,Ph-CH2-),4.00(s,1H),3.93(d,1H),3.69(dd,1H),3.47(dd,1H).

[0358] Example 11. Synthesis of the compound of formula (VII) using BCl3 / B(OMe)3

[0359]

[0360] Boron trichloride (1M in dichloromethane, 3.6 equivalents) was charged to the reactor and cooled to about 0°C. Trimethyl borate (1.8 equivalents) was slowly added to the boron trichloride solution while keeping the temperature below about 20°C. The solution was then warmed to about 20°C and stirred for about 1 hour. In a separate reactor, formula (I) (1.0 equivalents, scale factor) was added, followed by dichloromethane (4 volumes), and the mixture was cooled to about 0°C. The boron trichloride / trimethyl borate reagent and formula (I) solution were combined while keeping the temperature below 20°C. The boron trichloride / trimethyl borate reagent was rinsed with dichloromethane (1 volume) in advance, and the mixture was warmed to about 35°C for about 2 hours. In a separate reactor, methanol (7 volumes) was added and cooled to about -15°C. The reaction mixture and methanol solution were combined while keeping the temperature below about 25°C. The solution was warmed to about 20°C and stirred for about 12 hours. The slurry was filtered and the wet cake was rinsed with dichloromethane (2 volumes). The solid was transferred to a reactor with 20 wt% K2CO3 (0.8 equivalents) and the resulting slurry was agitated at about 20°C for about 1 hour. The slurry was filtered and the cake was rinsed with water (3 volumes) and methanol (1 volume) and then dried at about 60°C to obtain a compound of formula (VII). 1 H-NMR (400MHz, H2O-d2): δ8.10(s,1H),7.37(d,J=5.1Hz,1H),7.14(d,J=4.8Hz,1H),4.94(d,J=5.4Hz,1H),4.42(app q, J=4.2Hz, 1H), 4.35 (t, J=5.1Hz, 1H), 3.86 (dd, J=12.8, 3.2Hz, 1H), 3.79 (dd, J=12.8, 4.7Hz, 1H). 13C-NMR (100MHz, DMSO-d6): δ155.62,147.87,123.87,117.34,116.52,110.77,100.79,85.42,78.56,74.24,70.07,60.94. HRMS(m / z):C 12 H 13 N5O4[M] + The calculated value is 291.0968; the measured value is 291.0967.

[0361] As shown in Table 1 below, the present method can be compared with previously reported methods.

[0362] Table 1.

[0363] method condition Crude purity Separation yield Previous methods <![CDATA[BCl3, 0°C, 4 hours]]> 53% 18% Embodiment 11 <![CDATA[BCl3 / B(OMe)3, 20 °C, 18 h]]> 88% 69%

[0364] Example 12. Synthesis of the compound of formula (VII) using AlCl3

[0365]

[0366] Anisole (6 volumes) and dichloromethane (1 volume) were loaded into the first reactor and cooled to about 10°C. Aluminum chloride (4.0 equiv.) was added in batches, keeping the temperature at about 30°C. The contents were stirred for about 15 minutes. The compound of formula (I) (1 equiv.) was loaded in batches and rinsed with dichloromethane (0.5 volume) in advance. The contents were stirred at about 20°C for about 6 hours. In the second reactor, methanol (8 volumes) was added and cooled to about 0°C. The reaction mixture in the first reactor was cooled to about 0°C, followed by addition of methanol from the second reactor, keeping the temperature at about 20°C. The reaction mixture was recirculated between the two reactors until the solids dissolved. The solution was warmed to about 20°C and stirred for about 12 hours. The slurry was filtered and the wet cake was rinsed with MeOH (2 volumes). The solids were transferred to a reactor with 20 wt.% K2CO3 (0.8 equiv.), and the slurry was stirred at about 20°C for about 1 hour. The slurry was filtered and the filter cake was washed with water (3 volumes) and methanol (1 volume) and then dried at about 60°C to give the compound of formula (VII).

[0367] Example 13. Flow Reactor Synthesis of Compounds of Formula (VII)

[0368]

[0369] The reactor was charged with Formula (I) (1.0 equivalent, scale factor) and CH2Cl2 (4.5 volumes) to form a stock solution. The stock solution was then polish filtered and transferred to the fourth feed container (Feed 4, Figure 2210). Then BCl3 solution (1.0M CH2Cl2 solution) is loaded into the fifth feed container (feed 5, 220). Feed 4 is pumped through a precooling loop at about 0°C at a flow rate of about 12.8 mL / min, and feed 5 is pumped through a precooling loop at about 0°C at a flow rate of about 13.8 mL / min. Feeds 4 and 5 are combined in the reaction loop (240) at about 0°C for about 135 seconds (2 minutes 15 seconds). The effluent 250 is directly collected into a container containing MeOH (7.0 volumes relative to the compound of formula (I)) controlled at a temperature of about 0°C. Once the collection is complete, the mixture is adjusted to about 20°C and stirred for about 16 hours. The resulting slurry is filtered, rinsed with CH2Cl2, and vacuum-dried to obtain a crude intermediate in solid form. These solids are loaded back into the reactor, combined with water, and adjusted to about 20°C. The resulting slurry was charged with 20% (w / w) potassium carbonate in water to adjust the pH to about 8-11, and the solution was agitated at about 20° C. for about 1 hour. The resulting slurry was filtered, rinsed with water and MeOH and dried at about 60° C. to give the compound of formula (VII).

[0370] Example 14. Synthesis of the compound of formula (VIII)

[0371]

[0372] The reactor is charged with formula (VII) (1.0 equivalents, proportional factor), followed by isopropyl acetate (10 volumes), 2,2-dimethoxypropane (5.9 equivalents), and cooled to about 20°C. Concentrated sulfuric acid (1.3 equivalents) is charged and the reaction is heated to about 30°C for about 3 hours. The reaction mixture is filtered and the filter cake is rinsed with isopropyl acetate (3 volumes). The intermediate sulfate is transferred back to the reactor, followed by the addition of potassium acetate (2.0 equivalents) and methanol (15 volumes). Water (2 volumes) is then added, and the reaction mixture is stirred for about 1 hour. The solution is carbon treated, followed by fine filtration. The carbon cartridge is rinsed with methanol (7 volumes). The solution is then distilled to about 3 volumes, followed by the addition of water (8 volumes) over about 2 hours. The resulting slurry is filtered and the filter cake is rinsed with water (3 volumes). The solid is dried to obtain a compound of formula (VIII): 1 H NMR (400MHz, DMSO-d6) δ7.91-7.98(brm,5H),6.95-6.88(m,4H),5.38(d,J=6.6Hz,2H),5.02(t,J=5.7Hz,2H),4.90 (dd,J=6.6,3.1Hz,2H),4.32(td,J=5.3,3.0Hz,2H),3.53(ddq,J=17.3,11.6,5.5Hz,4H),1.64(s,6H),1.37(s,6H).13 C NMR (100MHz, DMSO-d6) δ156.05,148.62,122.97,117.42,116.71,115.87,111.05,101.32,85.87,84.37,82.01,80.41,61.35,26.34,25.58.

[0373] Example 15. Synthesis of compounds of formula (X)

[0374]

[0375] The reactor was charged with formula (VIII) (1.0 equiv., scale factor), followed by magnesium chloride (1.5 equiv.) and tetrahydrofuran (10 volumes). The mixture was cooled to about 25°C. N,N-diisopropylethylamine (2.5 equiv.) was charged, and the reaction was stirred at about 25°C for about 16 hours. The reaction was quenched into tert-butyl methyl ether (10 volumes) and 10% (w / w) citric acid (10 volumes) at about 10°C. The layers were separated, and the organic layer was washed with 10% (w / w) potassium carbonate (15 volumes), 10% (w / w) potassium carbonate (10 volumes), 10% (w / w) ammonium chloride (10 volumes), and then washed with 15% (w / w) sodium chloride (10 volumes). The organic layer was distilled to about 3.5 volumes, followed by the addition of acetonitrile (10 volumes), distilled to about 3.5 volumes, and acetonitrile (7 volumes) was charged. The acetonitrile stock solution of formula (X) was used in the next step.

[0376] Although the foregoing invention has been described in some detail by way of illustration and example for the purpose of clear understanding, it will be appreciated by those skilled in the art that certain variations and modifications may be practiced within the scope of the appended claims. In addition, each reference provided herein is incorporated by reference in its entirety to the same extent as if each reference were individually incorporated by reference. In the event of a conflict between the present application and the references provided herein, the present application shall prevail.

Claims

1. A method for preparing a compound of formula (I): The method comprises: (a) adding a first input mixture to a first flow reactor, wherein the first input mixture comprises a Lewis acid, a Bronsted acid and a compound of formula (II-a): wherein the first flow reactor provides a first output mixture; and (b) adding a second input mixture to a second flow reactor, wherein the second input mixture comprises the first output mixture and a cyanating agent; wherein the second flow reactor provides a second output mixture comprising the compound of formula (I).

2. The method according to claim 1, further comprising a solvent.

3. The method according to any one of claims 1 to 2, wherein the solvent is dichloromethane, chloroform, dichloroethane, or chlorobenzene, or a combination thereof.

4. The method according to any one of claims 1 to 3, wherein the Lewis acid is trimethylsilyl trifluoromethanesulfonate (TMSOTf), trimethylchlorosilane (TMSCl), trimethyliodosilane (TMSI), trimethylbromosilane (TMSBr), tert-butyldimethylchlorosilane (TBSCl), tert-butyldimethylbromosilane (TBSBr), tert-butyldimethyliodosilane (TBSI), triethylchlorosilane (TESCl), triethylbromosilane (TESBr), triethyliodosilane (TESI), tert-butyldimethylsilyl trifluoromethanesulfonate (TBSOTf), or triethylsilyl trifluoromethanesulfonate (TESOTf).

5. The method according to any one of claims 1 to 4, wherein the Bronsted acid is trifluoroacetic acid (TFA), trifluoromethanesulfonic acid, 4-fluorobenzoic acid, pivalic acid, monohydrotetrafluoroboric acid (HBF4), nitric acid, 4-chlorobenzoic acid, pentafluorophenol or hexafluorophosphoric acid (HPF6).

6. The method according to any one of claims 1 to 5, wherein the cyanating agent is trimethylsilyl cyanide (TMSCN), tert-butyl cyanodimethylsilane (TBSCN), triethylsilyl cyanide (TESCN), tetrabutylammonium cyanide, tetramethylammonium cyanide or tetraethylammonium cyanide.

7. The method according to any one of claims 2 to 6, wherein the Lewis acid is triflate (TMSOTf), the Bronsted acid is trifluoroacetic acid, the solvent is dichloromethane, and the cyanating agent is trimethylsilyl cyanide (TMSCN).

8. The method of claim 7, wherein the TMSOTf is present in an amount of about 1.0 molar equivalent to about 10.0 molar equivalent relative to the compound of formula (II-a).

9. The method according to claim 7 or 8, wherein the TMSOTf is present in an amount of about 5.0 molar equivalents to about 7.0 molar equivalents relative to the compound of formula (II-a).

10. The method according to any one of claims 7 to 9, wherein the trifluoroacetic acid is present in an amount of about 0.5 molar equivalents to about 1.5 molar equivalents relative to the compound of formula (II-a).

11. The method according to any one of claims 7 to 10, wherein the trifluoroacetic acid is present in an amount of about 0.8 molar equivalents to about 1.2 molar equivalents relative to the compound of formula (II-a).

12. The method according to any one of claims 7 to 11, wherein the TMSCN is present in an amount of about 1.0 molar equivalent to about 10.0 molar equivalent relative to the compound of formula (II-a).

13. The method according to any one of claims 7 to 12, wherein the TMSCN is present in an amount of about 5.0 molar equivalents to about 7.0 molar equivalents relative to the compound of formula (II-a).

14. The method of any one of claims 1 to 13, comprising continuously adding the first input mixture to the first flow reactor until the first input mixture is exhausted.

15. The method of any one of claims 1 to 14, comprising continuously adding the second input mixture to the second flow reactor until the first output mixture is exhausted.

16. The method according to any one of claims 7 to 15, further comprising combining a first feed mixture comprising about 3% to about 7% (w / w) of the compound of formula (II-a) relative to dichloromethane with a second feed mixture comprising about 30% to about 50% (w / w) of the TMSOTf relative to dichloromethane and about 2% to about 5% (w / w) of the trifluoroacetic acid relative to dichloromethane to form the first input mixture.

17. The method of claim 16, wherein the method further comprises cooling the first feed mixture to a temperature of about -35°C to about -25°C prior to combining the second feed mixture.

18. The method of claim 17, wherein the temperature of the second feed mixture prior to combining with the first feed mixture is from about 17°C to about 27°C.

19. The method of any one of claims 7 to 18, further comprising combining the first output mixture with a third feed mixture comprising from about 10% to about 50% (w / w) of the TMSCN relative to dichloromethane to form the second input mixture.

20. The process of any one of claims 7 to 19, further comprising combining the first output mixture with a third feed mixture comprising from about 10% to about 30% (w / w) of the TMSCN relative to dichloromethane to form the second input mixture.

21. The method of claim 19 or 20, wherein the method further comprises cooling the third feed mixture to about -35°C to about -25°C prior to combining with the first output mixture.

22. The method of any one of claims 1 to 21, wherein the residence time of the first input mixture in the first flow reactor is from about 0.1 minutes to about 10 minutes.

23. The method of any one of claims 1 to 22, wherein the residence time of the first input mixture in the first flow reactor is about 0.5 minutes.

24. The method of any one of claims 1 to 23, wherein the residence time of the second input mixture in the second flow reactor is from about 0.1 minutes to about 10 minutes.

25. The method of any one of claims 1 to 24, wherein the residence time of the second input mixture in the second flow reactor is about 2 minutes.

26. The method of any one of claims 1 to 25, wherein the first flow reactor is maintained at a temperature of about -40°C to about -20°C.

27. The method of any one of claims 1 to 26, wherein the second flow reactor is maintained at a temperature of about -40°C to about -20°C.

28. The method of any one of claims 1 to 27, wherein the first flow reactor and the second flow reactor are both maintained at a temperature of about -30°C.

29. The method of any one of claims 1 to 28, further comprising isolating the compound of formula (I) from the second output mixture.

30. The process of any one of claims 1 to 29, wherein the yield of the compound of formula (I) is from about 60% to about 90%.

31. The process of any one of claims 1 to 30, wherein the yield of the compound of formula (I) is from about 70% to about 90%.

32. The process of any one of claims 1 to 31, wherein the yield of the compound of formula (I) is from about 75% to about 85%.

33. The method of any one of claims 1 to 32, wherein the compound of formula (I) has a purity of about 98% to about 100%.

34. The method according to any one of claims 1 to 33, further comprising: (c) adding a third input mixture to a third reactor, wherein the third input mixture comprises trimethylsilyl chloride (TMSCl), isopropylmagnesium chloride (iPrMgCl), phenylmagnesium chloride (PhMgCl), tetrahydrofuran (THF) and a compound of formula (IV): wherein the third reactor provides a third output mixture; and (d) adding a fourth input mixture to a fourth reactor, wherein the fourth input mixture comprises the third output mixture, neodymium chloride (NdCl3), tetra-n-butylammonium chloride (nBu4NCl) and a compound of formula (III): wherein the fourth reactor provides a fourth output mixture comprising the compound of formula (II-a).

35. The method according to any one of claims 1 to 33, further comprising: (c) adding a third input mixture to a third reactor, wherein the third input mixture comprises trimethylsilyl chloride (TMSCl), isopropylmagnesium chloride (iPrMgCl), phenylmagnesium chloride (PhMgCl), tetrahydrofuran (THF) and a compound of formula (IV): wherein the third reactor provides a third output mixture; and (d) adding a fourth input mixture to a fourth reactor, wherein the fourth input mixture comprises the third output mixture, neodymium chloride (NdCl3), tetra-n-butylammonium bromide (nBu4NBr) and a compound of formula (III): wherein the fourth reactor provides a fourth output mixture comprising the compound of formula (II-a).

36. The method according to any one of claims 1 to 33, further comprising: (c) adding a third input mixture to a third reactor, wherein the third input mixture comprises trimethylsilyl chloride (TMSCl), isopropylmagnesium chloride (iPrMgCl), phenylmagnesium chloride (PhMgCl), tetrahydrofuran (THF) and a compound of formula (IV): wherein the third reactor provides a third output mixture; and (d) adding a fourth input mixture to a fourth reactor, wherein the fourth input mixture comprises the third output mixture, cerium chloride (CeCl3), tetra-n-butylammonium bromide (nBu4NBr) and a compound of formula (III): wherein the fourth reactor provides a fourth output mixture comprising the compound of formula (II-a).

37. The method according to any one of claims 1 to 33, further comprising: (c) adding a third input mixture to a third reactor, wherein the third input mixture comprises trimethylsilyl chloride (TMSCl), isopropylmagnesium chloride (iPrMgCl), phenylmagnesium chloride (PhMgCl), tetrahydrofuran (THF) and a compound of formula (IV): wherein the third reactor provides a third output mixture; and (d) adding a fourth input mixture to a fourth reactor, wherein the fourth input mixture comprises the third output mixture, neodymium chloride tetrahydrofuran solvate (NdCl3.THF), tetra-n-butylammonium bromide (nBu4NBr) and a compound of formula (III): wherein the fourth reactor provides a fourth output mixture comprising the compound of formula (II-a).

38. The method according to any one of claims 1 to 33, further comprising: (c) adding a third input mixture to a third reactor, wherein the third input mixture comprises trimethylsilyl chloride (TMSCl), isopropylmagnesium chloride (iPrMgCl), phenylmagnesium chloride (PhMgCl), tetrahydrofuran (THF) and a compound of formula (IV): wherein the third reactor provides a third output mixture; and (d) adding a fourth input mixture to a fourth reactor, wherein the fourth input mixture comprises the third output mixture, neodymium chloride hexahydrate (NdCl3.6H2O), trimethyl orthoformate, tetra-n-butylammonium bromide (nBu4NBr) and a compound of formula (III): wherein the fourth reactor provides a fourth output mixture comprising the compound of formula (II-a).

39. A method for preparing a compound of formula (II-a): comprising adding a fifth input mixture to a fifth reactor, wherein the fifth input mixture comprises a compound of formula (V): an oxidizing agent and a fifth base, wherein the fifth reactor provides a fifth output mixture comprising the compound of formula (II-a).

40. The method of claim 39, wherein The oxidant is (2,2,6,6-tetramethylpiperidin-1-yl)oxy, 9-azabicyclo[3.3.1]nonane N-oxyl, iodobenzene dichloride, iodobenzene diacetate, sodium hypochlorite, 1,1,1-tris(acetoxy)-1,1-dihydro-1,2-benzidoyl-3-(1H)-one, dimethyl sulfoxide / pyridine sulfur trioxide, manganese oxide, 2,3-dichloro-5,6-dicyanobenzoquinone or N-methylmorpholine-N-oxide / tetrapropylammonium perruthenate, or a combination thereof.

41. The method according to any one of claims 39 to 40, wherein The fifth base is sodium bicarbonate, potassium bicarbonate, sodium carbonate, potassium carbonate, sodium dihydrogen phosphate, potassium dihydrogen phosphate, disodium hydrogen phosphate, dipotassium hydrogen phosphate, sodium phosphate, potassium phosphate, or ammonium acetate, or a combination thereof.

42. The method of any one of claims 39 to 41, wherein the fifth input mixture further comprises a fifth solvent selected from the group consisting of dichloromethane, dichloroethane, chloroform, toluene, trifluorotoluene, water, sulfolane, dimethylformamide, N-methylpyrrolidine, dimethyl sulfoxide, methyl acetate, isopropyl acetate, ethyl acetate and acetonitrile, or a combination thereof.

43. The method of claim 42, wherein The oxidant is (2,2,6,6-tetramethylpiperidin-1-yl)oxy and iodobenzene diacetate; The fifth base is dipotassium hydrogen phosphate; and The fifth solvent is acetonitrile.

44. The process of any one of claims 39 to 43, wherein the fifth reactor is maintained at a temperature of about -10°C to about 60°C.

45. The process of claim 44, wherein the fifth reactor is maintained at a temperature of about 10°C to about 30°C.

46. ​​A method according to any one of claims 39 to 45, further comprising preparing a compound of formula (V), the method comprising: (a) adding a sixth input mixture to a sixth reactor, wherein the sixth input mixture comprises an amine protecting agent, a sixth base and a compound of formula (IV): wherein the sixth reactor provides a sixth output mixture; (b) adding a seventh input mixture to a seventh reactor, wherein the seventh input mixture comprises the sixth output mixture, a seventh transfer metal agent, and a compound of formula (VI): wherein the seventh reactor provides a seventh output mixture comprising a compound of formula (V).

47. The method of claim 46, wherein The amine protecting agent is trimethylchlorosilane, triethylchlorosilane, tert-butyldimethylchlorosilane, tert-butyldiphenylchlorosilane, 1,2-bis(chlorodimethylsilyl)ethane, trifluoroacetic anhydride or di(tert-butyl) dicarbonate.

48. The method of claim 46, wherein The sixth base is phenylmagnesium chloride, phenylmagnesium bromide, phenylmagnesium iodide, isopropylmagnesium chloride, isopropylmagnesium bromide, tert-butylmagnesium chloride, phenyllithium, methyllithium, isopropyllithium, tert-butyllithium, sodium hydride, potassium hydride, or calcium hydride, or a combination thereof.

49. The method of any one of claims 46 to 48, wherein the sixth input mixture further comprises a sixth solvent selected from the group consisting of tetrahydrofuran (THF), 2-methyltetrahydrofuran, tert-butyl methyl ether, diisopropyl ether, cyclopentyl methyl ether and toluene, or a combination thereof.

50. The method of claim 49, wherein The amine protective agent is trimethylchlorosilane; The sixth base is phenylmagnesium chloride; and The sixth solvent is tetrahydrofuran (THF).

51. The process of claims 46 to 50, wherein the sixth reactor is maintained at a temperature of about -70°C to about 40°C.

52. The process of claim 51, wherein the sixth reactor is maintained at a temperature of about -20°C to about 10°C.

53. The method according to any one of claims 46 to 52, wherein The seventh metal transfer agent is phenylmagnesium chloride, phenylmagnesium bromide, phenylmagnesium iodide, isopropylmagnesium chloride, isopropylmagnesium bromide, tert-butylmagnesium chloride, tert-butylmagnesium bromide, phenyllithium, methyllithium, isopropyllithium, or tert-butyllithium, or a combination thereof.

54. The method of any one of claims 46 to 53, wherein the seventh input mixture further comprises a seventh solvent selected from the group consisting of tetrahydrofuran (THF), 2-methyltetrahydrofuran, tert-butyl methyl ether, diisopropyl ether, cyclopentyl methyl ether and toluene, or a combination thereof.

55. The method of claim 54, wherein The seventh metal transfer agent is isopropyl magnesium chloride; and The seventh solvent is tetrahydrofuran (THF).

56. The process of any one of claims 46 to 55, wherein the seventh reactor is maintained at a temperature of about -70°C to about 40°C.

57. The process of claim 56, wherein the seventh reactor is maintained at a temperature of about -30°C to about -10°C.

58. The method according to any one of claims 1 to 33, wherein the compound of formula (II-a) is prepared by any one of claims 39 to 57.

59. A method for preparing a compound of formula (VII) or a salt thereof: The method includes adding an eighth input mixture to an eighth flow reactor, wherein the eighth input mixture comprises an eighth Lewis acid and a compound of formula (I): and The eighth flow reactor provides an eighth output mixture comprising the compound of formula (VII) or a salt thereof.

60. The method of claim 59, wherein the eighth input mixture further comprises an eighth solvent selected from the group consisting of dichloromethane, chloroform, dichloroethane, chlorobenzene, toluene, ethyl acetate (EtOAc), isopropyl acetate (iPrOAc), acetonitrile, tetrahydrofuran (THF), 2-methyltetrahydrofuran, and combinations thereof.

61. The method of claim 60, wherein the eighth solvent is dichloromethane.

62. The method of any one of claims 59 to 61, wherein the eighth Lewis acid is boron trichloride (BCl3), boron trifluoride (BF3), boron trifluoride ethyl ether complex (BF3·OEt2), boron trifluoride tetrahydrofuran complex (BF3·THF), boron trichloride dimethyl sulfide complex (BCl3·SMe2) or 2-chloro-1,3,2-benzodioxaborolane.

63. The method of any one of claims 59 to 62, wherein the eighth Lewis acid is boron trichloride (BCl3).

64. The method of any one of claims 59 to 63, wherein the method further comprises cooling the compound of formula (I) to a temperature of about -10°C to about 20°C prior to combining with the eighth Lewis acid.

65. The method of claim 64, comprising cooling the compound of formula (I) to about 0°C prior to combining with the eighth Lewis acid.

66. The method of any one of claims 59 to 65, wherein the method further comprises cooling the eighth Lewis acid to a temperature of about -10°C to about 20°C prior to combining with the compound of formula (I).

67. The method of claim 66, comprising cooling the eighth Lewis acid to about 0°C prior to combining it with the compound of formula (I).

68. The method of any one of claims 60 to 67, wherein the concentration of the eighth Lewis acid is from about 0.1 M to about 5 M.

69. The method of any one of claims 60 to 68, combining the compound of formula (I) with the eighth Lewis acid BCl3 at a concentration of about 1 M in the eighth solvent dichloromethane to form the eighth input mixture.

70. The method of any one of claims 59 to 69, comprising continuously adding the eighth input mixture to the eighth flow reactor until the eighth input mixture is exhausted.

71. The method of any one of claims 59 to 70, wherein the residence time of the eighth input mixture in the eighth flow reactor is from about 0.1 minutes to about 10 minutes.

72. The method of claim 71, wherein the residence time of the eighth input mixture in the eighth flow reactor is from about 0.5 minutes to about 3 minutes.

73. The method of any one of claims 59 to 72, wherein the eighth flow reactor is maintained at a temperature of about -10°C to about 20°C.

74. The method of claim 73, wherein the eighth flow reactor is maintained at a temperature of about 0°C.

75. The method of any one of claims 59 to 74, further comprising combining the eighth output mixture with an eighth protic solvent selected from the group consisting of water, methanol, ethanol, n-propanol, isopropanol, n-butanol, tert-butanol, and combinations thereof.

76. The method of claim 73, wherein the eighth protic solvent is methanol.

77. The method of any one of claims 59 to 76, further comprising isolating the compound of formula (VII) or a salt thereof.

78. The method of any one of claims 59 to 77, wherein the yield of the compound of formula (VII) or a salt thereof is about 60% to about 90%.

79. A method according to any one of claims 59 to 78, wherein the compound of formula (I) is prepared by a method according to any one of claims 1 to 37.

80. A method for preparing a compound of formula (VII) or a salt thereof: The method comprises treating a compound of formula (I): The ninth Lewis acid and the additive are combined in a ninth reactor to provide a ninth output mixture comprising the compound of formula (VII) or a salt thereof.

81. The method of claim 80, further comprising a ninth solvent selected from the group consisting of dichloromethane, toluene, ethyl acetate (EtOAc), isopropyl acetate (iPrOAc), acetonitrile, and combinations thereof.

82. The method of claim 81, wherein the ninth solvent is dichloromethane.

83. The method of any one of claims 80 to 82, wherein the ninth Lewis acid is boron trichloride (BCl3), boron tribromide (BBr3), or boron trifluoride etherate / sodium iodide (BF3.OEt2 / NaI).

84. The method of claim 83, wherein the ninth Lewis acid is boron trichloride (BCl3).

85. The method of any one of claims 80 to 84, wherein the ninth Lewis acid is present in an amount from about 2.0 molar equivalents to about 6.0 molar equivalents relative to the compound of formula (I).

86. The method of any one of claims 80 to 85, wherein the additive is selected from the group consisting of trialkyl borate, triaryl borate, methanol, ethanol, isopropanol, and combinations thereof.

87. The method of any one of claims 80 to 86, wherein the additive is selected from the group consisting of trimethyl borate (B(OMe)3), triethyl borate (B(OEt)3), triisopropyl borate (B(OiPr)3), tri-n-butyl borate (B(OBu)3), triphenyl borate (B(OPh)3), methanol, ethanol, isopropanol, and combinations thereof.

88. The method of any one of claims 80 to 87, wherein the additive is trimethyl borate (B(OMe)3).

89. The method of any one of claims 80 to 88, further comprising combining the ninth Lewis acid and the additive prior to combining with the compound of formula (I).

90. The method of claim 89, wherein the combining of the ninth Lewis acid and the additive is performed at a temperature of about 0°C to about 40°C.

91. The method of claim 89 or 90, wherein the combining of the ninth Lewis acid and the additive is performed at a temperature of about 10°C to about 30°C.

92. The method of any one of claims 80 to 90, comprising combining the compound of formula (I), the ninth Lewis acid boron trichloride (BCl3) in an amount of about 3.0 molar equivalents to about 4.0 molar equivalents relative to the compound of formula (I), and the additive trimethyl borate (B(OMe)3) in an amount of about 1.5 molar equivalents to about 2.5 molar equivalents relative to the compound of formula (I) in the ninth reactor.

93. The process of any one of claims 80 to 92, wherein the ninth reactor is maintained at a temperature of about -20°C to about 40°C.

94. The process of claim 93, wherein the ninth reactor is maintained at a temperature of about 20°C.

95. The method of any one of claims 80 to 94, further comprising combining the ninth output mixture with a ninth protic solvent selected from the group consisting of water, methanol, ethanol, n-propanol, isopropanol, n-butanol, tert-butanol, and combinations thereof.

96. The method of claim 95, wherein the ninth protic solvent is methanol.

97. The method of any one of claims 80 to 96, further comprising isolating the compound of formula (VII) or a salt thereof.

98. The method of any one of claims 80 to 97, wherein the yield of the compound of formula (VII) or a salt thereof is about 50% to about 90%.

99. The method of any one of claims 80 to 98, wherein the compound of formula (I) is prepared by a method according to any one of claims 1 to 37.

100. A method for preparing a compound of formula (VII) or a salt thereof: The method comprises treating a compound of formula (I): The tenth Lewis acid is combined in a tenth reactor to provide a tenth output mixture comprising the compound of formula (VII) or a salt thereof, wherein the tenth Lewis acid is selected from the group consisting of aluminum trichloride (AlCl 3 ), aluminum tribromide (AlBr 3 ), titanium (IV) chloride (TiCl 4 ) and tin (IV) chloride (SnCl 4 ).

101. The method of claim 100, further comprising a tenth solvent selected from the group consisting of dichloromethane, anisole, toluene, chlorobenzene, nitrobenzene, trifluorotoluene, tetrahydrofuran (THF), acetone, isopropyl acetate (iPrOAc), acetonitrile, acetic acid, and combinations thereof.

102. The method of claim 101, wherein the tenth solvent is dichloromethane, anisole, or a combination thereof.

103. The method of any one of claims 100 to 102, wherein the tenth Lewis acid is aluminum trichloride (AlCl3).

104. The method of any one of claims 100 to 103, further comprising a tenth additive selected from the group consisting of tetrabutylammonium chloride, tetrabutylammonium bisulfite, lithium chloride, magnesium chloride, and combinations thereof.

105. The method of any one of claims 101 to 104, further comprising combining the tenth Lewis acid and the tenth solvent prior to combining with the compound of formula (I).

106. The process of any one of claims 100 to 105, comprising combining the compound of formula (I) and the tenth Lewis acid aluminum chloride (AlCl3) in an amount from about 3.0 molar equivalents to about 5.0 molar equivalents relative to the compound of formula (I) in the tenth reactor.

107. The process of any one of claims 100 to 106, wherein the tenth reactor is maintained at a temperature of about 0°C to about 150°C.

108. The process of claim 107, wherein the tenth reactor is maintained at a temperature of about 20°C.

109. The method of any one of claims 100 to 108, further comprising combining the tenth output mixture with a tenth protic solvent selected from the group consisting of water, methanol, ethanol, n-propanol, isopropanol, n-butanol, tert-butanol, and combinations thereof.

110. The method of claim 109, wherein the tenth protic solvent is methanol.

111. The method of any one of claims 100 to 110, further comprising isolating the compound of formula (VII) or a salt thereof.

112. The method of any one of claims 100 to 111, wherein the yield of the compound of formula (VII) or a salt thereof is about 60% to about 90%.

113. The method of any one of claims 100 to 112, wherein the compound of formula (I) is prepared by a method according to any one of claims 1 to 37.

114. A method for preparing a compound of formula (VIII) or a pharmaceutically acceptable salt thereof: include (a) adding an eleventh input mixture to an eleventh reactor, wherein the eleventh input mixture comprises an eleventh acid HX, an eleventh protecting agent, an eleventh solvent and a compound of formula (VII): wherein the eleventh reactor provides an eleventh output mixture comprising an acid salt of formula (VIII-a): in The eleventh acid HX is sulfuric acid, hydrochloric acid, phosphoric acid, benzoic acid, oxalic acid, methanesulfonic acid, benzenesulfonic acid, camphorsulfonic acid, naphthalenesulfonic acid, 1-hydroxy-2-naphthoic acid, 1,5-naphthalenedisulfonic acid, maleic acid, ethanesulfonic acid, p-toluenesulfonic acid or oxalic acid; The eleventh protective agent is acetone, 2-methoxypropylene or 2,2-dimethoxypropane; and The eleventh solvent is dichloromethane, methyl acetate, ethyl acetate, isopropyl acetate, tetrahydrofuran, 2-methyltetrahydrofuran, or acetonitrile, or a combination thereof; and (b) adding a twelfth input mixture to a twelfth reactor, wherein the twelfth input mixture comprises the eleventh output mixture, a twelfth base, and a twelfth solvent; wherein the twelfth reactor provides a twelfth output mixture comprising the compound of formula (VIII-a); The twelfth base is sodium bicarbonate, sodium carbonate, potassium bicarbonate, potassium carbonate, sodium acetate, potassium acetate, calcium acetate or calcium hydroxide; and The twelfth solvent is methanol, ethanol, isopropanol, or water, or a combination thereof.

115. The method of claim 114, wherein The eleventh acid HX is sulfuric acid; The eleventh protective agent is 2,2-dimethoxypropane; and The eleventh solvent is isopropyl acetate.

116. The method of claim 114 or 115, wherein The twelfth base is potassium acetate; and The twelfth solvent is methanol.

117. The process of any one of claims 114 to 116, wherein the eleventh reactor is maintained at a temperature of about 0°C to about 60°C.

118. The method of claim 117, wherein the eleventh reactor is maintained at a temperature of about 20°C to about 40°C.

119. The method according to any one of claims 114 to 118, wherein the compound of formula (VII) is prepared by the method according to any one of claims 59 to 113.

120. A method for preparing a compound of formula (X): comprising adding a thirteenth input mixture to a thirteenth reactor, wherein the thirteenth input mixture comprises a compound of formula (VIII): or a pharmaceutically acceptable salt thereof, Magnesium chloride, diisopropylethylamine, a thirteenth solvent and a compound of formula (IX): wherein the thirteenth reactor provides a thirteenth output mixture comprising the compound of formula (X); and The thirteenth solvent is dichloromethane, tetrahydrofuran, or 2-methyltetrahydrofuran, or a combination thereof.

121. The method of claim 120, wherein the thirteenth solvent is tetrahydrofuran.

122. The process of claim 120 or 121, wherein the thirteenth reactor is maintained at a temperature of about 10°C to about 30°C.

123. The method of any one of claims 120 to 122, wherein the compound of formula (VIII) is prepared by the method of any one of claims 114 to 119.