Introduction

Cocoa beans (Theobroma cacao L.) are a rich source of biologically active compounds, such as polyphenols, which are known to act as natural antioxidants. Phenolic compounds are one of the most important groups of secondary metabolites directly related to the sensory characteristics (color and bitter taste) and many beneficial health effects of raw cocoa beans and their derived products [13]. The most abundant class of polyphenols identified in cocoa beans has been flavonoids [4]. Among these compounds, monomeric flavan-3-ols (37 %), such as (−)-epicatechin and (+)-catechin, as well as procyanidins (58 %) with various degrees of polymerization are the most important ones [5, 6]. The most common procyanidins are mixtures of dimers, trimers, tetramers, oligomers, and polymers with (+)-catechin and (−)-epicatechin as constitutive units linked mainly through 4 → β6 or 4 → β8 bonds [7, 8]. Anthocyanins (4 %) are also an important group of flavonoids occurring in raw cocoa beans. Furthermore, cocoa beans and cocoa-derived products contain low amounts of flavanols (quercetin and its glycosides) and flavones. In addition to flavonoids, cocoa beans contain a number of other non-flavonoid compounds, including phenolic acids, hydroxycinnamic acid amides, and stilbenes [3, 9]. Raw cocoa seeds are characterized by very strong antioxidant activity due to the characteristic composition of polyphenols and their high concentrations. These compounds confer bioactive properties on the cocoa beans and cocoa-derived products, such as antitumorigenic, antimutagenic, anti-inflammatory, antiadhesive, and antioxidant effects. In this sense, it has been reported that consumption of flavanol-rich cocoa products have been found to decrease the risk of cancer and cardiovascular diseases, improve blood lipid profile and endothelial function, inhibiting platelet aggregation, and reduce inflammatory response [4, 10].

However, polyphenolic compounds profile and content in cocoa beans depend on a number of factors such as the genotype, climatic and agronomic conditions, post-harvest practices, and storage conditions [4, 9]. Among a large variety of T. cacao types grown in Central West Africa, South America, Asia, and Oceania, the most important groups are Criollo, Forastero, and Trinitario, which is a natural hybrid between the Criollo and Forastero [11, 12]. During the last few years, new hybrid clones, which are more resistant to adverse environmental conditions, have been introduced on cocoa tree plantations [13].

Roasting is the principal technological operation in cocoa beans processing affecting the composition of roasted seeds, which defines the quality and sensory characteristics of final cocoa-derived products. In the cocoa roasting process are commonly used temperatures between 130 and 150 °C for about 15–45 min. However, the “fine or flavor” cocoa beans of the Criollo, Nacional, and Trinitario types require lower temperatures than the “bulk” seeds of the Forastero group [14]. Different types of transformation occur in cocoa beans during thermal processing. This process plays an important role in formation of the mild aroma and characteristic taste of cocoa beans, causes changes in their texture, and increases the intensity of brown color [3]. On the other hand, roasting induces significant changes in the composition of polyphenolic compounds. During conventional thermal processing, polyphenols are readily degraded and/or become bound to polymer structures [15]. There are several reports in the literature that roasting of cocoa beans led to a decrease in total polyphenol and total flavonoid content [16, 17]. The main factor responsible for the degradation of these compounds is high temperature and contact with oxygen during thermal processing. Thus, the application of vacuum roasting or superheated steam roasting has been proposed to retain the flavonoids in cocoa beans [18, 19]. Furthermore, studies regarding the changes in the profile and levels of individual flavan-3-ols, anthocyanins, and flavanols of roasted cocoa beans are still limited. Some data on the influence of thermal processing on the content of individual flavan-3-ols were described by Jolic et al. [17] and Kothe et al. [10] who observed lower epicatechin and procyanidin dimers levels and higher catechin content after cocoa beans roasting. However, so far there has been no in-depth research on the effect of roasting conditions, such as temperature and relative air humidity, on the type and concentrations of individual flavan-3-ols, anthocyanins, and flavanols in cocoa beans of different T. cacao groups. The losses of these compounds could have an adverse effect on the health-promoting properties of roasted cocoa beans and cocoa-derived products. Thus, it is very important to maintain phenolic compounds unchanged as far as possible, or at least to minimize their reduction in cocoa beans during thermal processing.

Accordingly, the aim of this study was to determine the effect of roasting process conditions such as temperature and relative air humidity on the profile and levels of individual flavan-3-ols, anthocyanins, and flavanols in cocoa beans of different Theobroma cocoa L. types originating from selected geographic regions across the genetic groups.

Materials and methods

Materials and treatments

Standards of (+)-catechin (≥99 %), (−)-epicatechin (≥98 %), procyanidin B2 (≥90 %), procyanidin C1 (≥75 %), quercetin (≥95 %), quercetin-3-O-glucoside (≥98 %), quercetin-3-O-galactoside (≥97 %), and quercetin-3-O-arabinoside (≥95 %), acetonitrile of HPLC grade (≥99.9 %), and formic acid for LC–MS (~98 %) were all obtained from Sigma-Aldrich (St. Louis, MO, USA). Cyanidin-3-O-galactoside (≥90 %) was purchased from Extrasynthèse (Genay, France). All other reagents used were of analytical grade and purchased from POCH (Gliwice, Poland). HPLC-grade water was obtained from Milli-Q purification system (Millipore, Bedford, MA, USA).

