Insight into the Relationship between the Causes of Off-Odour and Microorganism Communities in Xuanwei Ham

To expound on the correlation between the microorganism communities and the formation of off-odour in Xuanwei ham, the microorganism communities and volatile compounds were investigated in the biceps femoris (BF) and semimembranosus (SM) of Xuanwei ham with different quality grades (normal ham and spoiled ham). The single molecule real-time sequencing showed that differential bacteria and fungi were more varied in normal hams than in spoiled hams. Headspace solid-phase microextraction–gas chromatography (HS-SPME-GC-MS) results indicated that aldehydes and alcohols were significantly higher in spoiled hams than those in normal hams (p < 0.05). The off-odour of spoiled hams was dominated by ichthyic, malodourous, sweaty, putrid, sour, and unpleasant odours produced by compounds such as trimethylamine (SM: 13.05 μg/kg), hexanal (BF: 206.46 μg/kg), octanal (BF: 59.52 μg/kg), methanethiol (SM: 12.85 μg/kg), and valeric acid (BF: 15.08 μg/kg), which are positively correlated with Bacillus cereus, Bacillus subtilis, Bacillus licheniformis, Pseudomonas sp., Aspergillus ruber, and Moraxella osloensis. Furthermore, the physicochemical property and quality characteristics results showed that high moisture (BF: 56.32 g/100 g), pH (BF: 6.63), thiobarbituric acid reactive substances (TBARS) (SM: 1.98 MDA/kg), and low NaCl content (SM: 6.31%) were also responsible for the spoilage of hams with off-odour. This study provided a deep insight into the off-odour of Xuanwei ham from the perspective of microorganism communities and a theoretical basis for improving the flavour and overall quality of Xuanwei hams.


Introduction
Xuanwei ham is one of the three well-known dry-cured hams in China and has gained much popularity among consumers due to its unique flavour, rich nutrition, and delicious taste [1].Recently, researchers have conducted in-depth studies on the functionality and absorption properties of bioactive peptides in Xuanwei ham, and it has been found that some of these peptides exhibit anti-hypertensive, antioxidant, and anti-inflammatory activities [2,3].Xuanwei ham is produced in the Xuanwei district of Yunnan province, where the distinctive climate attributes and intricate geographical features provide an optimal natural setting for its processes of salting, drying, fermentation, and ripening, promoting the formation of the unique flavour of Xuanwei ham [4].Salting and ripening are the crucial stages in the manufacturing of Xuanwei ham.The prolonged salting and ripening affect the biochemical and textural changes in muscles, albeit with varying degrees of intensity across different muscles [5].The biceps femoris (BF) and semimembranosus (SM) muscles exhibit differential responses under the given circumstances [6].The SM, as an external muscle, experiences accelerated dehydration and salt absorption during the initial phases of processing [6].The biceps femoris (BF), as an intramuscular muscle, Foods 2024, 13, 776 2 of 27 has a greater water content throughout its maturation, while the infiltration of salt into this muscle occurs at a comparatively advanced stage, specifically after a period of three months [6].As a result, the proteolytic activity in BF is more pronounced compared to SM, leading to notable impacts on the textural profile and flavour profile [7].
At present, the processing method employed for Xuanwei ham is the traditional, workshop-style processing process, which is susceptible to the influence of bad weather, severely detracting from the quality of the ham.During the processing, the biochemical and microbiological activities affect the quality of the ham [8].Different quality grades of ham may be produced due to the processing susceptibility of raw hams, even under consistent raw material and processing conditions [9].The determination of the commercial grade of Xuanwei ham typically involves the utilisation of a traditional evaluation method known as the "three sticks method" [10].This method entails inserting bamboo sticks into specific areas of the ham samples, namely the hip joint, knee joint, and sacral vertebra.Subsequently, professional technicians assess and score the odour attributes absorbed by these bamboo sticks [10].The classification of the quality grade of the ham is based on the evaluation of changes in odour characteristics and intensities [11].Proteolytic reactions and lipid oxidation are key processes in developing the characteristic flavour and quality grades of dry-cured ham [12].
The ham is typically subjected to an uncontrolled environment during processing, wherein numerous microorganisms are involved, notably bacteria and fungi originating from the raw materials and the surrounding surroundings [13].A variety of microorganisms are present both inside and on the surface of the dry-cured ham, which is considered to play a crucial role in flavour development by facilitating proteolytic reactions and lipid oxidation during the product processing procedure [14].Under specific circumstances, certain types of microorganisms undergo rapid proliferation inside or on the surface of the ham, resulting in the deterioration of the ham [15].The presence of an unpleasant odour, along with accompanying deviations in colour and texture, renders the ham in question unsuitable for consumption [16].Bacillus are ubiquitous and diverse in terrestrial and marine ecosystems, which facilitates their contamination of a variety of foods at different stages of the food chain [17].The genus Bacillus includes species such as Bacillus cereus, Bacillus licheniformis, and Bacillus subtilis.For more than 40 years, Bacillus cereus has been recognised as an agent of food poisoning and has been associated with foodborne emetic and diarrheal syndromes [18].Bacillus licheniformis has been associated with a variety of clinical syndromes and food poisoning events in humans, bovine toxaemia, abortions, and food spoilage events [19].Bacillus subtilis is not usually considered a human pathogen but may occasionally contaminate food and cause food poisoning [20].Total aerobic bacteria were higher in spoiled hams than in normal hams in the study of García et al. [21].Pseudomonas sp. and Moraxella osloensis are both aerobic bacteria often associated with spoiled meat [22,23].The corrosion of the hams is related to the proteolytic and lipolytic reactions in the ham, especially in which the odour generated is closely associated with the metabolic action of the microorganisms [10].Several studies have investigated the compositions and dynamics of microbial communities, as well as their impact on the production of volatile compounds in dry-cured ham [10,15,24,25].However, there is still a lack of comprehensive knowledge on the microbial diversity and flavour development of Xuanwei ham, especially the relationship between abnormal microbial growth and off-odour formation.Furthermore, no study comprehensively highlights the chemical, sensory, and volatile profiles of Xuanwei ham on the same experimental batch and comparatively on different muscles.
Recently, headspace solid-phase microextraction-gas chromatography-mass spectrometry (HS-SPME-GC-MS) has been widely used in the analysis of volatile compounds in meat products, offering a precise method for both qualitative and quantitative analysis of volatile compounds [26].Due to the complex composition of meat products, analytes need to be extracted before introduction into the chromatographic system.Solid-phase microextraction (SPME) is a potential food analysis sample preparation method due to its simplicity, speed, solvent-free nature, analyte separation, and preconcentration [27].
Foods 2024, 13, 776 3 of 27 HS-SPME-GC-MS has been widely used in the investigation of meat products, including the analysis of volatile profiles in fermented sausages and dry-cured hams [28,29].
Therefore, the aim of this study was to investigate the composition and diversity of microorganism communities and volatile compounds in the BF and SM muscles of Xuanwei ham with different quality grades (normal ham and spoiled ham).Meanwhile, comparisons of the physicochemical properties and quality characteristics of hams were also conducted.Furthermore, the potential correlations between core microorganisms and major volatile compounds were explored, and the core bacteria responsible for the off-odour of the Xuanwei ham were determined.This study may be helpful for regulating the spoilage in the production of Xuanwei hams and improving the flavour and quality consistency.

