{'fraction_non_alphanumeric': 0.0353356890459364, 'fraction_numerical': 0.04341241797072186, 'mean_word_length': 4.954486904250752, 'pattern_counts': {'":': 0, '<': 0, '<?xml version=': 0, '>': 1, 'https://': 2, 'lorem ipsum': 0, 'www.': 1, 'xml': 0}, 'pii_count': 0, 'substrings_counts': 2, 'word_list_counts': {'cursed_substrings.json': 0, 'profanity_word_list.json': 0, 'sexual_word_list.json': 0, 'zh_pornsignals.json': 0}}
Chromosome-Scale Assembly and Annotation of the Macadamia Genome (Macadamia integrifolia HAES 741)

Macadamia integrifolia is a representative of the large basal eudicot family Proteaceae and the main progenitor species of the Australian native nut crop macadamia. Since its commercialisation in Hawaii fewer than 100 years ago, global production has expanded rapidly. However, genomic resources are limited in comparison to other horticultural crops. The first draft assembly of M. integrifolia had good coverage of the functional gene space but its high fragmentation has restricted its use in comparative genomics and association studies. Here we have generated an improved assembly of cultivar HAES 741 (4,094 scaffolds, 745 Mb, N50 413 kb) using a combination of Illumina paired and PacBio long read sequences. Scaffolds were anchored to 14 pseudo-chromosomes using seven genetic linkage maps. This assembly has improved contiguity and coverage, with >120 Gb of additional sequence. Following annotation, 34,274 protein-coding genes were predicted, representing 90% of the expected gene content. Our results indicate that the macadamia genome is repetitive and heterozygous. The total repeat content was 55% and genome-wide heterozygosity, estimated by read mapping, was 0.98% or an average of one SNP per 102 bp. This is the first chromosome-scale genome assembly for macadamia and the Proteaceae. It is expected to be a valuable resource for breeding, gene discovery, conservation and evolutionary genomics.