Seven samples of fermented and dried cocoa beans of different Theobroma cacao L. groups originating from Brazil (Forastero), Ecuador (Nacional), Papua New Guinea (Trinitario), Venezuela (Trinitario), Ghana (Upper Amazon Forastero hybrid, UAF), Indonesia (Trinitario × Upper Amazon Forastero hybrid, T × UAF), and Cameroon (Trinitario × Upper Amazon Forastero hybrid, T × UAF) were studied. All cocoa seeds were harvested in 2011 and purchased from commercial sources. Raw cocoa beans of each group after removal of impurities and broken or chipped seeds were convectively roasted in batches of 200 g in a tunnel with the forced air flow without circulation (adapted to processing with either dry or humid air). Four different air temperatures (110, 120, 135, and 150 °C) and three levels of relative humidity of air (0.3, 2.0, and 5.0 %) were investigated during roasting experiments. The humidity of roasting air (RH) was increased using saturated steam (pressure of 0.2 MPa) that was obtained using steam generator. The air velocity along the material layer was 1 m/s, measured with an accuracy of ±0.05 m/s. The temperature and RH were measured by a Rotronic HygroPalm HP22 measuring device (Rotronic AG, Bassersdorf, Switzerland) with precision of ±1 °C and ±0.5 %, respectively. The seeds were roasted for predetermined times required to achieve about 2 % moisture content in the whole bean. Duration of roasting was determined separately for each batch of cocoa beans based on their initial water content and size. The moisture content was determined by drying at 103 ± 2 °C until constant weight. At the end of roast, cocoa beans were cooled for 10 min to the temperature around 20 °C using cold air. The roasted cocoa beans were stored in hermetically closed plastic containers (500 g) at −20 °C until further analysis. Roasting experiments were carried out with three replicates.

Extraction of phenolic compounds

The phenolic compounds were extracted from the cocoa seed samples according to the procedure developed by Niemenak et al. [2], with some modifications. Cocoa beans were hand-peeled and ground in a laboratory mill to obtain cocoa powder. The powder was (5 g) first defatted three times with 10 mL of hexane for 30 min in an orbital shaker at 300 rpm and centrifuged at 4000×g for 15 min at 4 °C. Then, the hexane layer was discarded and remained organic solvent was evaporated under a stream of nitrogen. The defatted cocoa powder was (2 g) extracted three times with 10 mL of acetone/water/glacial acetic acid (70/29.5/0.5, v/v/v) for 30 min in an ultrasonic bath. After centrifugation of the resulting extracts at 4000×g for 15 min at 4 °C, the supernatants were collected. The combined supernatants were pooled and concentrated in a rotary evaporator at 40 °C under vacuum. Subsequently, the aqueous extract was filled up to a final volume of 10 mL and filtered through a 0.20-μm nylon syringe filters. The supernatant was placed in a glass vial, flushed with nitrogen, and stored at temperature below −20 °C until UHPLC-DAD-ESI–MS/MS analysis. A standard stock solution of phenolic compounds at a concentration of 0.5 mg/mL was initially prepared in acetonitrile/water (1:1, v/v) and stored at −20 °C in darkness until the use. The standard solutions were further diluted in ultrapure water to make different concentration ranges.

UHPLC-DAD-ESI–MS/MS analysis of flavan-3-ols, anthocyanins, and flavanols

UHPLC analyses were performed using an UHPLC+ Dionex UltiMate 3000 liquid chromatographic system consisted of a UHPLC pump, an autosampler, a column oven, a diode array detector with multiple wavelength (Thermo Fisher Scientific Inc., Waltham, MA, USA), and an ultrahigh-resolution hybrid quadrupole/time-of-flight mass spectrometer (UHR-Q-TOF–MS/MS, Bruker Daltonics GmbH, Bremen, Germany) using an electrospray ionization (ESI) source operating in both positive and negative modes. Instrument control, data acquisition, and evaluation were done with the OTOFControl 3.2, HyStar 3.2, and Chromeleon 6.8.1 Chromatography Data System softwares, respectively. Separation was carried out using a Accucore™ C18 2.6 μm, 150 mm × 3.0 mm i.d. column (Thermo Scientific, PA, USA) with two-phase gradient system of formic acid/water (0.1/99.1, v/v) as mobile phase A, and acetonitrile/water/formic acid (80/19.98/0.02, v/v/v) as mobile phase B. The mobile-phase gradient used was: 0–5 min, 5 % B; 5–6 min, 5–8 % B; 6–25 min, 8–15 % B; 25–30 min, 15–20 % B; 30–35 min, 20–25 % B; 35–38 min, 25–30 % B; 38–45 min, 30–85 % B; 45–52 min, 85–5 % B; 52–62 min, 5 % B. The flow rate of the mobile phase was 0.300 mL/min, and the column temperature was 30 °C. The injection volume was 10 μL. Flavan-3-ols, flavanols, and anthocyanins were monitored and quantified at 280, 365, and 520 nm, respectively. The mass spectrometric conditions were as follows: capillary voltage, 4500 V for negative ion mode and 3500 V for positive ion mode; drying gas temperature, 200 °C; drying gas flow, 8.0 L/min; and nebulizing gas pressure, 1 bar. Full-scan mass spectra were acquired over a mass range from 50 to 1500 m/z in the negative ion mode for flavan-3-ols and flavanols and positive ion mode for anthocyanins. The MS/MS spectra were obtained in collision-induced dissociation (CID) mode using nitrogen as the collision gas.