The Sampling of Xuanwei Ham
Xuanwei hams were manufactured according to Hu et al.'s processing procedures [30] with minor modifications.Briefly, the raw hind legs of pork were first trimmed and cut to remove blood stains and dirt.Then, they were salted in four stages.After each salting, the legs were classified and piled up.After a period of two months, the surface salt was washed off and dried until no water remained.The fermentation and ripening process lasted for 12 months.All of these procedures were conducted at D&H (Co., Ltd., Xuanwei City, China).The ripened Xuanwei hams were classified into four grades using the "three sticks" method, which involved assessing the intensity of the odour by smelling bamboo sticks.The hams that exhibited an intense meaty aroma in all three designated areas were classified as first-grade hams.The hams that exhibited an intense meaty aroma in two of the designated areas and in the remaining areas that did not exhibit any off-odours were classified as second-grade hams (normal hams).The hams that exhibited an intense meaty aroma in one of the designated areas and the other two remaining areas that did not exhibit any off-odours were classified as third-grade hams.Finally, the fourth-grade hams, referred to as spoiled hams, were identified by the presence of an intense off-odour in one of the three designated areas.Six hams were selected in a random manner from normal and spoiled hams, respectively.All hams were produced from the same batch under the same external conditions and processes.The outermost layers (approximately 0.5 cm) of Xuanwei hams were removed.Subsequently, the BF and SM muscles were quickly separated for further analysis.

Determination of pH, Moisture Content, Water Activity (a w ), and NaCl Content
The muscles were homogenised in a blender to measure the pH, moisture, aw, and NaCl content, respectively.The pH was measured with a pH metre (PHS-25, Shanghai INEIDIAN Scientific Instrument Co., Ltd., Shanghai, China).The moisture content was determined according to the method of Marusic et al. [31].The a w was measured using a LabMaster water activity metre (LabMaster, Novasina, Switzerland) according to the method of Zhu et al. [15].The NaCl content was determined using atomic absorption spectrometry (AAS, Agilent Technologies, Santa Clara, CA, USA) according to the method of Gamela et al. [32].

Determination of Texture Profile
The texture profile analysis (TPA) was carried out using a texture analyser (TA-XT.Plus, Stable Micro Systems Ltd., Godalming, UK) according to the method of Liao et al. [33] with some modifications.The BF and SM muscles were cut into pieces (10 mm × 10 mm × 10 mm).
The TPA analysis was performed under the following measurement parameters: P50 probe (50 mm diameter), pre-test speed 1.0 mm/s, test speed 1.0 mm/s, post-test speed 5.0 mm/s, trigger force 30.0 g, and strain 70%.

Determination of Colour
The colour was measured using a Hunterlab Agera colourimeter (Hunter Associates Laboratory Inc., Reston, VA, USA) according to the method of Marusic et al. [31].The values expressed as L*-value (lightness), a*-value (redness), and b*-value (yellowness) were obtained from three different cut areas of each muscle.

Sensory Evaluation
The sensory analysis was performed according to the description of Hersleth et al. [34], with some modifications.Xuanwei ham was evaluated for red colour, lightness, hardness, meaty, unpleasant odour, and overall acceptance.Before the sensory evaluation, twenty panellists (10 males and 10 females, 21-25 years old) were chosen from a group of teachers, staff, and graduate students who have participated in professional sensory training courses.Sensory attributes were evaluated using a 10-point intensity line scale: red colour, 1 = pale and 10 = dark red; lightness, 1 = dull and 10 = bright; hardness, 1 = hard or loose and 10 = moderate toughness; meaty odour, 1 = nondetectable and 10 = intense; unpleasant odour, 1 = nondetectable and 10 = intense; overall acceptability, 1 = unacceptable and 10 = very favourite.Ham slices (1-mm thick) were served randomly on white plastic plates, labelled with randomised 3-digit numbers, and evaluated in a sensory chamber at 20-22 • C. Between successive ham samples, the panellists were given approximately 50 mL of water.The panellists were asked to indicate the appropriate scale point based on the intensity of their perception of each attribute.

Determination of Thiobarbituric Acid Reactive Substances
Lipid oxidation was assessed by thiobarbituric acid reactive substances (TBARS) as described by Wang et al. [37] with minor modifications.TBARS values, expressed as mg/kg muscle of malondialdehyde, were calculated using the following equation: TBARS (mg/kg) = (A 532 /Ws) × 9.48 where A532 was the absorbance (532 nm) of the assay solution, Ws was the muscle weight (g), and "9.48" was a constant derived from the dilution factor and the molar extinction coefficient [152,000 (mol/L) −1 cm −1 ] of the TBA reaction product.

Determination of Volatile Compounds
Volatile compounds in Xuanwei hams were determined using headspace-solid phase microextraction (HS-SPME) combined with gas chromatography-mass spectrometry (GCMS-QP 2020 NX, Shimadzu Co., Kyoto, Japan).The minced ham (3.00 g) was put into a sealed headspace vial (VFAP-606050F-18M-100, CNW Technologies, Shanghai, China) with added 1 µL 1,2-dichlorobenzene as the internal standard.Subsequently, the 50/30-µm-thick divinylbenzene/carboxen/polydimethylsiloxane (DVB/CAR/PDMS) fibre (57328-U, Supelco Inc., Bellefonte, PA, USA) was exposed to the headspace of a headspace vial for extraction at 45 • C for 40 min.Finally, the volatile compounds absorbed were desorbed in the GC injector at 240 • C for 5 min, identified, and quantified using the GC-MS system equipped with a DB-WAX (30 m × 0.25 mm × 0.25 µm, Agilent Technologies, Santa Clara, CA, USA).The GC oven temperature programme was as follows: first increase, 40 • C for 3 min, 3 • C/min to 90 • C for 5 min; second increase, 3 • C/min to 200 • C; and third increase, 15 • C/min to 230 • C for 5 min; split ratio of 5:1.The flow rate of the high-purified helium as the carrier gas was 2.0 mL/min.The mass spectrum parameters were electron ionisation mode at 70 eV and a scanning range of m/z 35-500.The MS ion source and quadrupole temperatures were 200 • C and 230 • C, respectively.
Volatile compounds were identified by comparing the mass spectra with reference mass spectra from the NIST21 library data with a similarity of 90%.For further confirmation, the retention index (RI) was calculated using a mixture of n-alkanes (C 5 -C 25 ).Finally, the odour activity value (OAV) of the volatile compounds was calculated according to Chen et al.'s method [38].