Proteaceae genera including Banksia (Lim et al. 2017), Grevillea (Damerval et al. 2019) , Protea (Akman et al. 2016) and Gevuina (Ostria-Gallardo et al. 2016) , and have been utilized to help to understand the evolution of floral architecture (Damerval et al. 2019) and variation in locally adaptive traits (Akman et al. 2016). Recent genome wide association studies in macadamia have identified markers associated with commercially important traits (O'Connor et al. 2020) but their location and context in the genome is unknown. An earlier highly fragmented (193,493 scaffolds, N50 4,745) draft genome assembly of the widely grown M. integrifolia cultivar HAES 741 was constructed from Illumina short read sequence data (Nock et al. 2016) . Here we report on the first annotated and anchored genome assembly for macadamia and the Proteaceae. Long read PacBio and paired-end Illumina sequence data were generated and 187 Gb of data were used to construct an improved HAES 741 assembly (Table 1). Assembled sequence scaffolds from the new hybrid de novo assembly (745 Mb, 4094 scaffolds, N50 413 kb) were then anchored and oriented to 14 pseudo-chromosomes using methods to maximize colinearity across seven genetic linkage maps (Langdon et al. 2020). A contiguous genome sequence for macadamia is expected to facilitate the identification of candidate genes and support marker assisted selection to accelerate the development of new improved varieties.

Sample collection and extraction
Leaf, shoot and flower tissue were collected from a single M. integrifolia cultivar HAES 741 individual located in the M2 Regional Variety Trial plot, Clunes, New South Wales, Australia (28°4 3.843'S; 153°23.702'E). An herbarium specimen was submitted to the Southern Cross Plant Science Herbarium [accession PHARM-13-0813]. On collection, samples were snap frozen in liquid nitrogen or placed on dry ice and stored at -80°prior to extraction. Previously described methods for and DNA/RNA extraction for Illumina (Nock et al. 2016) and PacBio (Furtado 2014) sequencing were followed.

Library preparation and sequencing
In addition to the original 480 bp and 700 bp insert and 8 kb mate pair libraries (51.6 Gb total), new libraries with 200, 350 and 550 bp insert sizes were prepared with TruSeq DNA PCR-free kits and sequenced with Illumina HiSeq 2500 producing 57.0, 29.8 and 29.6 Gb pairedend sequence data. A PacBio library (20-Kb) was prepared and sequenced across 10 SMRT cells on a PacBio RSII system (P6-C4 chemistry) generating 6.44 Gb data. Transcriptome sequencing of leaf, shoot and flower tissue followed previously described methods  (Nock et al. 2016) and generated 44.6 Gb paired-end RNA-seq data in total (Table 1).

De novo assembly and anchoring
Illumina raw read data were initially assessed for quality using FastQC (Andrews 2010)Á Low quality bases (Q , 20), adapters and chloroplast reads were removed from Illumina data using BBMaps (Bushnell 2020). PacBio reads were error-corrected using the Long Read DBG Error Correction method (LoRDEC) with over 170 · post-QC Illumina data (Salmela and Rivals 2014). The performance of hybrid error correction methods including LoRDEC is optimized with increasing coverage of more accurate short, rather than long read, sequence data since each long read is corrected independently (Fu et al. 2019). Hybrid de novo assembly, scaffolding and gap closing was performed using MaSuRCA (Zimin et al. 2013). Illumina paired-end and mate-pair reads were extended into superreads of variable lengths, and combined with PacBio reads to generate the assembly. The MaSURCA output was further scaffolded in two rounds, first using SSPace (Boetzer et al. 2011) scaffolder with the Illumina mate pair reads, and second, using L_RNA_Scaffolder (Xue et al. 2013) with the long transcripts generated using a Trinity (Grabherr et al. 2011) pipeline and RNA-Seq reads. Scaffolds were anchored and oriented with 100 bp gap size between scaffolds using ALLMAPS (Tang et al. 2015) with 4,266 ordered sequence-based markers across seven genetic linkage maps generated from four mapping populations with HAES 741 parentage (Langdon et al. 2020).

Genome size and heterozygosity
For genome size and heterozygosity estimation, k-mer frequency was determined from cleaned short and long read data for k ranging from 15 to 33 at a step of two in Jellyfish (Marcais and Kingsford 2011). Genome size was estimated at the optimal k-mer of 25, with short read data only using findGSE because it is an optimal method for plants (Sun et al. 2018). Genome-wide heterozygosity using reads data were estimated with GenomeScope (Vurture et al. 2017) from the k-mer 25 histogram computed using Jellyfish. In addition, genome-based heterozygosity was determined by mapping post-QC short read data to the assembly using minimap2 (Li 2018) and heterozygous sites identified using GATK best practices (Van der Auwera et al. 2013) for SNP discovery.

Genome annotation and gene prediction
Repetitive elements were first identified in the final assembly by modeling repeats using RepeatModeler, and then quantified using RepeatMasker (Tarailo-Graovac and Chen 2009). Transcriptome assembly was performed using the Trinity pipeline (Grabherr et al. 2011). Following repeat masking, the final assembly was annotated using the MAKER gene model prediction pipeline (Campbell et al. 2014). Sources of evidence for gene prediction included the Trinity assembled transcripts and protein sequences of the taxonomically closest available genome sequence of the sacred lotus Nelumbo nucifera, and the model plant Arabidopsis thaliana.

Comparative analysis of orthologous eudicot genes
Orthologous gene clusters were identified and compared using OrthoVenn2 (Zu et al. 2019) and protein sequences from M. integrifolia, Nelumbo nucifera, Arabidopsis thaliana, Prunus persica (peach), Eucalpytus grandis and Coffea canephora (coffee) genomes. Pairwise sequence similarities were determined applying a BLASTP E-value cut-off of 1E-05 and an inflation value of 1.5 for OrthoMCL Markov clustering. Macadamia specific gene clusters were tested for GO enrichment using OrthoVenn2.

Quality assessment
The completeness of the genome assembly was evaluated by BUSCO (benchmarking universal single copy orthologs) (Simão et al. 2015) n■ using 956 plant BUSCOs. To further assess the accuracy of the M. integrifolia genome assembly, short read and corrected long read data were independently mapped to the pseudo-genome using Minimap2 (Li 2018) and the number of mapped reads were computed using paftools.js. The final step of the LoRDEC error correction method applied involves trimming and splitting PacBio reads by extracting runs of solid bases as separate reads (Salmela and Rivals 2014). To test for chimerism, Pacbio reads . 100 bp in length we re-aligned to the assembly using cutoffs of 1/2 and 1/3 read length.

Data availability
The macadamia Whole Genome Shotgun project has been deposited at DDBJ/ENA/GenBank under the accession JAAEEG000000000.
The version described in this paper is JAAEEG010000000. Datasets generated in this study have been deposited at NCBI under BioProject number PRJNA593881, https://www.ncbi.nlm.nih.gov/bioproject/ PRJNA593881 Raw genomic DNA and RNA-seq read files have been deposited in the NCBI Sequence Read Archive (Table 1). Datasets including protein, transcript and gff3 annotation files, and raw trinity transcriptome assembly have been deposited in the Southern Cross University data repository, https://doi.org/10.25918/ 5e320fd1e5f06.

RESULTS AND DISCUSSION
Genome assembly Hybrid de novo assembly using 180.8 Gb Illumina short read and 6.44 Gb PacBio long read data produced a 744.6 Mb genome assembly (v2) with 180 · coverage of the genome and a scaffold N50 of 413 kb (Table 1). In comparison to the v1.1 assembly of the same cultivar, this v2 assembly represents an $68 fold increase in contiguity and includes 120.3 Mb of new sequence (Table 2). Scaffolds were anchored and oriented to 14 pseudo-chromosomes using ALLMAPs to maximize the collinearity of ordered sequence-based markers across seven genetic linkage maps generated from mapping populations with HAES 741 parentage. Of 1,465 anchored scaffolds, 474 were N50 scaffolds and 856 containing more than one marker were oriented (Langdon et al. 2020). This anchored 69.7% of the assembly to 14 pseudo-chromosomal sequences ranging in size from 29.2 to 47.0 Mb (Table 3). Mapped markers were evenly distributed across the 14 pseudo-chromosomes with the exception of some gapped regions particularly on Chr10 and Chr12 (Figure 2). The quality and completeness of the assembly, assessed using BUSCO, indicates that the macadamia assembly contains 90.2% of the expected single copy gene content. In comparison to the previous assembly of the same cultivar, 16.5% compared to 39.2% of the plant n■  BUSCOs searched were fragmented. The accuracy of the assembly was assessed by read mapping with 99% of short reads (98.97-99.15% per library) and 93.5% of corrected PacBio reads tagged as primary alignments by Minimap2 aligned reliably to the assembly. No Pacbio reads aligned to two different scaffolds at a cutoff of 1/2 read length. At 1/3 read length, 130 reads (mean length 7833 bp representing , 0.14% of the assembly) aligned to two scaffolds and no reads aligned to more than two scaffolds.
Genome size, heterozygosity and repetitive content Genome size estimation of 896 Mb was 1.37 times larger than the only previous estimate for M. integrifolia of 652 Mb (600-700 Mb) that was based on 51.6 Gb Illumina short read data (Nock et al. 2016). The new k-mer based estimate is considered to be more accurate due to improved read coverage from an additional 114 Gb of high-quality Illumina data. Based on the revised genome size estimate, the v2 assembly covers 83% of the genome. Average genome heterozygosity, determined using short read data from the k-mer 25 Jellyfish histogram, was 1.36% (Figure 3). Genome-wide heterozygosity was slightly lower at 0.98% for the assembly-based SNP analysis method (Li 2018, Van der Auwera et al. 2013. In total, 7,309,539 heterozygous sites were identified in the HAES 741 genome assembly representing one SNP per 102 bp and consistent with reports that macadamia is highly heterozygous and predominantly outcrossing (Topp et al. 2019). Heterozygous sites were unevenly distributed across chromosomes. On average, there were 367,467 SNPs per chromosome and SNP density ranged from 66 to 16,453 SNPs in one Mb windows of Chr07 and Chr10 respectively (Figure 4).
Interspersed repeats and low complexity elements accounted for 410.5Mb (55.1%) of the assembly. As reported for many other plant genomes, long terminal repeat (LTR) retrotransposons were the most abundant repeat type (30.5%). Small RNAs including pseudogenes and active small RNA genes including tRNA and snRNA accounted for 0.54% of the assembly ( Figure 5).

Annotation and comparative analysis of orthologous genes
Annotation of the final assembly, identified 34,274 high-confidence gene models. Of these, 25,779 (75.2%) were anchored to pseudochromosomes and 8,495 were located on unanchored scaffolds (Table 3). Comparative analysis of the macadamia gene models with

CONCLUSION
Here we present the first chromosome-scale genome assembly for the nut crop macadamia and the large Gondwanan plant family Proteaceae. This provides a platform for unraveling the genetics of macadamia and is expected to underpin future breeding, and comparative and horticultural genomics research.

This research was supported by Horticulture Innovation Australia project MC15008
Establishing an open-source platform for unravelling the genetics of Macadamia: integration of linkage and genome maps. The project provided a PhD scholarship for K.L. with funding from Horticulture Innovation Australia, Knappick Foundation Ltd., Macadamia Conservation Trust, Australian Macadamia Society and Southern Cross University. Laboratory and horticultural support were provided by Asuka Kawamata, Tiffeny Byrnes and Alicia Hidden. Assistance with sample collection was provided by Dr Alam Mobashwer. We thank Kim Wilson and Alex Yong for providing access to the regional variety trial site in Clunes, NSW, Australia where the HAES 741 tree used for genome sequencing is located.