Identification and peak assignment of phenolic compounds were based on the comparison of their retention times, UV–visible absorbance spectra characteristics, full-scan mass spectra (ionization modes positive or negative), and MS/MS fragmentation patterns with those of authentic standards analyzed under identical conditions, as well as the bibliographic references used in the characterization process [20, 21]. Quantification of individual phenolic compounds was carried out using external standard method. The calibration curves were constructed for each compound using six different concentration levels (0.01–0.1 mg/mL). The concentration of individual flavan-3-ols, flavanols, and cyanidin 3-O-galactoside was determined based on peak area and calibration curves derived from corresponding reference compounds. For the quantification of cyanidin 3-O-arabinoside, the calibration curves of cyanidin 3-O-galactoside were used. All analyses were repeated three times, and the results were expressed as milligrams polyphenol per gram of fat-free dry weight basis of cocoa beans (mg/g ff-dw) for flavan-3-ols and anthocyanins and micrograms polyphenol per gram of fat-free dry weight basis of cocoa beans (µg/g ff-dw) for flavanols, due to a low amounts of these compounds in studied cocoa samples.

Statistical analysis

All presented numeric values are means obtained from triplicate experiments ± standard deviation (SD). The results were subjected to one-way ANOVA and post hoc multiple mean comparison (Tukey’s HSD test) using STATISTICA 11 software (StatSoft, Inc., Tulsa, USA). Differences at p < 0.05 were treated as significant.

Results and discussion

Changes in the profile and the levels of flavan-3-ols during roasting

The characterization and quantitation of the phenolic compounds in the seeds of the five Theobroma cacao L. types were carried out by RP-UHPLC-DAD/ESI–MS/MS analysis (Table 1). The exemplary chromatographic profile of phenolic compounds detected in studied cocoa beans is shown in Figs. 1, 2 and 3. In the analyzed cocoa samples, the main phenolic compounds identified were flavonoids, most of them were monomeric, dimeric, and trimeric flavan-3-ols, followed by anthocyanins and flavanols. Flavan-3-ols were found to be the major class of flavonoids detected in cocoa beans, represented about 92 % of total phenolic compounds. The sum of the quantified flavan-3-ols in raw samples varied widely among the all cocoa groups that were tested in this study (1.41 ± 0.09–16.40 ± 0.28 mg/g ff-dw). We showed that all of the analyzed groups contain monomeric flavan-3-ols (epicatechin and catechin) and dimeric and trimeric procyanidins, which are composed of catechin and epicatechin as monomeric units. These findings are in accordance with the results presented by other authors [5, 6, 9, 20]. In this study, the procyanidins detected and quantified were the procyanidin dimer B2 and procyanidin trimer C1. As shown in Fig. 4a, the levels of the individual flavan-3-ols varied dramatically among different cocoa types. However, relative concentrations of the occurring monomeric flavan-3-ols and procyanidins show a similar distribution (Fig. 4b). As expected, epicatechin was the most abundant flavan-3-ol determined in all analyzed cocoa groups, accounting for 44–56 % of the total flavan-3-ols, followed by procyanidin B2 (25–33 %) and then procyanidin C1 (13–22 %). Catechin was also determined in the all raw cocoa beans, but in very low amounts. This order was agreed upon by other researchers for cocoa beans [13, 17]. Depending on the evaluated cocoa types, the epicatechin content is between 0.72 ± 0.03 and 9.18 ± 0.10 mg/g ff-dw, whereas the levels of catechin varied from trace to 0.27 ± 0.03 mg/g ff-dw. Procyanidin B2 and procyanidin C1 contents ranging from 0.41 ± 0.04 to 4.25 ± 0.09 mg/g ff-dw and from 0.26 ± 0.01 to 2.84 ± 0.06 mg/g ff-dw, respectively, were observed. The highest levels of epicatechin, catechin, and procyanidin C1 were found in the beans of the Forastero group from Brazil, whereas the samples of the Trinitario type from Venezuela contained significantly higher amounts of procyanidin B2. Noteworthily, raw cocoa beans of the Trinitario type cultivated in Papua New Guinea contained markedly lower amounts of all detected flavan-3-ols compared with that the same group from Venezuela and the other cocoa types tested. On the other hand, raw beans of the T × UAF hybrid clone from Indonesia and Cameroon did not exhibit a significant (p > 0.05) difference in the levels of epicatechin. These results may be attributed to the fact that apart from the group diversity, several factors, such as climatic conditions or even agricultural practices, are able to impact the level of polyphenols contents of cocoa beans [2, 4]. Niemenak et al. [2] also determined the epicatechin and catechin contents of different Theobroma cacao L. clones and reported on the concentration variability among several genotypes. The levels of monomeric flavan-3-ols and procyanidins found are similar to recently reported values by Carrillo et al. [13] and Kothe et al. [10]. However, the catechin and epicatechin contents of all our analyzed raw cocoa beans were lower than those reported for freshly harvested fermented cocoa seeds in a study by Elwers et al. [9] and Niemenak et al. [2] who determined the monomeric flavan-3-ols content of different cocoa clones. The variability in concentrations of these compounds not only was related to the genetic diversity, but can be explained by the different growing conditions of the cocoa fruit, time of harvest, and post-harvest treatment conditions (fermentation and drying) [22, 23]. Some authors have reported that the levels of phenolic compounds generally declined during fermentation and drying of cocoa beans [24, 25]. According to Suazo et al. [23], the concentration of phenolic compounds was higher in the non-fermented cocoa beans than in the fermented samples. This decrease is mainly related to the non-enzymatic or enzymatic oxidation of catechins to o-quinones, and the condensation of oxidized compounds with other polyphenols to highly polymerized substances such as proanthocyanidins (condensed tannins). Moreover, during fermentation and drying, proanthocyanidins may form insoluble complexes with proteins, amino acids, cell wall polysaccharides, and other phenolics [22, 23]. These phenolic reactions, both enzymatic and non-enzymatic, initiate the characteristic chocolate flavor precursors formation, brown color development, and a significant reduction in astringency and bitterness of raw cocoa beans [2325]. It is well known that duration and/or methods of fermentation as well as the drying techniques considerably affect the extent of changes in the composition of phenolic compounds occurring in cocoa beans. The post-harvest techniques depend primarily on the cocoa bean type and regional practices in the country of origin. For example, due to the milder and less bitter taste, the “fine or flavor” cocoa beans of the Criollo, Trinitario, and Nacional groups are often less fermented than “bulk” Forastero beans. An exception is well-fermented cocoa beans of the Trinitario type grown in Papua New Guinea [25, 26]. In addition, some authors have also reported that during the cocoa pod storage, polyphenolic compounds can readily undergo numerous reactions and modifications [22]. They observed that over 15 days of cocoa pods storage, the content of phenolics like catechin and epicatechin in fermented cocoa beans significantly decreased. It can therefore be assumed that that the variations in the contents of phenolic compounds noticed among the analyzed cocoa types might be due to the cultivation techniques, climatic conditions that occur during the pre-harvest period, and post-harvest treatment conditions.