Determination of Microbial Diversity
Total genomic DNA from the Xuanwei ham was extracted using the CTAB/SDS method [39] and monitored using 1% agarose gels.For bacteria, 16S rRNA, the front primer was using 27F(5 ′ -AGAGTTTGATCMTGGCTCAG-3 ′ ) and the reverse primer was used 1492R(5 ′ -ACCTTGTTACGACTT-3 ′ ).For fungi, ITS rRNA was amplified.The front primer, ITS1F(5 ′ -CTTGGTCATTTAGAGGAAGTAA-3 ′ ), and the reverse primer, ITS2 (5 ′ -GCTGCGTTCTTCATCGATGC-3 ′ ) were used.PCR products were detected on a 2% agarose gel and further purified using the QIAquick@ Gel Extraction Kit (QIAGEN, Hilden, Germany).Sequencing libraries were prepared for the 16S rRNA gene and the ITS rRNA gene using the SMRTbellTM Template Preparation Kit (PacBio, Menlo Park, CA, USA).Both libraries were sequenced on the PacBio Sequel platform, and the raw sequences obtained were multiplexed and quality-filtered through the PacBio SMRT portal.Potential chimeras were removed using the UCHIME algorithm, resulting in clean sequences.These sequences were then assigned to operational taxonomic units (OTUs) using UPARSE with a 97% identity threshold.The classification of each representative sequence was assigned using the SSUrRNA database from the Silva Database.

Statistical Analysis
All experiments were independently carried out at least three times, and the results were expressed as mean ± standard deviation (SD).Statistical analyses were carried out with SPSS Statistics 25.0 software (IBM, Chicago, IL, USA).The data were shown as mean ± standard deviation.All the data obtained were submitted to analysis of variances (ANOVA), and the means were compared using the Tukey test (p < 0.05).Radar plots, principal component analysis (PCA) plots, histograms, and clustered heat maps were plotted using Origin2021.LEfSe, Wayne plots, and bimatrix clustered correlation heatmaps were plotted using the OmicStudio tool at https://www.omicstudio.cn/tool/(accessed on 8 November 2023).

Sensory Evaluation of Xuanwei Ham
Radar charts of sensory evaluation (red colour, lightness, meaty, hardness, unpleasant odour, and overall acceptance) for the SM and BF of both normal and spoiled hams are shown in Figure 1.The overall acceptance of normal hams (N−BF and N−SM) was significantly higher than that of spoiled hams (S−BF and S−SM) (p < 0.05).Within the same muscle, the red colour, lightness, and unpleasant odour of spoiled hams (S−BF and S−SM) were significantly higher than those of normal hams (N−BF and N−SM) (p < 0.05), while the meaty and hardness scores of spoiled hams were lower (p < 0.05).This may be due to the fact that some unpleasant and pungent odours were larger and masked the aroma of the ham [40].Within the same quality grade of ham, red colour and lightness scores were found to be significantly higher (p < 0.05), and hardness scores were significantly lower (p < 0.05) in BF than in SM, which may be due to the different biochemical reactions occurring at the two muscles as well as different microbial activity [5].However, no significant difference was found between the SM and BF in terms of meaty and overall acceptance (p > 0.05).
ant odour, and overall acceptance) for the SM and BF of both normal and spoiled ha are shown in Figure 1.The overall acceptance of normal hams (N−BF and N−SM) w significantly higher than that of spoiled hams (S−BF and S−SM) (p < 0.05).Within the sa muscle, the red colour, lightness, and unpleasant odour of spoiled hams (S−BF and S−S were significantly higher than those of normal hams (N−BF and N−SM) (p < 0.05), wh the meaty and hardness scores of spoiled hams were lower (p < 0.05).This may be due the fact that some unpleasant and pungent odours were larger and masked the aroma the ham [40].Within the same quality grade of ham, red colour and lightness scores w found to be significantly higher (p < 0.05), and hardness scores were significantly lower < 0.05) in BF than in SM, which may be due to the different biochemical reactions occurri at the two muscles as well as different microbial activity [5].However, no significant d ference was found between the SM and BF in terms of meaty and overall acceptance ( 0.05).

Moisture, aw, pH, and NaCl Content Analysis
The physicochemical properties of the SM and BF muscles of both normal a spoiled hams are shown in Table 1.It was found that spoiled hams had significantly high (p < 0.05) moisture contents (49.98-56.32g/100g) than normal hams (39.44-46.88g/100 in the same muscle.This result was consistent with the finding of Blanco et al. [41], w found that the moisture content was significantly higher in Spanish hams with bone ta than in normal Spanish hams, indicating that higher moisture content may be one of t causes of ham spoilage.The moisture content of BF was significantly higher than that SM in hams of the same quality grade (p < 0.05), which could be due to their different pa

Moisture, a w , pH, and NaCl Content Analysis
The physicochemical properties of the SM and BF muscles of both normal and spoiled hams are shown in Table 1.It was found that spoiled hams had significantly higher (p < 0.05) moisture contents (49.98-56.32g/100g) than normal hams (39.44-46.88g/100 g) in the same muscle.This result was consistent with the finding of Blanco et al. [41], who found that the moisture content was significantly higher in Spanish hams with bone taint than in normal Spanish hams, indicating that higher moisture content may be one of the causes of ham spoilage.The moisture content of BF was significantly higher than that of SM in hams of the same quality grade (p < 0.05), which could be due to their different parts in dry-cured ham [31].The SM is located on the surface and is more susceptible to environmental influences, while the BF is wrapped by the SM and subcutaneous fat, rendering it less susceptible to environmental factors [31].Consequently, the BF had a lower water loss compared to the SM.
a w is the state in which water exists in the system, representing the degree to which it is bound (or degree of freedom) [15].The higher the a w , the lower the degree of binding [15].In this study, the a w of spoiled hams ranged from 0.87 to 0.88, while that of normal hams ranged from 0.74 to 0.75.This indicates that the degree of binding of spoiled hams is lower than that of normal hams.Previous research has shown that when a w > 0.83, dry-cured hams are more susceptible to microbial contamination, which can lead to ham spoilage [42].Therefore, controlling a w during the processing of ham can effectively inhibit the growth of most microorganisms [15].Wu et al. [43] demonstrated that a w decreased with the increasing ripening time of the Laowo ham.The a w of Laowo ham reached 0.74 after undergoing a 9-month maturation period, which exhibited similarity to the results of normal Xuanwei ham ripened for one year in this study.A,B) indicate significant differences between hams with different quality grades for the same muscle (p < 0.05), and different lowercase letters (a,b) indicate significant differences between different muscles for the ham with the same quality grade (p < 0.05).SM: Semimembranosus; BF: Biceps femoris; TBARS: lipid oxidation was assessed by thiobarbituric acid reactive substances; Results expressed as mean ± standard deviation (n = 6).
The pH of the spoiled hams ranged from 6.45 to 6.64, whereas the pH of the normal hams ranged from 5.74 to 5.79.These results are similar to the findings of Zhu et al. [15] in Mianning hams, who found the pH of normal ham was approximately 5.93, whereas that of deeply spoiled ham was around 6.51.According to Bosse et al. [44], microorganisms were more suitable for colonisation on dry-cured hams when pH > 6.0, indicating that spoiled hams were more susceptible to microbial influences.
The salting process of Xuanwei ham involved four stages: first at 4%, then at 3%, then at 2.0% and finally at 1.0%.Conducting salting in multiple stages facilitated salt penetration, while the subsequent drying process caused significant water loss from the ham, leading to an increase in salt concentration [31].The NaCl content in normal hams was significantly higher (p < 0.05) compared to that in spoiled hams in the same muscle, which may be related to salt penetration during the curing and the rate of air drying [31].The lower the salt content, the greater the water retention capacity of the ham, resulting in the higher moisture content observed in spoiled hams.Additionally, Lin et al. [45] found that a low salt content could result in an increase in pH, which was consistent with the pH results.For hams with the same quality grade, the salt content of the BF was significantly higher than that of the SM (p < 0.05).This finding aligns with the study by Ruiz-Ramírez et al. [46], who found that the SM was subjected to a higher salt concentration during salting, underwent more dehydration during the curing process, and exhibited a higher salt content compared to the BF muscle after drying.The salt concentration remained constant across the entire surface of the ham during the initial production process [31].Due to the presence of a concentration gradient, the salt diffused from the SM (with a higher content) to the BF, leading to the BF, which contained more water, also exhibiting a higher salt concentration [31].

