Selenicereus undatus L., (pitaya) is an important tropical fruit crop, and faces significant challenges from soil salinity and heavy metal toxicity. This study explores the role of melatonin (M) in enhancing stress tolerance in pitaya against salinity (S) and copper (Cu) toxicity, both individually and in combination (SCu). SCu stress reduced plant biomass by ~54%, while melatonin application mitigated stress effects and increased plant growth by ~73.26% under SCuM compared to SCu treatment. Antioxidant activities were also modulated by stress. Transcriptomic analysis revealed 21 differentially expressed genes (DEGs) common across stress treatments and 13 DEGs specific to combined melatonin with stress treatments involved in stress signaling, secondary metabolite biosynthesis, and photosynthesis. A weighted gene co-expression network analysis (WGCNA) identified four gene modules (brown, dark green, dark grey, and grey) significantly associated with phenotypic traits. A protein–protein interaction (PPI) network analysis highlighted 14 hub genes per module, including GH3, JAZ, PAL, CCR, and POD, implicated in MAPK signaling, phenylpropanoid biosynthesis, and hormone signaling pathways. Integration of DESeq2 and WGCNA identified 12 key stress-responsive genes strongly correlated with phenotypic traits. This study provides insights into regulatory mechanisms underlying stress responses and highlights candidate genes for developing stress-resilient S. undatus through breeding programs.
Bougainvillea (Nyctaginaceae) cultivars are horticulturally prized worldwide for their vivid bracts; however, repeated interspecific hybridization and somatic mutations have obscured their maternal origins, particularly for double-bracted forms. Here, we sequenced and assembled the complete plastomes of 29 cultivars (16 double-bracted, 13 single-bracted) and conducted comparative and phylogenomic analyses alongside 15 published taxa. All plastomes displayed a conserved quadripartite structure (153,994–154,542 bp, comprising 130–131 functional genes), with B. × buttiana ‘Mahara Variegated’ harboring a pseudogenized ycf1 caused by a verified frameshift-induced premature stop codon, serving as a unique diagnostic marker for this cultivar. Sequence divergence was largely confined to intergenic spacers, identifying trnH-GUG–psbA and trnS-GCU–trnG-UCC as potential DNA barcodes for species-level discrimination. Conversely, intraspecific variation was virtually absent; 13 double-bracted accessions were completely sequence-identical. Phylogenomic analyses resolved interspecific backbones (B. spectabilis, B. peruviana, and B. glabra) well but placed nearly all double-bracted cultivars into an unresolved polytomy alongside single-bracted B. × buttiana lineages (including ‘Mrs. Butt’). This confirms a shared maternal origin and demonstrates that double-bracted phenotypes predominantly arose through recurrent somatic bud mutations rather than independent hybridizations. Furthermore, identical plastomes across distinct phenotypes highlight the inherent resolution limits of maternal markers for cultivar delimitation. Overall, our study enriches Bougainvillea genomic resources, clarifies previously ambiguous maternal lineages among cultivated taxa, and demonstrates that cultivar-level discrimination must rely on nuclear rather than plastid genomic markers.