Table 1 Identification of phenolic compounds in diverse Theobroma cacao L. groups based on ultrahigh-performance liquid chromatography (UHPLC), retention time (t R), UV–Vis spectroscopic characteristics (λ max), and MS–MS/MS spectroscopic pattern
Fig. 1
figure 1

Exemplary UHPLC-DAD-ESI-QTOF-MS profiles of the water extract of raw cocoa seeds of Forastero group. Chromatogram at 280 nm: monomeric flavan-3-ols and procyanidins (a). Extracted ion chromatograms (EIC): 289 m/z for catechin (CT) and epicatechin (EC), 577 m/z for procyanidin B2 (PC B2), and 865 m/z for procyanidin C1 (PC C1) (b)

Fig. 2
figure 2

Exemplary UHPLC-DAD-ESI-QTOF-MS profiles of the water extract of raw cocoa seeds of Forastero group. Chromatogram at 520 nm: anthocyanins (a). Extracted ion chromatograms (EIC): 449 m/z for cyanidin 3-O-galactoside (Cy-gal) and 419 m/z for cyanidin 3-O-arabinoside (Cy-ara) (b)

Fig. 3
figure 3

Exemplary UHPLC-DAD-ESI-QTOF-MS profiles of the water extract of raw cocoa seeds of Forastero group. Chromatogram at 365 nm: flavanols (a). Extracted ion chromatograms (EIC): 463 m/z for quercetin 3-O-galactoside (Qu-gal) and quercetin 3-O-glucoside (Qu-glu), 433 m/z for quercetin 3-O-arabinoside (Qu-ara), and 301 m/z for quercetin (Qu) (b)

Fig. 4
figure 4

Absolute concentrations (a) and relative concentrations (b) of individual monomeric flavan-3-ols and procyanidins in different Theobroma cacao L. groups: Forastero, Nacional, Trinitario, Upper Amazon Forastero, and Trinitario × Upper Amazon Forastero. PNG Papua New Guinea. Data are mean ± standard deviation of three replicates. Test of the significance of difference is shown in the figure, “a” versus “a” meaning that there is no significant difference (p > 0.05)

During roasting, flavan-3-ols composition showed great qualitative and quantitative variations, depending on the cocoa type and the roasting process parameters used. The results of the individual and total flavan-3-ols content determination are displayed in the Table 2. The levels of flavan-3-ols in roasted samples depending on the roasting conditions and analyzed cocoa type were reduced to 0.87 ± 0.05–15.42 ± 0.31 mg/g ff-dw. Similarly, as for raw cocoa beans, epicatechin was the most abundant flavan-3-ol in roasted samples, with concentrations depending on the groups ranging from 0.37 ± 0.02 to 8.72 ± 0.14 mg/g ff-dw. Significant variations (p < 0.05) were observed in the levels of this monomeric flavan-3-ol among processing conditions for all of the five studied cocoa types. The rapid decline of epicatechin content was found when roasting temperature was increased from 110 to 150 °C, as compared to the raw cocoa beans. The changes in individual flavan-3-ol levels observed in roasted cocoa beans may be due to the oxidation or degradation of these compounds during processing at high temperatures [18, 19]. The flavan-3-ol monomers may be involved in coupled oxidative reactions followed by polymerization and condensation of oxidized derivatives with other phenolic compounds or proteins leading to the formation of high molecular weight complex structures [27]. It is also possible that epicatechin was degraded as a result of epimerization reaction that takes place under the roasting conditions [28]. In the present study, roasting at 110 and 120 °C compared to higher temperatures resulted in the greater stability of epicatechin. Notably, the losses of this compound also depend on the roasting RH. Therefore, the lowest changes in epicatechin levels were caused by roasting at 110 °C and in the air with highest humidity (RH = 5.0 %). This behavior can be explained by the formation of the protective barrier around the kernel by the humidity contained in the air, which in turn limited diffusion of oxygen into the seed. This finding was in agreement with the statement made by Zzaman et al. [19] who assumed that the absence of oxygen reduced flavonoid losses during the superheated steam roasting as compared with convectional roasting at the same temperature and time. In this study, at the temperature of 150 °C, a greatest decrease in the epicatechin content was observed when the RH was 2.0 %. Thermal treatment in these conditions resulted in epicatechin losses ranging from 53 to 75 % of the initial levels in the raw cocoa beans. This might be linked to the formation of a free space between the shell and the kernel during processing of cocoa beans at high temperatures and elevated air humidity (RH = 2.0 %). As a consequence, the heat transfer inside the beans is higher and the temperature of kernels rapidly increases, which leads to undesirable oxidations. The results are in accordance with the other reports that have shown similar decay of epicatechin in cocoa beans during roasting [10, 17]. Generally, the changes in all cocoa groups followed a similar trend. The lowest reduction of epicatechin was found in the roasted beans of the Forastero type from Brazil, while the highest in the samples of the UAF hybrid clone from Ghana.