Lipid Oxidation Analysis
To examine the quality difference between spoiled and normal hams, we analysed the degree of lipid oxidation (Table 1).Lipid oxidation may alter the colour, flavour, texture, and nutritional content of foods [47].Within the same muscle, the spoiled hams exhibited significantly higher TBARS values compared to the normal hams (p < 0.05).Generally, a TBARS value below one is considered acceptable for lipid oxidation; a TBARS value above one suggests excessive oxidation, potentially leading to rancidity in meat products [48].In this study, the low TBARS value in normal ham indicated a low degree of oxidation, which contributed to the unique aroma of Xuanwei ham.The high TBARS value of spoiled ham, indicating a higher degree of lipid oxidation, produced a strong rancid flavour, which may be one of the reasons for the off-flavour of spoiled hams [49].Similar results were observed in the Jinhua hams [9] and Mianning hams [15], demonstrating significantly higher TBARS value in spoiled hams compared to those in normal hams.Generally, the Foods 2024, 13, 776 8 of 27 development of lipid oxidation in dry-cured hams relies on a number of factors, such as the raw material composition and characteristics, the processing conditions and the amount and type of additives and ingredients added to the product [50].In this study, the difference between the spoiled ham and the normal ham might have correlations with the materials and processing environment [51].Within the same quality grade, the TBARS value of SM was significantly higher than that of BF (p < 0.05).This higher TBARS value in SM could stem from its surface location, increasing its exposure to oxygen and susceptibility to oxidation [52].These results affirm TBARS as a crucial indicator for assessing the quality of both spoiled and normal hams [53].

Textural Profile Analysis
Texture plays a crucial role in evaluating the quality of hams.The correlation between protein hydrolysis and the texture of dry-cured hams has been established during the production process, whereby the curing and ripening stages have been recognised as the primary factors impacting protein hydrolysis and the resulting texture of dry-cured hams [54].The results of hardness, springiness, cohesiveness, chewiness, and resilience for SM and BF of both normal and spoiled hams are shown in Table 2.In this study, the normal ham had significantly greater hardness than the spoiled ham in the same muscle (p < 0.05), which was inextricably linked to its low moisture content, pH, and high salt concentration.According to Ruiz-Ramirez et al. [55], dry-cured ham with a lower pH was harder than those with a higher pH at the same moisture content and harder as the moisture content decreased.It was also observed that the hardness of the ham significantly decreased when the salt concentration was reduced from 1.5% to 0.75% [56].Within the same quality grade, the SM exhibited significantly higher hardness compared to the BF (p < 0.05), which may be attributed to the fact that the SM had a lower water content than the BF.This finding was consistent with the results of Slovenian and Serta [5,57] on different muscle types of dry-cured hams.Generally, the chewiness varied in line with hardness [58].In this study, compared to the spoiled ham, the normal ham had higher chewiness and springiness in the same muscle (p < 0.05).However, the difference in springiness in different muscles was not significant (p > 0.05), which agreed with the results in Slovenian dry-cured ham [59].A,B) indicate significant differences between hams with different quality grades for the same muscle (p < 0.05), and different lowercase letters (a,b) indicate significant differences between different muscles for the ham with the same quality grade (p < 0.05).SM: Semimembranosus; BF: Biceps femoris.L*: lightness, a*: redness, b*: yellowness.Results are expressed as mean ± standard deviation (n = 6).

Colour Analysis
The colour is one of the most important indicators for evaluating the quality of dry-cured ham and affects consumer acceptability.The main colour-developing substances in hams are myoglobin-like and haemoglobin and their derivatives [60].The results of L*, a*, and b* of normal and spoiled Xuanwei hams are shown in Table 2. Within the same muscle, the L* value of normal hams was significantly lower than that of spoiled hams (p < 0.05), which was attributed to the increase in pigment concentration caused by the reduction of moisture content Foods 2024, 13, 776 9 of 27 in dry-cured hams, finally leading to the decrease of L* values [61].Within the same quality grade, the L* value of SM was significantly lower than that of BF muscle (p < 0.05).
Within the same muscle, the a* value of normal ham was significantly lower than that of spoiled ham (p < 0.05).According to Jens et al. [62], who conducted a spectral analysis of pigmented substances in Parma ham, this difference may be attributed to the increase in fermentation and ripening time, which led to the production of a large number of pigments.However, these pigments are not nitroso-myoglobins; they may be some trivalent iron-containing ionic compounds that are oxidatively stable [15].The a* values of BF were significantly higher than those of SM (p < 0.05) in hams of the same quality grade, indicating that BF exhibited a redder colour than SM.The a* values were related to the air-drying process of dry-cured hams [63], where SM was in the process of stronger surface dehydration than BF, and SM had a significantly lower moisture content than BF (p < 0.05), and this may explain the observed difference in colour between BF and SM.
The b* value is typically unstable during processing but gradually stabilises during the maturation stage [31].The b* values in spoiled hams were significantly higher (p < 0.05) compared to normal hams within the same muscle.The increase in b* value may be attributed to the yellow pigmentation resulting from the reaction between the products of lipid oxidation and the amines in the phospholipid head group or the proteins [15].The b* values in fresh pork patties also showed an increase with higher lipid oxidation, as observed by Chang et al. [64].Within the same quality grade, BF had higher L*, a*, and b* values compared to SM, which is consistent with the results of sensory evaluations and previous studies by Gou et al. [65] and Cilla et al. [66].