Table 2 Content of individual flavan-3-ols in cocoa beans of Forastero, Nacional, Trinitario, UAF, and T × UAF groups originating from various geographical regions after roasting at different conditions (mg/g ff-dw)

In comparison with the raw cocoa beans, roasting caused a significant (p < 0.05) decrease in the level of two determined procyanidins (3–72 % for procyanidin B2 and 11–83 % for procyanidin C1). This behavior might be explained by the fact that procyanidins are readily degraded during heat treatment in the presence of oxygen into their monomeric units or bound to other phenolic compounds, proteins, polysaccharides, and alkaloids as well as Maillard reaction products, leading to formation of complex molecules [15]. The levels of procyanidin B2 and procyanidin C1 in the roasted cocoa beans depending on the roasting conditions and analyzed cocoa type fluctuated within the range 0.29 ± 0.03–.92 ± 0.06 mg/g ff-dw and 0.05 ± 0.01–2.54 ± 0.07 mg/g ff-dw, respectively. Our results are consistent with the findings of other authors who investigated the impact of roasting on procyanidins concentration in cocoa beans. Jolic et al. [17] showed that roasting of cocoa beans considerably reduced levels of procyanidin dimers B1 and B2. In accordance with the present results, Kothe et al. [10] reported that the levels of procyanidin dimers B1, B2, and B5 as well as procyanidin trimer C1 decrease during roasting of cocoa beans. Nevertheless, these authors also found that roasting caused an increase in two other procyanidin B-type dimers and another procyanidin trimer. Therefore, the changes in the procyanidins levels can be also attributed to epimerization phenomena of the procyanidins dimers and trimers due to the relatively high temperatures used in the roasting process [10]. We found that the losses of procyanidins showed the similar trend to that observed for epicatechin and were lower when the RH was increased up to 5.0 %. The smallest degradation of procyanidin B2 and procyanidin C1 was observed when cocoa beans were submitted to roasting at 110 °C and the RH was 5.0 %, while thermal treatment at 150 °C and RH reduced to 0.3 or 2.0 % was most deleterious. Moreover, the results obtained indicated that the stability of procyanidins in cocoa beans was strongly dependent on the cocoa type. It was found that the greatest decrease in the content of procyanidins caused thermal processing of cocoa seeds of the UAF hybrid clone from Ghana. The lowest reduction of procyanidins was observed in the samples of the Trinitario type from Papua New Guinea and the Forastero group from Brazil, respectively. Similarly, other investigators noticed that the flavanol losses vary markedly among different samples of cocoa beans, dependent on the processing conditions as well as geographical region of cultivation [4, 10].

On the contrary, it was found that after thermal processing of all analyzed cocoa groups, the content of catechin gradually increased as the roasting temperature increased from 110 to 150 °C. Similar results were also reported by other authors who investigated the effect of roasting on the concentration of monomeric flavan-3-ols in cocoa beans [10, 17]. The content of catechin in the roasted cocoa beans within the groups and the used heat treatment conditions varied significantly and ranged from 0.02 ± 0.00 to 1.05 ± 0.03 mg/g ff-dw. The increase in catechin level during processing at high temperature may be a result of epimerization of (−)-epicatechin (2R, 3R) into its epimer, (−)-catechin (2S, 3R) [28]. As mentioned previously, the higher catechin concentration can be also attributed to the degradation of procyanidins into their free flavan-3-ol monomers units, like (+)-catechin and (−)-epicatechin, due to the high temperature of roasting [18]. In the present study, at a temperature of 110 °C a significant increase in catechin content of most cocoa types was observed, with the exceptions of the Nacional group from Ecuador, the Trinitario type from Papua New Guinea, and T × UAF clone from Indonesia. It was also found that the concentration of catechin increased at a higher rate when the RH was elevated, probably due to limited access of oxygen to roasted material. This assumption agrees with observations of Wang and Helliwell [29] who noticed that at high temperature, in particular under anaerobic conditions, more catechins, being (−) epiforms (2R, 3R), could undergo conversion to suitable (−) forms (2S, 3R). Similar conclusions were reported by Tamrin et al. [18] who reported that during cocoa powder roasting with vacuum (45.6 and 60.8 cmHg) at temperatures from 100 to 120 °C, the low oxygen in the roasting space may slow the oxidation processes of the catechins. The greatest increase in catechin levels was achieved when cocoa beans were roasted at 135 and 150 °C with the application of the humid air (RH = 5.0 %). After roasting at these conditions, the concentrations of catechin in roasted cocoa beans were approximately from two- to 12-fold higher as compared to raw samples. The observed changes in the levels of catechin during roasting among the analyzed cocoa types varied markedly. The highest increase in the content of this compound was observed in the seeds of the Trinitario group from Papua New Guinea and the samples of the T × UAF hybrid clone from Indonesia, and the lowest for the beans of the Nacional type from Ecuador.

Changes in the profile and the levels of anthocyanins during roasting

The second more abundant class of flavonoids in raw cocoa seeds was represented by anthocyanin pigments. In this study, two anthocyanins were detected in the analyzed cocoa samples: cyanidin 3-O-arabinoside (Cy-3-ara) and cyanidin 3-O-galactoside (Cy-3-gal). It was noticed that almost all of the raw cocoa beans contain anthocyanins. In this study, no anthocyanins were detected in cocoa beans of the Trinitario type from Papua New Guinea, and only very little (mainly Cy-3-ara) could be detected in raw samples of the UAF hybrid clone from Ghana. The total content of anthocyanins in the raw cocoa beans varied dramatically among different cocoa groups and ranged from 0 to 2.00 ± 0.08 mg/g ff-dw. The Cy-3-ara is found to be the major anthocyanin in raw cocoa beans, representing 56–62 % of the total anthocyanins content, whereas the Cy-3-gal was always present in lower amounts, with 39–45 % of total anthocyanins. The levels of Cy-3-ara and Cy-3-gal greatly varied with studied cocoa types and were within the range 0–1.19 ± 0.04 mg/g ff-dw and 0–0.81 ± 0.03 mg/g ff-dw, respectively (Fig. 5). Anthocyanins concentrations found in this study were similar to the values reported by Pereira-Caro et al. [18] for raw cocoa seeds of the Trinitario type. However, Elwers et al. [9] and Niemenak et al. [2] observed higher contents of Cy-3-ara and Cy-3-gal, in freshly harvested fermented cocoa beans. The differences could be attributed to the non-enzymatic or enzymatic reactions occurring during post-harvest processing and storage of cocoa beans, leading to degradation of anthocyanin pigments [23, 25]. During fermentation and drying, the polyphenolic compounds are oxidized to o-quinones by the enzyme polyphenol oxidase (PPO), which subsequently reacts with anthocyanins to form brown polymers [24, 26]. Moreover, decrease in the anthocyanin pigments content after fermentation and drying could be also explained by the hydrolysis of anthocyanins into cyanidin and to the respective sugar moieties by the glycosidase enzymes, and the later polymerization or condensation with monomeric flavan-3-ols to form the high molecular weight proanthocyanidins [2326]. It was observed that the cocoa beans of the Forastero type from Brazil show higher levels of both anthocyanins than any of the other tested cocoa groups. This corresponds with the data found in earlier studies which reported significantly different anthocyanins content among various Theobroma cacao L. clones [2, 9]. Moreover, there was no significant difference (p > 0.05) between their contents in raw cocoa beans of the T × UAF hybrid clone that were grown in different geographic areas. This result may confirm the hypothesis that new hybrid populations are more stable under different climatic conditions than traditional genotypes [11, 25].

Fig. 5
figure 5

Absolute concentrations (a) and relative concentrations (b) of individual anthocyanins in different Theobroma cacao L. groups: Forastero, Nacional, Trinitario, Upper Amazon Forastero, and Trinitario × Upper Amazon Forastero. PNG Papua New Guinea. Data are mean ± standard deviation of three replicates. Test of the significance of difference is shown in the figure, “a” versus “a” meaning that there is no significant difference (p > 0.05)

Similar to flavan-3-ols, roasting process also caused significant changes in individual anthocyanin contents. The effect of roasting on the composition and content of anthocyanins is summarized in Table 3. Roasting of cocoa beans resulted in extensive losses of anthocyanins, which is not surprising since the anthocyanin pigments are very unstable compounds that are easily decomposed under the effect of high temperature and enhanced exposure to oxygen [30, 31]. The levels of individual anthocyanins in roasted cocoa beans are reported here for the first time. As can be seen from the results, the content of Cy-3-ara and Cy-3-gal in roasted cocoa beans varied significantly within cocoa groups and dependently on the roasting conditions ranged from 0 to 1.04 ± 0.03 mg/g ff-dw and from 0 to 0.79 ± 0.03 mg/g ff-dw, respectively. In all of the analyzed cocoa types, even roasting at 110 °C caused a significant (p < 0.05) decrease in anthocyanins levels compared to unroasted seeds. It was also observed that the increase in the RH from 0.3 to 5.0 % considerably reduced the extent of degradation of Cy-3-ara and Cy-3-gal. However, roasting of cocoa beans at the higher temperatures resulted in more drastic reduction of anthocyanins, when the RH was 2.0 %. This behavior may be explained by improved diffusion of heat into the kernels as a result of loosening the structure of shell by the elevated humidity (RH = 2.0 %), which leads to intensive anthocyanins degradation due to hydrolysis, oxidation, or condensation reactions. It is known that at high temperatures, anthocyanins are hydrolyzed to aglycone, which can be transformed into a chalcone structure. These compounds may then degraded spontaneously to phenolic acids or polymerized with other polyphenols to brown polymeric pigments [31, 32]. Thus, roasting at 150 °C with a RH of 2.0 % induces the most pronounced losses of Cy-3-ara and Cy-3-gal in comparison with the raw beans. Moreover, the changes in anthocyanins level during roasting have been shown to be related to their initial concentration in raw cocoa beans. Overall, thermal processing appeared to have a greater effect when the anthocyanins were present in lower amounts. Therefore, the lowest values of anthocyanins were observed in roasted cocoa beans of the UAF hybrid clone from Ghana. In this case, increasing the temperature of the roasting process to 135 or 150 °C leads to complete degradation of both anthocyanins. In our study, the level of Cy-3-ara and Cy-3-gal declined by 12–100 and 3–100 % during roasting, respectively. Additionally, our study showed that the Cy-3-ara exhibited lower thermal resistance than Cy-3-gal for all of the temperatures considered. As suggested by other authors, chemical structure of anthocyanin-conjugated sugar has a strong influence on their stability during thermal processing [31]. They reported that glucosides and galactosides were more labile to hydrolysis than arabinosides with the same aglycone during heating, probably due to larger steric hindrance of hexose sugars [32]. There is a lack of information in the literature about the effect of roasting on the anthocyanins content in cocoa beans. Nevertheless, these results are in agreement with the data reported by other authors, wherein it was found that the processing at high temperatures decreased the anthocyanins content of various plant materials [30, 31].