E-Nose Analysis
The E-nose is sensitive to aromas in samples, and slight changes in volatile compounds may result in differences in sensor response [36].As seen in Figure 2A, the W1S sensor exhibited the strongest response to volatile compounds in the spoiled ham.Furthermore, the W6S, W2S, and W3S sensors also showed strong responses to volatile compounds in spoiled hams, indicating a potentially higher concentration of methyl groups and alcohols in these samples.Conversely, the W1C, W3C, and W5C sensors demonstrated stronger responses to normal hams compared to spoiled hams, suggesting a higher presence of aromatic compounds in normal hams.The e−nose was employed to differentiate between normal and spoiled hams, as well as Xuanwei hams with different muscle types.
The PCA results are presented in Figure 2B.The first principal component (PC1) accounted for 74.9% of the sample variance and displayed a positive correlation with W5S, W6S, W1S, W1W, W2S, and W3S.The second principal component (PC2) explained 20.1% of the variance and exhibited a positive correlation with W3C, W6S, W5C, W1S, W1W, W2S, and W2W.The sample distribution demonstrated that PCA effectively differentiated the samples.Normal hams mainly occupied the second and third quadrants, positively correlating with the W1C, W3C, W5C, and W2W sensors, which indicated an abundance of aromatic, short-chain alkanes and sulphur-chlor compounds.Conversely, spoiled hams were predominantly located in the first and fourth quadrants and positively correlated with the W1W, W1S, W2S, W3S, W5S, and W6S sensors, indicating prevalent compounds such as methyls, sulphides, alcohols, aldehydes, and ketones.PC1 effectively discriminated between normal hams and spoiled hams, while PC2 distinguished between SM and BF.Consequently, the e-nose is an effective tool for distinguishing different quality grades of Xuanwei ham.However, identifying the specific compounds in these samples remained challenging.

Volatile Compounds Content
The volatile compound contents in the SM and BF of normal and spoiled Xuanwei ham are shown in Table 3.A total of 89 volatile compounds were detected, including 21 alcohols, 19 esters, 15 aldehydes, 9 acids, 7 ketones, 3 alkanes, 4 pyrazines, 4 aromatics, 3 terpenes and 4 other compounds.Alcohols are one of the most abundant volatile compounds in dry-cured ham [40], with a total of 21 alcohols identified.Straight-chain fatty alcohols are formed through lipid oxidation reactions, while methyl-branched alcohols may result from the strecker degradation of amino acids [67].Due to their low threshold, alcohols are often considered crucial contributors to the characteristic flavour of dry-cured meat products [68].In this study, higher levels of alcohol were found in spoiled hams, where the total alcohol content in the BF of normal hams was higher than that of SM (p < 0.05), consistent with a previous study on different muscles of Slovenian dry-cured hams [5].Among the detected alcohols, ethanol exhibited the highest content (p < 0.05).Due to its relatively high odour threshold, ethanol has been deemed insignificant in the overall flavour contribution of Jinhua ham [69].It is noteworthy that methanethiol, characterised by a sewage odour and rotten cabbage scent, was exclusively present in spoiled ham [70].
According to a previous report by Forss, D. [71], intramuscular fat in meat plays an important role in preserving flavour by acting as a solvent for flavour compounds within the muscle tissue and facilitating subsequent reactions.Esters primarily form through the esterification reactions of carboxylic acids and alcohols.Short-chain esters contribute to fruity flavours, whereas long-chain esters are associated with fatty flavours [72].The content of esters is generally low in Spanish and French dry-cured hams but higher in Italian Parma ham and homemade ham [73].This may be due to the fact that nitrates, which inhibit lipid oxidation, are absent in the processing of Parma ham but are added to Spanish and French hams [74].In this study, Xuanwei ham exhibited a higher ester content, likely also due to the absence of nitrate usage [60].Moreover, the ester content was higher in the spoiled ham compared to the normal ham (p < 0.05), consistent with a previous study on spoiled Jinhua ham [49].Within the same quality grade of ham, BF showed higher ester content than SM, which is consistent with the results of a study on different muscles in smoked dry-cured ham [31].Methyl isovalerate, ethyl isovalerate, and methyl pentanoate were identified as important odour-active esters in spoiled ham [49].Similarly, in this study, ethyl isovalerate and methyl pentanoate were found to be higher in the BF of spoiled ham, while ethyl isovalerate was more abundant in the SM of spoiled ham.
Aldehydes play a crucial role in contributing to the overall flavour of dry-cured hams due to their low odour threshold [75].Straight-chain aldehydes are mainly generated through autoxidation and oxidative deamination-decarboxylation of unsaturated fatty acids, while branched-chain aldehydes are predominantly produced through strecker degradation of amino acids [76].In this study, the total aldehyde content is higher in spoiled hams compared to normal hams, potentially due to increased lipid oxidation and higher TBARS values in spoiled hams.Furthermore, this difference in aldehyde content might be influenced by the salt content in the ham.Previous findings have shown that smoked dry-cured hams with higher salt content during later stages of ripening exhibit lower aldehyde content [77].The total aldehyde content of normal ham from the same muscle was significantly lower (p < 0.05) than that of spoiled ham in this study, potentially attributed to the high salt content in normal ham and its inhibitory effect on lipid oxidation [15].The most abundant straight-chain aldehydes identified in Xuanwei ham were hexanal, nonanal, octanal, and heptanal, which originated from the oxidation of unsaturated fatty acids [78].High levels of hexanal can result in an unpleasant, pungent, and putrid odour in dry-cured hams, while nonanal and octanal can contribute to unpleasant odours such as fat, oil, rancid or fried during ham maturation [79,80].The present study showed that spoiled hams exhibit a high hexanal content, implying that it may be the main factor contributing to the spoiled flavour of Xuanwei hams [40].Furthermore, the aldehyde content of BF was higher than that of SM, possibly due to the more intense drying and ripening processes involved in SM compared to BF.During this process, aldehydes can be converted into other volatile or non-volatile compounds [81].This finding aligns with a study on Slovenian dry-cured hams [5], demonstrating a significantly higher aldehyde content in BF compared to SM (p < 0.05).According to a previous report by Forss, D. [71], intramuscular fat in meat plays an important role in preserving flavour by acting as a solvent for flavour compounds within the muscle tissue and facilitating subsequent reactions.Esters primarily form through the esterification reactions of carboxylic acids and alcohols.Short-chain esters contribute to fruity flavours, whereas long-chain esters are associated with fatty flavours [72].The content of esters is generally low in Spanish and French dry-cured hams but higher in Italian Parma ham and homemade ham [73].This may be due to the fact that nitrates, which inhibit lipid oxidation, are absent in the processing of Parma ham but are added to Spanish Acids play a significant role in contributing to the unique flavour of dry-cured ham [82].In this study, the total acid content was significantly higher in spoiled ham compared to normal ham (p < 0.05).Among them, hexanoic acid, isovaleric acid, and valeric acid were the main acids in spoiled ham, while only hexanoic acid was detected in normal ham.The higher acid content in spoiled ham can be attributed to the microbial fermentation of free amino acids through the Strecker reaction, resulting in the production of acids [40].According to Wang et al. [83], the acids contributed to a sweaty, cheesy, putrid, and sour odour.Therefore, the flavour difference between normal ham and spoiled ham in Xuanwei ham may stem from the presence of acids.There was no significant difference in acid content between the SM and the BF of normal hams, whereas a significant difference was observed in acid content between the SM and the BF of spoiled hams (p < 0.05).
Ketones are formed through lipid autoxidation or microbial metabolism [84].They contribute to the aroma of dry-cured hams and have a fatty flavour associated with cooked meat and blue cheese odours [67].In this study, 3-hydroxy-2-butanone was the main ketone of spoiled ham and normal ham.The results are consistent with previous findings on Iberian dry-cured hams [85], where 3-hydroxy-2-butanone was found in higher amounts in spoiled hams compared to normal hams.However, it should be noted that in Jinhua hams, 3-hdroxy-2-butanone was shown not to be key in differentiating between normal and spoiled ham [16].The total ketone content in the BF of normal ham was higher than that in spoiled ham, with most of the ketones originating from microbial metabolism, specifically carbohydrate fermentation, lipid and ethyl ester oxidation, and amino acid catabolism [86].Additionally, it was found that the ketone content was higher in BF than in SM in hams of the same grade quality (p < 0.05).Similar results were reported in Slovenian dry-cured hams, which were the result of fatty acid oxidation [5].
Alkanes, aromatics, and terpenes are classified as volatile compounds with higher odour thresholds that do not significantly contribute to flavour [31].Our findings indicated that alkanes, pyrazines, and terpenes were present in higher content in normal ham compared to spoiled ham (p < 0.05).Conversely, aromatic compounds were found at higher levels in spoiled ham (p < 0.05).The main aromatic compounds detected in spoiled ham were p-xylene and o-xylene, which could potentially originate from the pig feed in Iberian dry-cured hams [87].It is worth mentioning that an increase in aromatic compounds during maturation has been observed in dry-cured meat products and media inoculated with microorganisms [85].Moreover, the levels of these compounds varied among samples of dry-cured ham inoculated with different microorganisms obtained from different locations [88].
It was worth mentioning that trimethylamine occurred among other volatile compounds and was detected only in spoiled ham.Trimethylamine belonged to the group of biogenic amines, which were degradation products produced by bacteria in meat products [89].Trimethylamine has a rancid, fishy, fishy odour that is unacceptable and easily detectable with a low odour threshold [90].