Table 3 Content of individual anthocyanins in cocoa beans of Forastero, Nacional, Trinitario, UAF, and T × UAF groups originating from various geographical regions after roasting at different conditions (mg/g ff-dw)

Changes in the profile and the levels of flavanols during roasting

The lowest group of flavonoids found in all studied cocoa beans was flavanols. The contents of individual flavanols and their percentage contributions to the total flavanols in the raw beans of different Theobroma cacao L. types are presented in Fig. 6a, b. The sum of the quantified flavanols ranged from 89.29 ± 0.49 to 315.81 ± 0.78 µg/g ff-dw. Among the flavanols, quercetin 3-O-arabinoside (Qu-3-ara) was the predominant compound detected in all of the analyzed cocoa groups, representing 45.5–55.0 % (43.32 ± 0.21–170.82 ± 0.34 µg/g ff-dw) of the total flavanol levels. Quercetin 3-O-glucoside (Qu-3-glu) and quercetin 3-O-galactoside (Qu-3-gal) were the second and third abundant flavanols representing 34.1–42.3 % (34.90 ± 0.19–125.80 ± 0.32 µg/g ff-dw) and 9.7–10.7 % (9.57 ± 0.09–33.84 ± 0.10 µg/g ff-dw) of the total flavanol content, respectively, whereas quercetin was present in very low quantities in raw cocoa beans representing less than 1.7 % (0.60 ± 0.09–2.79 ± 0.09 µg/g ff-dw) of the total flavanol levels. The presence of these same flavanols has been previously reported in the cocoa beans and different cocoa-derived products by Andres-Lacueva et al. [5], Ortega et al. [8], and Pereira-Caro et al. [20]. It was demonstrated that all of the cocoa types had similar qualitative profiles but different amounts of the individual flavanols. The Qu-3-ara and Qu-3-gal contents were significantly greater in the beans of the Forastero group from Brazil compared with those of the other cocoa types. The Qu-3-glu was present at highest concentrations in the seeds of the Trinitario type from Venezuela. It was also found that the samples of the Trinitario type from Papua New Guinea had the lowest levels of these three detected quercetin glycosides. The highest levels of quercetin were observed in the cocoa beans of the UAF hybrid clone from Ghana, while in the seeds of the Forastero group from Brazil only trace amounts of this compound were found. The literature on individual flavanols contents in raw cocoa beans is very limited. The Qu-3-ara and Qu-3-glu contents of raw cocoa beans in the present study are much lower than those of the values reported by Pereira-Caro et al. [20] for fresh unfermented cocoa seeds of the Trinitario type. The variation in the levels of individual quercetin glycosides is probably related to the s degradation during the fermentation and drying of cocoa beans.flavanol

Fig. 6
figure 6

Absolute concentrations (a) and relative concentrations (b) of individual flavanols in different Theobroma cacao L. groups: Forastero, Nacional, Trinitario, Upper Amazon Forastero, and Trinitario × Upper Amazon Forastero. PNG Papua New Guinea. Data are mean ± standard deviation of three replicates

The studies were also conducted to evaluate the changes in the levels of flavanols that occur during roasting of cocoa beans. The trends observed in Table 4 demonstrate that the roasting process significantly affected the profile and levels of flavanols in cocoa beans of the studied cocoa groups, with both losses and increases in these compounds. Total flavanols content of roasted cocoa beans was significantly lower than that we have reported for raw samples and varied for the different cocoa types from 31.95 ± 0.53 to 272.06 ± 0.70 µg/g ff-dw. It has been shown that the quercetin glycosides content in roasted cocoa beans significantly decreased with increasing temperature of roasting. These results may be attributed to the release of quercetin aglycone from their glycosides at high temperatures [33, 34]. From our observations, we can conclude that the roasting at 110 °C shows the lowest changes in the contents of the quercetin glycosides that were determined in the present study. We also found that when the RH was increased to 2.0 or 5.0 %, the losses of these compounds were higher in comparison with those achieved with “dry” air (RH = 0.3 %). However, no significant (p > 0.05) effect of increasing the RH from 0.3 to 5 % on the change in the levels of Qu-3-glu was found in the samples of the Forastero group from Brazil, the Trinitario type from Venezuela, and T × UAF hybrid clone from Indonesia subjected to the roasting process at the lower temperatures. The greatest reduction of three detected quercetin glycosides was achieved when studied cocoa bean samples were roasted at 135 and 150 °C using the air with the RH of 2.0 and 5.0 %. Concerning the slightly negative impact of humid air, it is most probable that the steam contained in air through the loosening of the husk structure promoted the heat penetration into the kernel and led to more intensive changes in the quercetin glycosides present in cocoa beans. The observed losses of Qu-3-ara, Qu-3-glu, and Qu-3-gal varied among the analyzed groups and depending on the processing conditions, and were within the range 6–67 %, 2–65 %, and 2–60 %, respectively. It can therefore be assumed that in the present study, the most stable during roasting of cocoa beans was Qu-3-gal, followed by Qu-3-glu, and the least stable was Qu-3-ara. Several previous studies have shown that thermal stability of quercetin glycosides depends on the sugar moiety attached to the aglycone. For example, Rohn et al. [33] observed different degradation kinetics degrees of various quercetin glycosides contained in onion, which was roasted at 180 °C. Consistent with our results, they also found that during roasting, the galactosides were more stable than the glucosides. The roasted cocoa beans contained 11.49 ± 0.21–138.52 ± 0.29 µg/g ff-dw of Qu-3-ara, 12.48 ± 0.19–100.50 ± 0.343 µg/g ff-dw of Qu-3-glu, and 3.42 ± 0.08–29.15 ± 0.09 µg/g ff-dw of Qu-3-gal. The Qu-3-ara and Qu-3-glu contents of roasted cocoa beans observed in the present study were comparable to the values reported recently for natural and alkalinized cocoa powders [5]. The results of the present study are in accordance with earlier findings showing decreasing levels of quercetin glycosides and increasing levels of free quercetin in different plant materials during thermal processing [8]. However, to the best of our knowledge, this is the first report about the effect of roasting conditions on the flavanols content in cocoa beans. The available literature presents only changes in flavanols levels of different cocoa sources obtained by the typical manufacturing process. Similar to the results obtained in this work, Ortega et al. [8] reported that quercetin glycosides were gradually decreased in successive steps of cocoa powder manufacturing from roasted cocoa beans of the Forastero type from Ghana. They also found that the quercetin levels increase during the preparation of cocoa liquor from roasted cocoa nibs.

Table 4 Content of individual flavanols in cocoa beans of Forastero, Nacional, Trinitario, UAF, and T × UAF groups originating from various geographical regions after roasting at different conditions (μg/g ff-dw)

From the above results, the decrease in quercetin glycosides was in accordance with the increment in quercetin content. All of the analyzed cocoa types showed significantly higher quercetin concentrations after thermal processing compared to the initial values observed in raw cocoa beans. The content of quercetin in roasted cocoa beans differed greatly among the analyzed cocoa groups and ranged from 1.50 ± 0.07 µg/g ff-dw in the seeds of the Nacional group from Ecuador to 16.10 ± 0.10 µg/g ff-dw in the samples of the UAF hybrid clone from Ghana. This range is close to the values reported by Andres-Lacueva et al. [5] for different cocoa powders. The results imply that roasting of cocoa beans leads to a noticeable increase in the concentration of quercetin even at 110 °C. This rise might be caused by the thermohydrolysis or deglycosylation of the quercetin glycosides occurred during roasting process, which results in the release of quercetin aglycone [33, 34]. Our results also show that the air humidity has a considerable influence on the changes in the quercetin level. Accordingly, the greatest increase in this compound content was observed for cocoa beans roasted at higher temperatures (135 and 150 °C) when the RH was elevated. These samples showed from 1.9- to 10.9-fold higher quercetin concentrations than the raw cocoa beans. The lowest changes in quercetin levels were caused by roasting at 110 °C with a RH of 0.3 %. The similar behavior was reported for all of the studied groups. However, our results indicate that there is a significant varietal effect on the degrees of change in quercetin content during roasting. The higher increase in the level of this compound was observed in the samples of the Forastero group from Brazil, the Trinitario type from Venezuela, and UAF hybrid clone from Ghana compared with the other types. These differences may be attributed to an initial profile and levels of quercetin glycosides in these groups.

Conclusions

The results of this study indicate that the types and levels of phenolic compounds of cocoa beans vary depending on the cocoa types and are significantly affected by the roasting conditions. In addition, flavan-3-ols were found to be the main phenolic compounds in all of the cocoa groups, followed by anthocyanins. The cocoa beans of the Forastero group from Brazil and the Trinitario type from Venezuela clearly differed from the other groups, having the highest total and individual flavan-3-ols, anthocyanins, and flavanols contents. The phenolic compounds profile and levels vary markedly among the five analyzed cocoa types. The results obtained in this work and findings of other researchers provide evidence that roasting, in particular at high temperature, strongly affects the character of changes in concentrations of flavan-3-ols. Generally, it was observed that the sum of the individual flavan-3-ols, anthocyanins, and flavanols investigated decreased, as temperature of roasting air increased from 110 to 150 °C. With the exception of catechin and quercetin, increasing the temperature of the roasting process leads to degradation of epicatechin, procyanidin dimer B2, procyanidin trimer C1, both anthocyanins, and quercetin glycosides. The rise of catechin content can be attributed to the epimerization of epicatechin and/or decomposition of procyanidins due to the high temperature of roasting, whereas the quercetin levels increase as a result of deglycosylation of quercetin glycosides. The level of changes in these compounds during roasting of cocoa beans was influenced by RH. We found that the losses of epicatechin, procyanidin B2, procyanidin C1, and both anthocyanins were significantly lower when the relative humidity of air was increased up to 5.0 %. Moreover, the obtained results revealed that thermal processing at the higher temperatures and elevated air humidity resulted in the higher quercetin glycosides reduction and enhances catechin and quercetin aglycone presence in the roasted cocoa beans. Regarding anthocyanins degradation, the impact of roasting was more noticeable. Even though cyanidin 3-O-galactoside showed to be more stable than cyanidin 3-O-arabinoside, roasting at 135–150 °C almost fully degraded both anthocyanins.

Overall, these results indicate that processing conditions affect the levels of the individual flavan-3-ols, anthocyanins, and flavan-3-ols of cocoa beans and confirmed that roasting at lower temperatures (110–120 °C) with humid air (RH = 5.0 %) is more favorable in terms of preserving these beneficial compounds during cocoa beans roasting. In accordance with our findings, both raw and roasted cocoa beans may be considered as a good source of phenolic compounds for functional foods and nutritionals. Moreover, the variability found in the composition of polyphenols between diverse T. cacao groups shows that it is possible to increase content of these bioactive compounds in cocoa-derived products by choosing an appropriate cocoa type.