Major Volatile Compounds Analysis
To further examine the difference in the contribution of volatile compounds to the overall flavour profile of normal Xuanwei ham and spoiled Xuanwei ham, the OAV of each compound was calculated using the content of each volatile compound and the odour threshold value (OTV) obtained from previous literature [49].It is generally accepted that volatile compounds play a greater role in the overall flavour when OAV ≥ 1 [91].A total of 26 major volatile compounds (Table 4), including 6 aldehydes, 4 alcohols, 1 ketone, 9 esters, 3 acids, and 3 other compounds, were identified as significantly impacting the overall flavour profile of Xuanwei ham based on OAV.Specifically, 3-methyl butanal and hexanal were the primary contributors to flavour in normal ham.According to Zhou et al. [92], 3-methyl butanal imparted a malty aroma, providing a unique flavour to buckwheat honey.It is worth noting that 3-(methylthio)propionaldehyde contributed to the flavour of normal ham.Previous research by Etschmann et al. [93] showed that 3-(methylthio)propionaldehyde exhibited a strong odour reminiscent of soup, meat, onions, and potatoes.In this study, trimethylamine, methanethiol, hexanal, valeric acid, and hexanoic acid were found to have a significant impact on the flavour composition of spoiled ham.Among them, trimethylamine, methanethiol, and valeric acid were exclusive to spoiled ham.Trimethylamine contributed to a putrid fish flavour and fishy smell [90], methanethiol yielded an objectionable flavour [94], and valeric acid imparted a malodourous odour to spoiled ham [95].The presence of these volatile compounds, which produce unpleasant odours, maybe the key factor responsible for the critical flavour differences between normal Xuanwei ham and spoiled Xuanwei ham.The single molecule real-time sequencing was utilised to analyse normal Xuanwei hams and spoiled Xuanwei hams at the bacterial genus and species levels, as well as to study the bacterial microbial community structure of Xuanwei hams with different quality grades and muscle types (Figure 3).At the genus level (Figure 3A), 142 bacterial genus were identified, with the top 20 dominant bacterial genus being Staphylococcus, Ralstonia, Chromohalobacter, Sphingomonas, Bacillus, Pseudomonas, Kushneria, Salimicrobium, Tetragenococcus, Halomonas, Cutibacterium, Acinetobacter, Macrococcus, Haloimpatiens, Cobetia, Moraxella, Psychrobacter, Bradyrhizobium and Lactococcus.In normal Xuanwei ham, Staphylococcus was the most abundant genus in both BF and SM, similar to Parma ham [11], followed by Ralstonia (13%) in the BF and Chromohalobacter (26%) in the SM.In contrast, Bacillus (39-41%) was the dominant genus in both BF and SM in spoiled hams, indicating a significant difference in the microbial community structure between normal and spoiled ham.It is worth mentioning that more Lactococcus were found in spoiled hams compared to normal hams (p < 0.05), consistent with a previous study by García et al. [21].At the species level, the number of shared and unique OTUs between different samples was analysed, and a Venn diagram was plotted based on the results of OTU cluster analysis (Figure 3B).A total of 174 bacterial species were identified, with six species found in both the SM and BF of normal and spoiled hams.The clustered heat map at the species level (Figure 3C) revealed a significant difference between normal and spoiled hams, with Staphylococcus equorum being the dominant bacterial species in normal hams and differing significantly from spoiled hams.This finding is consistent with a previous study by Landeta et al. [24] on normal Spanish dry-cured hams.In spoiled hams, Bacillus cereus, Bacillus subtilis, and Bacillus licheniformis were the predominant species, and Bacillus cereus is known to be a significant cause of foodborne illness in humans [96], causing both gastrointestinal and non-gastrointestinal illnesses [97].

Fungal Diversity Analysis
Figure 4A shows the top 20 dominant fungal genus in normal and spoiled hams: Aspergillus, Wallemia, Meyerozyma, Yamadazyma, Fungi_gen_Incertae_sedis, Alternaria, Malassezia, Pleurotus, Penicillium, Blumeria, Kurtzmaniella, Debaryomyces, Starmerella, Scheffersomyces, Wickerhamiella, Schizophyllum, Eupenidiella, Cystofilobasidium, Diatrypaceae_gen_Incer-tae_sedis and Aureobasidium.Wallemia was the most dominant fungal genus in normal hams, accounting for 60-73%, which is consistent with normal Nuodeng hams [99].Meanwhile, Aspergillus was the most dominant fungal genus in spoiled hams, comprising 41-88%.It has been discovered that Aspergillus is the sole representative of the Aspergillus genus identified in spoiled ham; however, this species is typically not present in dry-cured ham.As a result, the presence of Aspergillus in spoiled ham may be attributed to contamination of the ham surface following contact with the surrounding environment [100].From the Wayne diagram (Figure 4B), a total of 34 fungal species were identified, with eight species found in both the SM and BF in normal and spoiled hams.The clustered heat map at the species level (Figure 4C) revealed a significant difference distinguishing normal and spoiled hams.The most dominant fungal species in normal hams was Wallemia ichthyophaga, which was significantly and positively correlated with arginine, phenylalanine, leucine, isoleucine, and methionine in a study on Jinhua ham [25].In contrast, Aspergillus ruber was the most dominant fungal species in spoiled hams.Interestingly, it is popular because it contains a substantial amount of secondary metabolites belonging to various classes, some of which show promising biological activities [101].In healthy pigs, spoilage bacteria are not present inside the muscle.The entry of spoilage bacteria into the deeper layers of the muscle may occur in two ways.One is that the bacteria first grow on the surface of the leg and then penetrate internally; the other is that the bacteria enter the deeper layers of the muscle directly from the outside for various reasons [98].One of the most likely ways that spoilage bacteria get into hams is through the leg meat getting contaminated when it is killed and split.These microorganisms get into the deeper part of the muscle through muscle wounds or through blood that does not drain from the blood vessels in time to reach the inner muscle [98].Therefore, the main measures to prevent spoilage of dry-cured hams in industrialised production are to maintain environmental hygiene in the slaughtering and splitting of pigs, to drain the residual blood in the blood vessels of the carcasses, and to be careful, especially during the slaughtering of pigs.

Fungal Diversity Analysis
Figure 4A shows the top 20 dominant fungal genus in normal and spoiled hams: Aspergillus, Wallemia, Meyerozyma, Yamadazyma, Fungi_gen_Incertae_sedis, Alternaria, Malassezia, Pleurotus, Penicillium, Blumeria, Kurtzmaniella, Debaryomyces, Starmerella, Scheffersomyces, Wickerhamiella, Schizophyllum, Eupenidiella, Cystofilobasidium, Diatrypaceae_gen_Incertae_sedis and Aureobasidium.Wallemia was the most dominant fungal genus in normal hams, accounting for 60-73%, which is consistent with normal Nuodeng hams [99].Meanwhile, Aspergillus was the most dominant fungal genus in spoiled hams, comprising 41-88%.It has been discovered that Aspergillus is the sole representative of the Aspergillus genus identified in spoiled ham; however, this species is typically not present in dry-cured ham.As a result, the presence of Aspergillus in spoiled ham may be attributed to contamination of the ham surface following contact with the surrounding environment [100].From the Wayne diagram (Figure 4B), a total of 34 fungal species were identified, with eight species found in both the SM and BF in normal and spoiled hams.The clustered heat map at the species level (Figure 4C) revealed a significant difference distinguishing normal and spoiled hams.The most dominant fungal species in normal hams was Wallemia ichthyophaga, which was significantly and positively correlated with arginine, phenylalanine, leucine, isoleucine, and methionine in a study on Jinhua ham [25].In contrast, Aspergillus ruber was the most dominant fungal species in spoiled hams.Interestingly, it is popular because it contains a substantial amount of secondary metabolites belonging to various classes, some of which show promising biological activities [101].

LDA Analysis of Differential Microorganisms among Hams
LDA Effective Size (LEfSe) analysis enables not only comparisons between multiple groups but also subgroup comparative analyses within groups, thus realising species (i.e., biomarkers) with significant differences in abundance between groups [10].Species with significant differences were ranked based on their LDA values, where higher values indicated a greater contribution to intergroup differences and greater importance as biomarkers [102].Species with significant differences were ranked according to LDA values, and those with LDA > 4 were chosen for mapping.In Figure 5, the key microorganisms responsible for differences found in LEfSe between normal and spoiled hams were depicted, and the differential bacteria and fungi were more varied in normal hams than in spoiled hams.In the bacterial spectrum, Staphylococcaceae, Alphaproteobacteria, Betaproteobacteria, Acinetobacter and Oceanospirillales were the differential microorganisms in normal ham, while Bacillaceaes predominated in spoiled ham.In the fungal spectrum, Basidiomycota dominated in normal hams, while Ascomycota dominated in spoiled hams.Both normal hams and spoiled hams exhibited greater bacterial variation compared to fungi.Figure 5 demonstrates 16 species with LDA scores of 4 or higher, including 11 bacteria species and 5 fungi species.Among spoiled hams, 5 species had LDA scores exceeding 4, including 2 bacterial species and 3 fungal species.Normal hams displayed the highest variation in both bacterium and fungi.These findings confirm the diversity of bacterial and fungal species found in Xuanwei dry-cured hams and the variability between normal and spoiled hams.

LDA Analysis of Differential Microorganisms among Hams
LDA Effective Size (LEfSe) analysis enables not only comparisons between multiple groups but also subgroup comparative analyses within groups, thus realising species (i.e., biomarkers) with significant differences in abundance between groups [10].Species with significant differences were ranked based on their LDA values, where higher values indicated a greater contribution to intergroup differences and greater importance as biomarkers [102].Species with significant differences were ranked according to LDA values, and those with LDA > 4 were chosen for mapping.In Figure 5, the key microorganisms responsible for differences found in LEfSe between normal and spoiled hams were depicted, and the differential bacteria and fungi were more varied in normal hams than in spoiled hams.In the bacterial spectrum, Staphylococcaceae, Alphaproteobacteria, Betaproteobacteria, Acinetobacter and Oceanospirillales were the differential microorganisms in normal ham, while Bacillaceaes predominated in spoiled ham.In the fungal spectrum, Basidiomycota dominated in normal hams, while Ascomycota dominated in spoiled hams.Both normal hams and spoiled hams exhibited greater bacterial variation compared to fungi.Figure 5 demonstrates 16 species with LDA scores of 4 or higher, including 11 bacteria species and 5 fungi species.Among spoiled hams, 5 species had LDA scores exceeding 4, including 2 bacterial species and 3 fungal species.Normal hams displayed the highest variation in both bacterium and fungi.These findings confirm the diversity of bacterial and fungal species found in Xuanwei dry-cured hams and the variability between normal and spoiled hams.

Correlation Analysis between Microbial and Volatile Compounds
The processing of dry-cured ham involves a series of biochemical and enzymatic reactions, including protein hydrolysis, lipid oxidation, and the Maillard reaction.These reactions are vital for the flavour formation of dry-cured ham, and the enzymatic activity of microorganisms also contributes to the production of flavour compounds [103].To

Correlation Analysis between Microbial and Volatile Compounds
The processing of dry-cured ham involves a series of biochemical and enzymatic reactions, including protein hydrolysis, lipid oxidation, and the Maillard reaction.These reactions are vital for the flavour formation of dry-cured ham, and the enzymatic activity of microorganisms also contributes to the production of flavour compounds [103].To explore the relationship between off-odour in Xuanwei ham and microorganisms, a correlation analysis was conducted between key volatile compounds (OAV > 1) and microbial species.According to previous studies, microorganisms are the key factors affecting the flavour of different grades of ham in Jinhua [104].The heatmap of the correlation between key volatile compounds and bacteria for both normal and spoiled ham is shown in Figure 6A.Trimethylamine, methanethiol, valeric acid, and hexanal were identified as the key volatile compounds that mainly contribute to the undesirable flavour in spoiled hams, particularly in the presence of Bacillus cereus, Bacillus subtilis, Bacillus licheniformis, Pseudomonas sp., and Moraxella osloensis (p < 0.05).Pseudomonas sp. is an aerobic bacterium commonly associated with spoiled meat [22] and has also been found to have higher levels in spoiled hams than in normal hams in dry-cured hams [21].Moraxella osloensis is a gram-negative aerobic bacterium known to be an opportunistic human pathogen responsible for diseases such as endocarditis, osteomyelitis, central venous catheter infections, and meningitis [105].In summary, aerobic bacteria are more likely to cause spoiled ham in Xuanwei ham and also impact its flavour profile.Figure 6B illustrates the correlation thermograms between key volatile compounds of normal and spoiled ham with fungi.Spoiled ham was dominated by Aspergillus ruber, which correlated with most of the key volatile compounds, particularly exhibiting a strong positive correlation with trimethylamine.On the other hand, normal ham is dominated by Wallemia ichthyophaga, which has the highest positive correlation with 3-(methylthio)propionaldehyde and 3-methyl butanal.This suggested that Wallemia ichthyophaga promoted the production of 3-(methylthio)propionaldehyde and 3-methyl butanal, which impart favourable volatile compounds to Xuanwei normal ham.In conclusion, microorganisms play a vital role in determining the flavour profile of Xuanwei ham.

Conclusions
In conclusion, microorganisms play an important role in the formation of off-odour in Xuanwei hams.A total of 89 volatile compounds were identified in normal and spoiled hams, with 3-(methylthio)propionaldehyde and 3-methyl butanal being the major volatile compounds in normal hams.The levels of aldehydes and alcohols were significantly higher in spoiled hams compared to normal hams.The off-odour of spoiled hams was characterised by ichthyic, malodourous, sweaty, putrid, sour, and unpleasant odours, which were attributed to compounds such as trimethylamine, hexanal, octanal, methanethiol, and valeric acid.These compounds showed a positive correlation with Bacillus cereus, Bacillus subtilis, Bacillus licheniformis, Pseudomonas sp., Aspergillus ruber, and Moraxella osloensis.Additionally, high moisture, pH, and TBARS, as well as low NaCl content, were also responsible for the spoilage of hams with off-odour.This study provided valuable insight into the off-odour of Xuanwei ham from the perspective of microorganism communities.Further studies should focus on isolating and identifying the core spoiled strains responsible for off-odours in Xuanwei ham, as well as exploring methods for controlling off-odours in spoiled ham.These efforts will be beneficial in regulating spoilage during the production of Xuanwei hams, accelerating the industrialisation of Xuanwei ham, and maintaining consistent quality.

Figure 1 .
Figure 1.Sensory evaluation of different muscles in normal and spoiled hams.Different upperc letters (A,B) indicate significant differences between hams with different quality grades for the sa muscle (p < 0.05), and different lowercase letters (a,b) indicate significant differences between diff ent muscles for the ham with the same quality grade (p < 0.05).N-SM: normal ham-semimemb nosus; N-BF: normal ham-biceps femoris; S-SM: spoiled ham-semimembranosus; S-BF: spoi ham-biceps femoris.

Figure 1 .
Figure 1.Sensory evaluation of different muscles in normal and spoiled hams.Different uppercase letters (A,B) indicate significant differences between hams with different quality grades for the same muscle (p < 0.05), and different lowercase letters (a,b) indicate significant differences between different muscles for the ham with the same quality grade (p < 0.05).N-SM: normal ham-semimembranosus; N-BF: normal ham-biceps femoris; S-SM: spoiled ham-semimembranosus; S-BF: spoiled ham-biceps femoris.

Foods 2024 , 29 Figure 5 .
Figure 5. Linear discriminant analysis effect size (LEfSe) of the bacterial (A) and fungal (B) communities with an LDA score > 4.0 and p < 0.05.Cladograms indicate the phylogenetic distribution of microbial lineages among dry-cured hams.Circles represent phylogenetic levels from phylum to species.N: normal ham; S: spoiled ham.

Figure 5 .
Figure 5. Linear discriminant analysis effect size (LEfSe) of the bacterial (A) and fungal (B) communities with an LDA score > 4.0 and p < 0.05.Cladograms indicate the phylogenetic distribution of microbial lineages among dry-cured hams.Circles represent phylogenetic levels from phylum to species.N: normal ham; S: spoiled ham.

Figure 6 .
Figure 6.Heat map of bacterial (A) and fungal (B) species correlating with key flavour substances in normal and spoiled hams.**: extremely significant (p < 0.01).

Table 1 .
Physicochemical properties of different muscles in normal and spoiled hams.

Table 2 .
Texture and colour parameters of different muscles in normal and spoiled hams.

Table 3 .
Volatile compounds (µg/kg) of different muscles in normal and spoiled hams.
AaDifferent uppercase letters (A,B) indicate significant differences between hams with different quality grades for the same muscle (p < 0.05), and different lowercase letters (a,b) indicate significant differences between different muscles for the ham with the same quality grade (p < 0.05).ND: Compounds were not detected in GC-MS.SM: Semimembranosus.BF: Biceps femoris.RI-retention indices.Results are expressed as mean ± standard deviation (n = 6).

Table 4 .
Key volatile compounds of different muscles in normal and spoiled hams (OAV > 1).