The genome of cowpea (Vigna unguiculata [L.] Walp.)

Summary Cowpea (Vigna unguiculata [L.] Walp.) is a major crop for worldwide food and nutritional security, especially in sub‐Saharan Africa, that is resilient to hot and drought‐prone environments. An assembly of the single‐haplotype inbred genome of cowpea IT97K‐499‐35 was developed by exploiting the synergies between single‐molecule real‐time sequencing, optical and genetic mapping, and an assembly reconciliation algorithm. A total of 519 Mb is included in the assembled sequences. Nearly half of the assembled sequence is composed of repetitive elements, which are enriched within recombination‐poor pericentromeric regions. A comparative analysis of these elements suggests that genome size differences between Vigna species are mainly attributable to changes in the amount of Gypsy retrotransposons. Conversely, genes are more abundant in more distal, high‐recombination regions of the chromosomes; there appears to be more duplication of genes within the NBS‐LRR and the SAUR‐like auxin superfamilies compared with other warm‐season legumes that have been sequenced. A surprising outcome is the identification of an inversion of 4.2 Mb among landraces and cultivars, which includes a gene that has been associated in other plants with interactions with the parasitic weed Striga gesnerioides. The genome sequence facilitated the identification of a putative syntelog for multiple organ gigantism in legumes. A revised numbering system has been adopted for cowpea chromosomes based on synteny with common bean (Phaseolus vulgaris). An estimate of nuclear genome size of 640.6 Mbp based on cytometry is presented.


INTRODUCTION
Cowpea (Vigna unguiculata [L.] Walp.) is one of the most important food and nutritional security crops, providing the main source of protein to millions of people in developing countries. In sub-Saharan Africa, smallholder farmers are the major producers and consumers of cowpea, which is grown for its grains, tender leaves and pods as food for human consumption, with the crop residues being used for fodder or added back to the soil to improve fertility (Singh, 2014). Cowpea was domesticated in Africa (Faris, 1965;D'Andrea et al., 2007), from where it spread into all continents and now is commonly grown in many parts of Asia, Europe, USA, and Central and South America. One of the strengths of cowpea is its high resilience to harsh conditions, including hot and dry environments, and poor soils . Still, as sub-Saharan Africa and other cowpea production regions encounter climate variability (Kotir, 2011;Serdeczny et al., 2016), breeding for more climate-resilient varieties remains a priority.
Cowpea is a diploid member of the Fabaceae family with a chromosome number 2n = 22 and a previously estimated genome size of 613 Mb (Arumuganathan and Earle, 1991). Its genome shares a high degree of collinearity with other warm-season legumes (Phaseoleae tribe), including common bean (Phaseolus vulgaris L.; Vasconcelos et al., 2015;Muñoz-Amatria ın et al., 2017). A highly fragmented draft assembly and BAC sequence assemblies of IT97K-499-35 were previously generated . Although these resources enabled progress on cowpea genetics (Yao et al., 2016;Carvalho et al., 2017;Misra et al., 2017;Huynh et al., 2018;Lo et al., 2018), they lacked the contiguity and completeness required for accurate genome annotation, detailed investigation of candidate genes or thorough genome comparisons. Here, we re-estimated the genome size of V. unguiculata and produced a genome assembly using single-molecule real-time sequencing combined with optical and genetic mapping. This reference sequence was used to identify repetitive elements, genes and gene families, and genetic variation, and for comparative analysis with three closely related legumes including common bean, which stimulated a change in chromosome numbering to facilitate comparative studies. The publicly available genome sequence lays the foundation for basic and applied research, enabling progress towards the improvement in this key crop plant for food and nutritional security.

Estimation of Vigna unguiculata genome size
To assess the genome size of the sequenced accession IT97K-499-35, nuclear DNA content was estimated using flow cytometry (Dolezel, 2003), k-mer analysis and optical mapping (see Experimental procedures for more detail). In brief, cytometry indicated that the 2C nuclear DNA amount of V. unguiculata IT97K-499-35 is 1.310 AE 0.026 pg DNA (mean AE SD), which corresponds to 1C genome size of 640.6 Mbp ( Figure S1). This is slightly higher than the estimate of 613 Mbp by Arumuganathan and Earle (1991), but 841 Mbp smaller than the estimate of Parida et al. (1990). The higher estimate of DNA amount by Parida et al. (1990) could be due to incomplete removal of formaldehyde fixative prior to staining with Schiff's reagent, which binds to free aldehyde groups (Chieco and Derenzini, 1999). The estimate of Arumuganathan and Earle (1991) was obtained using Feulgen microdensitometry, which is considered a reliable method, and perfect agreement has been observed between flow cytometric and microspectrophotometric estimates (Dole zel et al., 1998). The small difference between the genome size estimates of Arumuganathan and Earle (1991) and the present work could be due to different values assigned to reference standards, instrument variation between laboratories (Dole zel et al., 1998) or actual differences between accessions.
Also, a k-mer distribution analysis was carried out, providing a somewhat lower estimate of 560.3 Mbp (Figure S2).
However, k-mer-based estimates suffer inaccuracies from overcounting low copy k-mers that result from errors introduced by polymerase chain reaction (PCR), undercounting k-mers that are repeated within gene families and conserved motifs, and vast undercounting of k-mers from highly repetitive sequences. As noted below, genome size estimates within this range also were obtained from optical mapping. As the cytometry analysis indicates, a genome size of 640.6 Mbp was used.

Sequencing and assembly using stitching
The elite breeding line IT97K-499-35, developed at the International Institute of Tropical Agriculture (IITA, Nigeria), was used previously for the development of genome resources (Timko et al., 2008;Muñoz-Amatria ın et al., 2017). Here, a fully homozygous (single haplotype; see Experimental procedures) stock was sequenced using Pac-Bio (Pacific Biosciences of California, Menlo Park, CA, USA) single-molecule real-time (SMRT) sequencing. In total, 56.8 Gb of sequence data were generated (~91.7 9 genome equivalent), with a read N50 of 14 595 bp. Preand post-filter read length and quality distribution are reported in Figures S3-S6. Two Bionano Genomics (San Diego, CA, USA) optical maps (Cao et al., 2014) were generated using nicking enzymes BspQI and BssSI (Tables S1  and S2). The size of the BsqQI optical map is 622.21 Mb, while the size of the BssSI optical map is 577.76 Mb.
With the PacBio data, eight draft assemblies were generated, six of which were produced with CANU (Berlin et al., 2015;Koren et al., 2017) using multiple parameter settings at the error correction stage, one with Falcon (Chin et al., 2016) and one with ABruijn . As Table S3 shows, CANU, Falcon and ABruijn produced assemblies with significantly different assembly statistics, which made it difficult to designate one as 'best'. These tools are fundamentally different at the algorithmic level (e.g. CANU and Falcon are based on the overlap-layout-consensus paradigm, while ABruijn uses the de Bruijn graph), and their designers have made different choices in the tradeoff between maximizing assembly contiguity versus minimizing mis-joins. Here, we employed an alternative assembly methodology: instead of choosing one assembly, the optical maps were leveraged to merge multiple assemblies in what we call 'stitching' (Pan et al., 2018;see Experimental procedures). This method was applied to the eight assemblies in Table S3, after removing contaminated contigs and breaking chimeric contigs identified using the optical maps. The number of chimeric contigs ranged from 16 to 40 depending on the assembly. Each of the eight assemblies contributed a fraction of its contigs to the final assembly: 13% of the 'minimal tiling path' (MTP) contigs were from the FALCON assembly, 8% from the ABruijn assembly and the rest (79%) from the six CANU assemblies, each ranging from 4 to 20%. Table 1 reports statistics of the stitched and polished (PacBio Quiver pipeline) assembly. PacBio Quiver enables consensus accuracies on genome assemblies approaching or exceeding Q60 (one error per million bases) when the sequencing depth is above 60 9 (Chin et al., 2013). All of the assembly statistics significantly improved compared with the eight individual assemblies (Table S3). For instance, the N50 for the stitched assembly (10.9 Mb) was almost double the highest N50 for any of the eight individual assemblies. Similarly, the longest contig for the stitched assembly increased by 4 Mb over the longest contig of any single assembly.
Scaffolds were obtained by mapping the stitched and polished assembly to both optical maps using the Kansas State University pipeline (Shelton et al., 2015). Briefly, a total of 519.4 Mb of sequence scaffold were generated with an N50 of 16.4 Mb (Table 1). Finally, a total of 10 genetic maps containing 44 003 unique Illumina iSelect SNPs (Muñoz-Amatria ın et al., 2017) were used to anchor and orient sequence scaffolds into 11 pseudochromosomes (i.e. pseudomolecules) via ALLMAPS (Tang et al., 2015). Details of the 10 genetic maps can be found in Table S4. ALLMAPS was able to anchor 47 of the 74 scaffolds for a total of 473.4 Mb (91.1% of the assembled sequences), 30 of which were also oriented, resulting in 449 Mb of anchored and oriented sequence (Table 1). Only 46 Mb (8.9% of the total assembly) were unplaced. The average GC content of the assembly was 32.99%, similar to other sequenced legumes (Varshney et al., 2012;Schmutz et al., 2014;Yang et al., 2015). The quality of the chromosomelevel assembly was evaluated using a variety of metrics. Several sequence datasets that were independently generated were mapped onto the assembly using BWA-mem with default settings, namely: (i) about 168M 149-bp paired-end Illumina reads (98.92% mapped of which 86.7% were properly paired and 75.53% had MAPQ of at least 30); (ii) about 129 000 contigs (500 bp or longer) of the wholegenome shotgun (WGS) assembly generated previously 99;.69% mapped of which 98.69% had MAPQ > 30); (iii) about 178 000 BAC sequence assemblies generated previously 99;.95% mapped of which 68.39% had MAPQ > 30); and (iv) about 157 000 transcripts  99.95% mapped of which 94.74% had MAPQ > 30). All of these metrics indicate agreement with the pseudochromosomes. The original PacBio reads were also mapped onto the assembly using BLASR using default settings: 5.29 M long reads mapped for a total of about 46 9 10 9 bp; 88.68% of the bases of the long reads were present in the 519 Mbp assembly.

Revised chromosome numbering for cowpea
Several members of the Phaseoleae tribe are diploid with 2n = 22, but the numbering of chromosomes has been designated independently within and across species by each research group. The P. vulgaris genome sequence was the earliest among these species (Schmutz et al., 2014), thus establishing a precedent and rational basis for a more uniform chromosome numbering system. Extensive synteny has been previously observed between cowpea and common bean (Muñoz-Amatria ın et al., 2017), which facilitates a revised chromosome numbering system for cowpea based on synteny with common bean. As summarized in Figure S7 and Table S5, six cowpea chromosomes are largely syntenic with six common bean chromosomes in one-to-one relationships, making the numbering conversion straightforward in those cases. Each of the remaining five cowpea chromosomes is related to parts of two P. vulgaris chromosomes. For each of those cases, the number of the common bean chromosome sharing the largest syntenic region with cowpea was adopted, with one exception: two cowpea chromosomes (previous linkage groups/chromosomes #1 and #5) both shared their largest block of synteny with P. vulgaris chromosome Pv08. However, there was only one optimum solution to the chromosome numbering of cowpea, assigning Vu08 to previous cowpea linkage group/chromosome #5 and assigning Vu05 to previous linkage group/chromosome #1 (Table S5). In addition, comparisons between cowpea genetic maps and chromosomal maps developed by fluorescence in situ hybridization (FISH) using cowpea BACs as probes (Iwata-Otsubo et al., 2016) revealed that the prior orientations of three linkage groups (now referred to as Vu06, Vu10 and Vu11) were inverted relative to their actual chromosome orientation. Hence, cowpea pseudochromosomes and all genetic maps were inverted for chromosomes Vu06, Vu10 and Vu11 to meet the convention of short arm on top and long arm on the bottom, corresponding to ascending cM values from the distal (telomeric) end of the short arm through the centromere and on to the distal end of the long arm. It is also of some interest that both Vu06 and Pv06 are acrocentric chromosomes, but although Pv09 is acrocentric the ratio of short to long arm in Vu09 (formerly cowpea linkage group 8) is 25. 86-46.35 lm (Iwata-Otsubo et al., 2016). Clearly, there are many structural similarities but also some differences between common bean and cowpea chromosomes. The revised numbering system is shown in Table S5 and used throughout the present manuscript. The Windows software HarvEST:Cowpea (harvest.ucr.edu), which includes a synteny display function, also has adopted an updated numbering system.

Gene annotation and repetitive DNA
The assembled genome was annotated using de novo gene prediction and transcript evidence based on cowpea ESTs (Muchero et al., 2009) and RNA-seq data from leaf, stem, root, flower and seed tissue (Yao et al., 2016;Santos et al., 2018), and protein sequences of Arabidopsis, common bean, soybean, Medicago, poplar, rice and grape (see Experimental procedures). In total, 29 773 protein-coding loci were annotated, along with 12 514 alternatively spliced transcripts. Most (95.9%) of the 1440 expected plant genes in BUSCO v3 (Simão et al., 2015) were identified in the cowpea gene set, indicating completeness of genome assembly and annotation. The average gene length was 3881 bp, the average exon length was 313 bp, and there were 6.29 exons per gene on average. The GC content in coding exons was higher than in introns plus UTRs (40.82% versus 24.27%, respectively). Intergenic regions had an average GC content of 31.84%.
Based on the results of an automated repeat annotation pipeline (Table S6), an estimated 49.5% of the cowpea genome is composed of the following repetitive elements: 39.2% transposable elements (TEs), 4% simple sequence repeats (SSRs) and 5.7% unidentified low-complexity sequences. The retrotransposons, or Class I TEs, comprise 84.6% of the TEs by sequence coverage and 82.3% by number. Of the long terminal repeat (LTR) retrotransposons, elements of the Gypsy superfamily (Wicker et al., 2007; code RLG) are 1.5 times more abundant than Copia (code RLC) elements, but non-autonomous TRIM elements appear to be very rare, with only 57 found. The LINEs (RIX) and SINEs (RSX), comprising the non-LTR retrotransposons, together amount to only 0.4% of the genome. The DNA, or class II, transposons compose 6.1% of the genome, with the CACTA (DTC; 5.7% of the TE sequences), hAT (DTA; 3.5%) and MuDR (DTM; 2.4%) being the major groups of classical 'cut-and-paste' transposons. The rolling-circle Helitron (DHH) superfamily is relatively abundant at 1.3% of the genome and 7013 individual elements. Only 6.4% of the TE sequences were unclassified.
Centromeric regions were defined based on a 455-bp tandem repeat that was previously identified by FISH as abundant in cowpea centromeres (Iwata-Otsubo et al., 2016). Regions containing this sequence span over 20.18 Mb (3.9% of the assembled genome; Table S7). Cowpea centromeric and pericentromeric regions are highly repetitive in sequence composition, and exhibit low gene density and low recombination rates, while both gene density and recombination rate increase as the physical position becomes more distal from the centromeres ( the rate across the pericentromeric region, versus Vu02 and Vu06, where the entire short arm in each of these acrocentric chromosomes has a low recombination rate (Figure S8). These patterns have been observed in other plant genomes including legumes (Schmutz et al., 2010(Schmutz et al., , 2014, and have important implications for genetic studies and plant breeding. For example, a major gene for a trait that lies within a low recombination region can be expected to have high linkage drag when introgressed into a different background. Knowledge of the recombination rate can be integrated into decisions on marker density and provide weight factors in genomic selection models to favor rare recombination events within low recombination regions.

Cowpea genetic diversity
Single-nucleotide and insertion/deletion variation.  Table S8). This indicates that the intended bias towards genes in the iSelect array design (Muñoz-Amatria ın et al., 2017) was successful. The number of annotated cowpea gene models containing a SNP was 23 266 (78% of total) or 27 021 (91% of total) when considering genes within 10 kb of a SNP (Table S8). In general, SNP density was lowest near centromeric regions (Figures 1 and S9). This information enables formula-based selection of SNPs, including distance to gene and recombination rate. When these metrics are combined with minor allele frequency and nearness to a trait determinant, one can choose an optimal set of SNPs for a given constraint, for example cost minimization, on the number of markers. The same WGS data described above were analyzed using BREAKDANCER v.1.4.5 (Chen et al., 2009) to identify structural variants. A total of 17 401 putative insertions and 117 403 putative deletions relative to the reference genome were identified (Data S3). The much smaller number of insertions than deletions may reflect limitations in the ability of the software to identify insertions when sequence reads are mapped to a reference genome. The presently available data from one reference-quality genome sequence and WGS short reads from 36 accessions are insufficient to create a comprehensive and reliable catalog of structural variants; additional high-quality de novo assemblies will be required to accomplish those goals.
Identification of a 4.2-Mb chromosomal inversion on Vu03. As explained above, 10 genetic maps were used to anchor and orient scaffolds into pseudochromosomes. Plots of genetic against physical positions for SNPs on seven of those genetic maps showed a relatively large region in an inverted orientation (Figures 2a and S10). The other three genetic maps showed no recombination in this same region, suggesting that the two parents in the cross had opposite orientations. The genotype data from all of the parental lines showed that one of the parents from each of those three populations, but not the other parent, had the same haplotype as IT97K-499-35, and hence presumably the same orientation (Data S4). To define the inversion breakpoints, WGS data available from some of these accessions (Muñoz-Amatria ın et al., 2017) were used. In both breakpoint regions, contigs from accessions that presumably had the same orientation as the reference (type A) showed good alignments, while those from accessions with the opposite orientation (type B) aligned only until the breakpoints (Data S5). An additional de novo assembly of a 'type B' accession enabled a sequence comparison with the reference genome for the entire genomic  Figure S11).
A set of 368 diverse cowpea accessions, including 243 landraces and 97 breeding accessions for which iSelect data existed, was used to estimate the frequency of the inversion among germplasm accessions. A total of 33 accessions (9%) had the same SNP haplotype as the reference genome across the entire region, which presumably indicates the same orientation. Among those 33 accessions, only three were landraces (1.2% of the landraces in the set), while the other 30 were breeding materials, including the reference genome. This suggests that the reference genome orientation of this region is rare among landraces and that its frequency has been increased among breeding lines. Also, a complete lack of recombination across this region is reflected in the genetic map derived from a cultivated 9 wild cross (Lo et al., 2018; IT99K-573-1-1 9 TVNu-1158; Figure S10), which indicates that the wild parent has the opposite orientation of the cultivated accession. Because this cultivated parent has the same haplotype as the reference genome, and thus presumably also the same orientation, the lack of recombination across this region suggests that the opposite-toreference orientation is the ancestral (wild) type while the reference orientation carries an inversion. A comparison between cowpea and adzuki bean ( Figure S12) showed that IT97K-499-35 and adzuki bean genome assemblies have opposite orientations in this region, consistent with the conjecture that the cowpea reference genome is inverted in this region with respect to an ancestral state that has been retained in the wild cowpea accession as well as in this representative congeneric species.
A direct effect of inversions is that they suppress recombination in heterozygotes, causing inverted regions to evolve independently. Selection can act to maintain an inversion when it carries one or more advantageous alleles or when an inversion breakpoint causes gene disruption or expression changes that are adaptive (Kirkpatrick, 2010;Puig et al., 2015). Two of the three landraces carrying the inversion (B-301 and B-171) originated from Botswana, while the third (TVu-53) is a Nigerian landrace. B-301 was the donor of resistance to several races of Striga gesnerioides, a serious parasitic weed of cowpea, and is in the pedigree of many breeding lines that carry the inversion, most of which are also Striga resistant (including the reference genome IT97K-499-35). To explore whether the inversion is associated with Striga resistance, the map positions of previously identified QTLs for this trait (Ou edraogo et al., 2001(Ou edraogo et al., , 2002Boukar et al., 2004) were compared with the position of the inversion. QTLs for resistance to Striga Races 1 and 3 were located on a different chromosome/ linkage group than the inversion on Vu03, ruling out the inversion as the basis of those resistances. However, it was noted that the sorghum gene Sobic.005G213600 regulating Striga resistance via a presence/absence variation (Gobena et al., 2017) encodes a sulfotransferase that is homologous to the cowpea gene Vigun03 g220400, which is located inside the inverted region on Vu03 (Data S6) and is highly expressed in root tissue (https://legumeinfo.org/ feature/Vigna/unguiculata/gene/vigun.IT97K-499-35.gnm1.a nn1.Vigun03g220400#pane=geneexpressionprofile). Therefore, it seems possible that the region containing Vigun03 g220400 may affect Striga interactions in a manner that has not yet been discovered; this hypothesis merits further testing. In addition to Striga considerations, a QTL for pod number (Xu et al., 2013; Qpn.zaas-3) is located inside the inverted region.
Although additional studies will be required to determine whether there is an adaptive consequence of the Vu03 inversion, awareness of it certainly is important for trait introgression and breeding, as this region represents nearly 1% of the cowpea genome and can be moderately active recombinationally during meiosis only when both chromatids carry the same orientation.

Synteny with other warm-season legumes
Synteny analyses were performed between cowpea and its close relatives adzuki bean (Vigna angularis), mung bean (Vigna radiata) and common bean (P. vulgaris). Extensive synteny was observed between cowpea and the other three diploid warm-season legumes although, as expected, a higher conservation was observed with the two Vigna species (Figure 3a-c) than with common bean. Six cowpea chromosomes (Vu04, Vu06, Vu07, Vu09, Vu10 and Vu11) largely have synteny with single chromosomes in all three other species. Cowpea chromosomes Vu02, Vu03 and Vu08 also have one-toone relationships with the other two Vigna species but one-to-two relationships with P. vulgaris, suggesting that these chromosome rearrangements are characteristic of the divergence of Vigna from Phaseolus. The remaining cowpea chromosomes Vu01 and Vu05 have variable synteny relationships, each with two chromosomes in each of the other three species, suggesting these chromosome rearrangements are more characteristics of speciation within the Vigna genus. It should be noted also that most chromosomes that have a one-to-two relationship across these species or genera are consistent with translocations involving the centromeric regions (Figure 3a-c). On the basis of these synteny relationships, adoption of the revised cowpea chromosome numbering for adzuki bean, mung bean and presumably other Vigna species would be straightforward. This would facilitate reciprocal exchange of genomic information on target traits from one Vigna species to another.

Repetitive elements and genome expansion
Using the same computational pipeline as for V. unguiculata (Vu), the repeats of the V. angularis (Yang et al., 2015;Va) and V. radiata (Kang et al., 2014;Vr) genomes also were annotated. Previous analyses placed cowpea phylogenetically closer to mung bean (Vr) than to adzuki bean (Va; She et al., 2015), although the Va and Vr genomes are relatively similar in size, with cowpea, respectively, 11 and 12% larger. The annotated repeat spaces in the three genomes were examined to make inferences on their evolution. Comparing Vu with Vr, 94% of the 56 Mbp size difference can be explained by the differential abundance of TEs, and 57% by the differential abundance of superfamily Gypsy retrotransposons alone (Table S9). The differential abundance of Gypsy elements in cowpea amounts to 58 and 56% of the total contribution of TEs to its genome size difference with mung bean and adzuki bean, respectively. The non-LTR retrotransposons, composed of SINEs and LINEs, appear to have played only a minor role in genome size enlargement in cowpea. Helitrons contributed 10% (versus Vr) or 11% (versus Va) to the expansion of the cowpea genome, and increased in genome share by an order of magnitude. The DNA TEs together contributed 38% of the size difference between Vu and Vr, and 40% between Vu and Va. CACTA contributed about the same amount (Va), or 35% more (versus Vr) of DNA as hAT elements, to this growth. For both Vr and Va, far fewer unidentified LTR retrotransposons (RLX) were found than in the Vu genome, perhaps because the Vu genome appears to be less fragmented and more complete than the former two. Expansion of SSR content was very moderate in Vu versus Vr, and comprised a smaller genome share than in Va.
A similar comparison was made to the 473 Mb genome assembly of P. vulgaris (Schmutz et al., 2014;Pv) with a genome estimated to be only 9% smaller (587 Mbp; http://data.kew.org/cvalues). However, Pv has a higher TE content than cowpea, 45.2% versus 39%, of which 39% versus 33% are retrotransposons. In Pv, the Gypsy elements comprise 25% of the genome versus 18% in V. unguiculata, although the Copia elements are 2% less abundant than in cowpea. There are 23.5 Mb more Gypsy elements annotated in the P. vulgaris assembly than in Vu, although the total TE coverage is only 10.8 Mb greater in Pv than in cowpea. While the assemblies represent similar shares of the estimated genomes (Vu, 81.1%; Pv, 80.5%), the contig N50 for P. vulgaris is 0.395 Mb versus 10.9 Mb for Vu. These data may indicate that the true P. vulgaris genome is considerably larger than estimated by Feulgen densitometry, with the large fraction of TEs interfering with contig assembly.
Taken together, the cross-species comparisons suggest that differences in genome size in Vigna can be largely explained by TE abundance, especially by that of Gypsy retrotransposons. This can result from either differential amplification recently, or differential retention of ancient insertions. In the grasses, comparison, for example, of the Brachypodium distachyon (Initiative, 2010) and Hordeum vulgare (Mascher et al., 2017) genomes suggests that differences in Gypsy content are largely due to differential retention. However, among the legumes examined here, annotated full-length retrotransposons appear to be of recent origin (< 0.5 million years) in P. vulgaris (Schmutz et al., 2014).

Gene family changes in cowpea
To identify genes that have significantly increased or decreased in copy number in cowpea, 18 543 families from the Legume Information System (https://legumeinfo.org/ search/phylotree and https://legumeinfo.org/data/public/Ge ne_families/) were analyzed. This set was constructed to capture genes originating at the legume taxonomic depth, based on orthology relationships and per-species synonymous-site rates for legume species and outgroup species. These families include 14 legume species, six of which are from the Phaseoleae tribe (soybean, common bean, adzuki bean, mung bean, pigeon pea and cowpea). Among the 185 gene families in the top percentile in terms of cowpea gene membership in the family relative to average membership per legume species, the families include several in the following superfamily groups: NBS-LRR disease resistance genes, various receptor-like protein kinases, defensins, ribosomal proteins, NADH-quinone oxidoreductase components (Data S7). All of these families occur in large genomic arrays, which can expand or contract, likely through slipped-strand mispairing of paralogous genes (Levinson and Gutman, 1987;Cannon et al., 2004;Li et al., 2016). Gene families lacking cowpea membership are more difficult to interpret biologically, as these tend to be smaller gene families, likely showing stochastic effects of small families 'falling out of' larger superfamilies, due to extinction of clusters of genes or to artifactual effects of family construction. Among 18 543 legume gene families, there were 2520 families without cowpea gene membership, which is comparable to the average number of families without membership (3057) for six other sequenced genomes in the Phaseoleae. The 2520 'no-cowpea' families were enriched for the following superfamilies: UDP-glycosyltransferases, subtilisin-like serine proteases, several kinase superfamilies, several probable retrotransposon-related families, FAR1-related proteins, and NBS-LRR disease resistance families (Data S7). These superfamilies are generally organized in large genomic clusters that are subject to expansion and contraction (Cannon et al., 2004;Leister, 2004;Li et al., 2016). Several families in cowpea are notable for copy-number differences relative to other sequenced species in Vigna (adzuki bean and mung bean). The SAUR-like auxin superfamily contains 138 annotated genes in cowpea, versus 90 and 52 in adzuki and mung bean, respectively. The NBS-LRR superfamily contains 402 annotated genes, versus 272 and 86 in adzuki and mung bean, respectively (Data S7). In both superfamilies, adzuki and mung bean may have lost gene copies, rather than cowpea gaining genes, or their assemblies underrepresent them due to technological difficulties with short read assemblies capturing such clusters. The cowpea gene counts are more typical of the other annotated Phaseoleae species: 252 and 130 SAUR genes in Phaseolus and Cajanus, respectively, and 341 and 271 NBS-LRR genes in Phaseolus and Cajanus, respectively (Data S7). Of course, these comparisons are subject to revision as the respective genome sequences become more complete.

Identification of a candidate gene for multiple organ gigantism
Crop domestication typically involved size increases of specific organs harvested by humans (Doebley et al., 2006). Recently, a genomic region related to increased organ size in cowpea was identified on Vu08 using a recombinant inbred line (RIL) population derived from a domesticated 9 wild cross (Lo et al., 2018). This region contains a cluster of QTLs for pod length, seed size, leaf length and leaf width (CPodl8, CSw8, CLl8, CLw8). The reference genome sequence described here was used to further investigate this domestication hotspot, which spans 2.21 Mb and includes 313 genes. Syntenic regions in the common bean genome were identified, the largest of which is located on common bean chromosome 8 (Pv08). That region contains a total of 289 common bean syntelogs, which were then compared with the list of common bean genes associated with domestication available from Schmutz et al. (2014). The intersection of these two lists contained only a single gene, Phvul. 008G285800, a P. vulgaris candidate gene for increased seed size that corresponds to cowpea Vigun08 g217000. This gene codes for a histidine kinase 2 that is expressed in several cowpea tissues, including root, seed, pod and leaf (https://legumeinfo.org). The Arabidopsis ortholog AHK2 (AT5G35750.1) is a cytokinin receptor that has been shown to regulate, among other things, plant organ size (Riefler et al., 2006;Bartrina et al., 2017). Vigun08 g217000 is thus a candidate gene for further investigation.

Estimation of genome size
Flow cytometric estimation of genome size followed the protocol of Dole zel et al. (2007). Briefly, suspensions of cell nuclei were prepared from 50 mg of young leaf tissue of cowpea IT97K-499-35, and of Solanum lycopersicum cv. Stupick e poln ı ran e as an internal standard. The tissues were chopped using a razor blade in 0.5 ml Otto I solution in a glass Petri dish. The homogenate was filtered through a 50-lm nylon mesh to remove debris and kept on ice. Then, 1 ml Otto II solution containing 50 lg ml À1 propidium iodide (PI) and 50 lg ml À1 RNase was added and the sample was analyzed by a CyFlow Space flow cytometer (Sysmex Partec, G€ orlitz, Germany). The threshold on the PI detector was set to channel 40 and no other gating strategy was applied. Five-thousand events were acquired in each measurement. The resulting histograms of relative DNA content ( Figure S1) comprised two major peaks representing nuclei in the G1 phase of the cell cycle. The ratio of G1 peak positions was used to calculate the amount of DNA of cowpea. Five different plants of IT97K-499-35 were analyzed, each three times on three different days, and the mean 2C DNA amount was calculated. Genome size was determined using the conversion factor 1 pg = 0.978 Mbp (Dolezel, 2003).
To estimate the cowpea IT97K-499-35 genome size using k-mer distribution, 168 M 149 bp paired-end Illumina reads were processed for a total of about 50 billion bp. Figure S2 shows the frequency distribution of 27-mers produced with KAT (https:// github.com/TGAC/KAT). The x-axis represents the 27-mer multiplicity, the y-axis represents the number of 27-mers with that multiplicity. The peak of the distribution is 56, which represents the effective coverage. The total number of unique 27-mers in the range x = 2-10 000 is 31.381 9 10 9 . As is usually done, 27-mers that appear only once are excluded because they are considered erroneous, that is to contain sequencing errors. The estimated genome size based on the formula bp = (# of unique 27-mersk + 1)/peak depth of coverage is thus 31.381 9 10 9 /56 = 560 379 733 bp.

Bionano Genomics optical maps
High-molecular-weight DNA was isolated by Amplicon Express (Pullman, WA, USA) from nuclei purified from young etiolated leaves (grown in the dark) of 100% homozygous, pure seeds of cowpea IT97K-499-35. The material was screened for homozygosity by genotyping with the Cowpea iSelect Consortium Array (Muñoz-Amatria ın et al., 2017; Data S8). The nicking endonucleases Nt.BspQI and Nb.BssSI (New England BioLabs, Ipswich, MA, USA) were chosen to label DNA molecules at specific sequence motifs. The nicked DNA molecules were stained according to instructions of the IrysPrep Reagent Kit (Bionano Genomics) as per Luo et al. (2017). The DNA sample was loaded onto the nanochannel array of an IrysChip (Bionano Genomics) and then imaged using the Irys system (Bionano Genomics). For the BspQI map, seven separate runs (132 unique scans) were generated, and a total of 108 Gb (~170 9 genome equivalent) of raw DNA molecules (> 100 kb) were collected. Molecules of at least 180 kb in length were selected to generate a BNG map assembly. Table S1 shows the summary of raw molecule status and the BNG BspQI map assembly. For the BssSI map, five separate runs (123 unique scans) were generated, and a total of 186 Gb (~310 9 genome equivalent) of DNA raw molecules (> 20 kb; 133 Gb molecules > 100 kb) were collected. Molecules of at least 180 kb in length were selected to generate a BNG map assembly. Table S2 shows the summary of raw molecules status and the BNG BssSI map assembly.

Whole-genome shotgun sequencing and assembly
High-molecular-weight gDNA and library preparation. Pure seeds of the fully inbred cowpea accession IT97K-499-35 were sterilized and germinated in the dark in crystallization dishes with filter paper and a solution containing antibacterial (cefotaxime, 50 lg ml À1 ) and antifungal (nystatin, 100 units per ml) agents. About 70 g of seedling tissue was collected, frozen in liquid nitrogen, stored at À80°C and shipped on dry ice. High-molecularweight gDNA was prepared from nuclei isolated from the seedling tissue by Amplicon Express (Pullman, WA, USA).

Pacific Biosciences sequencing. Pacific Biosciences reads
were generated at Washington State University (Pullman, WA, USA) following the 'Procedure and Checklist-20 kb Template Preparation Using BluePippin Size Selection System' (P/N 100-286-000-5) protocol provided by Pacific Biosciences (Menlo Park, CA, USA) and the Pacific Biosciences SMRTbell Template Prep kit 1.0 (P/N 100-259-100). Resulting SMRTbell libraries were size selected using the BluePippin (Sage Biosciences) according to the Blue Pippin User Manual and Quick Guide. The cutoff limit was set to 15-50 kb to select SMRTbell library molecules with an average size of 20 kb or larger. The Pacific Biosciences Binding and Annealing calculator determined the appropriate concentrations for the annealing and binding of the SMRTbell libraries. SMRTbell libraries were annealed and bound to the P6 DNA polymerase for sequencing using the DNA/Polymerase Binding Kit P6 v2.0 (P/ N100-372-700). The only deviation from standard protocol was to increase the binding time to 1-3 h, compared with the suggested 30 min. Bound SMRTbell libraries were loaded onto the SMRT cells using the standard MagBead protocol, and the MagBead Buffer Kit v2.0 (P/N 100-642-800). The standard MagBead sequencing protocol followed the DNA Sequencing Kit 4.0 v2 (P/N 100-612-400), which is known as P6/C4 chemistry. PacBio RS II sequencing data were collected in 6-h movies and Stage Start was enabled to capture the longest subreads possible.
Whole-genome assemblies. Eight draft assemblies were generated, six of which were produced with CANU v1.3 (Berlin et al., 2015;Koren et al., 2017), one with FALCON v0.7.3 (Chin et al., 2016) and one with ABRUIJN v0.4 . HINGE v0.41 (Kamath et al., 2017) was also tested on this dataset, but at that time the tool required the entire alignment file (over 2 Tb) to fit in primary memory and we did not have the computational resources to handle it. CANU v1.3 was run with different settings for the error correction stage on the entire dataset of~6 M reads (two CANU runs were optimized for highly repetitive genomes). Falcon and Abruijn were run on 3.54 M error-corrected reads produced by CANU (30.62 Gbp, or 49.4 9 genome equivalent). Each assembly took about 4-5 days on a 512-core Torque/PBS server hosted at UC Riverside.
Removal of contaminants from the assemblies. To remove 'contaminated' contigs, two sets of reference genomes were created, termed the white list and the black list. Black-list genomes included possible contaminants, whereas white-listed genomes included organisms evolutionarily close to cowpea. The black list included: (i) Caulobacter segnis (NCBI accession GCF 000092285.1); (ii) Rhizobium vignae (NCBI accession GCF 000732195.1); (iii) Mesorhizobium sp. NBIMC P2-C3 (NCBI accession GCF 000568555.1); (iv) Streptomyces purpurogeneiscleroticus (NCBI accession GCF 001280155.1); (v) Caulobacter vibrioides (NCBI accession GCF 001449105.1); (vi) mitochondrion of V. radiata assembly v.0.03). Each assembled contig was BLASTed against the 'white' genome and the 'black' genomes, and all high-quality alignments (e-score < 1e À47 corresponding to a bit score of at least 200, and covering at least 10% of the read length) were recorded. The percentage of each contig covered by white and black high-quality alignments was computed by marking each alignment with the corresponding identity score from the output of BLAST alignments covered the same location in a contig, only the best identity alignment was considered. The sum of all these identity scores was computed for each contig, both for the black and the white list. These two scores can be interpreted as the weighted coverage of a contig by statistically significant alignments from the respective set of genomes. A contig was considered contaminated when the black score was at least twice as high as the white score. Chimeric contigs were identified by mapping them against the optical maps using RefAligner (Bionano Genomics), then determining at what loci to break chimeric contigs by visually inspecting the alignments using IrysView (Bionano Genomics).
Stitching of contaminant-free assemblies and polishing. This stitching method: (i) uses optical map(s) to determine small subsets of assembled contigs from the individual assemblies that are mutually overlapping with high confidence; (ii) computes a MTP of contigs using the coordinates of the contigs relative to the optical map; and (iii) attempts to stitch overlapping contigs in the MTP based on the coordinates of the contigs relative to the optical map. A series of checks are carried out before and after the stitching to minimize the possibility of creating mis-joins. Additional details about the stitching method can be found in Pan et al. (2018). The final stitched assembly was then polished via the Pac-Bio Quiver pipeline (RS_resequencing.1 protocol) in SMRT Portal v2.3.0 (Patch 5) by mapping all the PacBio subreads against the assembly. The polishing step took about 7 days on a 40-core server at UC Riverside.
Scaffolding via optical maps. Scaffolds were obtained from the polished assembly via the Kansas State University (KSU) stitching pipeline (Shelton et al., 2015) in multiple rounds. A tool called XMView (https://github.com/ucrbioinfo/XMView) developed in-house that enables the visual inspection of alignments of assembled contigs to two optical maps simultaneously, also displaying consensus genetic map coordinates for SNPs, was used to identify chimeric optical molecules that had to be excluded from the scaffolding step. The KSU stitching pipeline was iterated four times, alternating BspQI and BssSI (twice each map) at which point no conflicts remained.
Pseudochromosome construction via anchoring to genetic maps. Pseudochromosomes were obtained by anchoring the scaffold sequences to SNP markers (BLAST of SNP design sequences, e À50 or less) in 10 genetic maps (Table S4) (2017), and linkage mapping was performed using MSTmap (Wu et al., 2008). Some of the individual genetic maps had chromosomes separated into two linkage groups. In those cases, the cowpea consensus genetic map of Muñoz-Amatria ın et al. (2017) was used to join them by estimating the size of the gap (in cM). The final ordering and orientation of the scaffold was produced by ALLMAPS (Tang et al., 2015) from the SNP locations corresponding to the 10 genetic maps. As noted elsewhere, 46 Mb of assembled sequences were not anchored. In addition, 24.5 Mb of the anchored sequences were oriented arbitrarily.
Annotation method and estimation of centromere positions. Transcript assemblies were made from~1.5 B pairs of 2 9 100 paired-end Illumina RNA-seq reads (Yao et al., 2016;Santos et al., 2018) using PERTRAN (Shu, personal communication); 89 300 transcript assemblies were constructed using PASA (Haas et al., 2003) from EST-derived UNIGENE sequences (Muchero et al., 2009;P12_UNIGENES.fa;harvest.ucr.edu) and these RNAseq transcript assemblies. Loci were determined by transcript assembly alignments and/or EXONERATE alignments of proteins from Arabidopsis, common bean, soybean, Medicago, poplar, rice, grape and Swiss-Prot proteomes to repeat-soft-masked cowpea genome using RepeatMasker (Smit et al., 2017) with up to 2 kb extension on both ends unless extending into another locus on the same strand. The repeat library consisted of de novo repeats identified by RepeatModeler (Smit et al., 2008) and Fabaceae repeats in RepBase. Gene models were predicted by homology-based predictors, FGENESH+, FGENESH_EST (similar to FGENESH+, EST as splice site and intron input instead of protein/ translated ORF), GenomeScan (Yeh et al., 2001), PASA assembly ORFs (in-house homology constrained ORF finder) and from AUGUSTUS via BRAKER1 (Hoff et al., 2015). The best scored predictions for each locus were selected using positive factors including EST and protein support, and one negative factor: overlap with repeats. The selected gene predictions were improved by PASA. Improvement includes adding UTRs, splicing correction and adding alternative transcripts. PASA-improved gene model proteins were subject to protein homology analysis to the proteomes mentioned above to obtain Cscore and protein coverage. Cscore is a protein BLASTP score ratio to MBH (mutual best hit) BLASTP score, and protein coverage is the highest percentage of protein aligned to the best homolog. PASA-improved transcripts were selected based on Cscore, protein coverage, EST coverage and its CDS overlapping with repeats. A transcript was selected if the Cscore and protein coverage were at least 0.5, or if it had EST coverage while its CDS overlap with repeats was less than 20%. For gene models whose CDS overlap with repeats was more than 20%, its Cscore had to be at least 0.9 and homology coverage at least 70% to be selected. The selected gene models were subjected to Pfam analysis, and gene models whose protein was more than 30% in Pfam TE domains were removed. The centromere-abundant 455-bp repeat available from Iwata-Otsubo et al. (2016) was BLASTed against cowpea pseudochromosomes to identify approximate start and end positions of cowpea centromeres. Only alignments with an e-score ≤ 1e À50 were considered. The region extending from the beginning of the first hit to the end of the last hit was considered to define the centromeric region of each cowpea chromosome.

Recombination rate
A polynomial curve fit of cM position as a function of pseudochromosome coordinate was generated using R for each of the 11 linkage groups from maps of each of 10 biparental RIL populations. The linear model R function lm was used to compute the linear regression. The R function predict was used to create the raster objects, and the R function polynomial yielded the polynomial coefficients. For each curve, the best fit from polynomials ranging from 4th to 8th order was selected. The first derivative was then calculated for each of the 110 selected polynomials to represent the rate of recombination as cM/Mbp. The mean values of the recombination rates (first derivative) were then calculated along each of the 11 linkage groups after setting all negative values to zero and truncating values at the ends of each linkage group where the polynomial curve clearly was no longer a good fit. A polynomial was then derived for the mean values along each pseudochromosome to represent recombination rate as a function of nucleotide coordinate (cM/Mbp). Data S1 provides the polynomial formulae for each pseudochromosome.

Repeat analysis
Repeats in the contigs and pseudochromosomes were analyzed using RepeatMasker. An initial library of elements was built by combining the output from Repet, RepeatModeler, LTRharvest/ LTRdigest (genometools.org), elements in the Fabaceae section of the RepBase transposon library (Bao et al., 2015) and our own custom pipeline. Subsequent Vigna-specific libraries were built by iterative searches. The resulting Vigna-specific libraries were used again in iterative searches to build the set of elements in the genome. The set was supplemented with elements identified by similarities to expected domains, including LINE integrases for the LINEs and transposases for the DNA transposons. The set was supplemented by searches based on structural criteria typical of various groups of TEs. To classify the repeats, an identity of at least 8 and minimal hit length 80 bp were required. For the LTR retrotransposons, full-length versions were identified with LTRharvest (Ellinghaus et al., 2008) using the following parameter settings: overlaps best -seed 30 -minlenltr 100 -maxlenltr 3000mindistltr 100 -maxdistltr 15000 -similar 80 -mintsd 4 -maxtsd 20 -motif tgca -motifmis 1 -vic 60 -xdrop 5 -mat 2 -mis -2 -ins -3del -3. All candidates were annotated for PfamA domains with hmmer3 software (Eddy, 2011) and filtered for false positives by several criteria, the main ones being the presence of at least one typical retrotransposon domain (e.g. reverse transcriptase, RNa-seH, integrase, Gag) and a tandem repeat content below 5%.

Identification of genetic variation
Nearly 1M SNPs with strong support were discovered previously by aligning WGS data from 36 diverse accessions to a draft assembly of IT97K-499-35 (Muñoz-Amatria ın et al., 2017). To position those SNPs on the cowpea reference genome, the 121-base sequences comprised of the SNP position and 60 bases on each side were BLASTed against the cowpea genome assembly with an e-score cutoff of e À50 . Only the top hit for each query was kept. The exact SNP position was then calculated. SNPs previously identified as organellar were excluded, together with those hitting multiple locations in the reference genome sequence.
For detection of insertions and deletions, WGS data from 36 diverse accessions (Muñoz-Amatria ın et al., 2017) were used. Reads from each cowpea accession were mapped to the genome assembly using BWA-MEM version 0.7.5a (Li, 2013). Variant calling was carried on each resulting alignment using BreakDancer version 1.4.5 (Chen et al., 2009), with a minimum mapping quality score of 30 and 10 as the minimum number of pair-end reads to establish a connection. The maximum structural variation size to be called by BreakDancer was set to 70 kb. A deletion was considered validated when at least 75% of the SNPs contained in the deletion region were 'No Call'. Among the 5095 putative deletions that spanned SNPs represented in the iSelect array, data were available to validate only 1558 (30.6%) by this method, leaving the false-positive rate uncertain.
To validate the inversion, the sequence assembly of the reference genome was compared with that of a cowpea accession typical of California breeding lines via MUMmer (Kurtz et al., 2004), using a minimum exact match of 100 bp and a minimum alignment length of 1 kb. PCR amplifications of the breakpoint regions were performed to further validate the Vu03 inversion. Four accessions were tested for each of the two orientations (type A and type B); these were parental lines of some of the 10 genetic maps used for anchoring ( Figure S10) and included one wild cowpea (TVNu-1158). Two primer pairs were designed for each breakpoint region: one to amplify the reference orientation and another to amplify the opposite orientation (Table S10). For the latter, the sequence assembly of the California accession was used to design primers. When primers were designed to amplify the reference orientation, they worked well in type A accessions, but they did not work for the type B accessions ( Figure S11). When primers were designed to amplify the opposite orientation, there was PCR product only in the type B accessions ( Figure S11). Only the wild cowpea accession did not yield an amplification product for either of the breakpoints, possibly due to sequence variation within the breakpoint regions.

Identification of a syntelog for increased organ size
The identification of QTLs on Vu08 for organ size (CPodl8, CSw8, CLl8, CLw8) is described in Lo et al. (2018). The SNP markers associated with those QTLs span the genomic region Vu08: 36035190-38248903, which contains 313 annotated genes. The corresponding syntenic segment in P. vulgaris (Chr08: 57594596-59622008) was determined using the legumeinfo.org instance of the Genome Context Viewer (GCV; Cleary and Farmer, 2017). This region contained 289 Phaseolus genes, of which only one (Phvul.008G285800) was present in the intersection with a list of genes associated with domestication reported in Schmutz et al. (2014) as determined using functions of cowpeamine and legumemine (https://mines.legumeinfo.org), which are instances of the InterMine data warehousing system (Kalderimis et al., 2014). The cowpea syntelog of that gene is Vigun08 g217000, according to the genomic segment alignment provided by the GCV using the gene family assignments described above.
(2017), raw Illumina reads from 37 diverse cowpea accessions are available under SRA accession SRP077082. RNA-Seq raw reads are available as NCBI SRA biosample accessions SAMN071606186 through SAMN071606198, SAMN07 194302 through SAMN07194309 and SAMN07194882 through SAMN07194909, and were described in Yao et al. (2016) and Santos et al. (2018). EST sequences and their GenBank accession numbers are available through the software HarvEST:Cowpea (harvest.ucr.edu), and were described in Muchero et al. (2009). assistance with DNA preparation; and Ira Herniter (UC Riverside, CA, USA) for helpful discussion. This work was supported by the NSF IOS-1543963 ('Advancing the Cowpea Genome for Food Security'), NSF IIS-1526742 ('Algorithms for Genome Assembly of Ultra-Deep Sequencing Data') and NSF IIS-1814359 ('Improving de novo Genome Assembly using Optical Maps'). Estimation of the genome size was supported by the Czech Ministry of Education, Youth and Sports (award LO1204 from the National Program of Sustainability I). The analysis of gene families was provided through in-kind contributions from the USDA Agricultural Research Service, project 5030-21000-069-00-D, while the repetitive elements analysis was supported by the Academy of Finland 'Papugeno' (Decision 298314). The work conducted by the US Department of Energy Joint Genome Institute, a DOE Office of Science User Facility, is supported by the Office of Science of the US Department of Energy under Contract No. DE-AC02-05CH11231.

AUTHOR CONTRIBUTIONS
TJC, StL and MMA conceived and supervised the study. StL coordinated the sequencing and executed the assembly with help from SIW. RO identified contamination sequences. TZ and MCL generated the optical maps. MMA, SaL and AN generated genetic maps. JV, PAR and JS contributed to the generation of transcriptome data. SS generated gene annotations. AHS and JT annotated and analyzed repeats. SIW, MMA and TJC contributed to SNP annotation and analysis. HA and AMH identified structural variants. MMA analyzed and validated the chromosomal inversion with help from SaL, SIW and ADF. TJC and SIW estimated recombination rates. QL performed synteny analyses, identified cowpea centromeres, and generated a visualization of the distribution of genes, repeats and genetic variation across the genome. TJC, StL, QL and MMA developed the revised chromosome numbering for cowpea. SBC and ADF performed gene family analyses. SaL, SAH and ADF identified the syntelog for multiple organ gigantism. JD and JV estimated the genome size. StL and MMA wrote the manuscript with inputs from TJC, SBC, ADF, JD and AHS.

COMPETING INTERESTS
The authors declare no competing financial interests.

SUPPORTING INFORMATION
Additional Supporting Information may be found in the online version of this article. Figure S1. Estimation of cowpea genome size using flow cytometry. Figure S2. 27-mer distribution of occurrences. Figure S3. Pre-filter PacBio read length distribution. Figure S4. Post-filter PacBio read length distribution. Figure S5. Subread Filtering PacBio read length distribution. Figure S6. Post-filter PacBio read quality distribution. Figure S7. Synteny view between cowpea and common bean using the previous chromosome nomenclature. Figure S8. Gene and repeat densities, and recombination rate in the cowpea genome. Figure S9. SNP distribution in the cowpea genome. . Cowpea pseudochromosome Vu03 reconstructed from 10 genetic maps using ALLMAPS. Figure S11. PCR amplification of the regions surrounding the two breakpoints of the inversion. Figure S12. Comparison between cowpea and adzuki bean for the cowpea inversion region. Table S1. Statistics for BspQI optical map. Table S2. Statistics for the BssSI optical map. Table S3. Assembly statistics for the eight individual draft assemblies. Table S4. Characteristics of the 10 genetic maps used for pseudochromosome construction. Table S5. Cross-reference between old and revised chromosome numbers for cowpea (Vu). Table S6. Annotated repeat abundances in cowpea. Table S7. Centromere position prediction. Table S8. Number and location of SNPs relative to annotated cowpea genes. Table S9. Comparative repeat abundance in Vigna species. Table S10. Primer sequences used to validate the Vu03 inversion. Table S11. Data sources and references for genome assemblies and annotations used in the gene family analysis. Data S1. Polynomial formulae for each cowpea chromosome.
Data S2. SNP positions in the cowpea genome.
Data S3. Insertions and deletions identified in the cowpea genome. Data S4. Haplotype information of parents in 10 genetic maps for the Vu03 inversion region. Data S5. Available WGS sequences for the inversion breakpoint regions. Data S6. Cowpea gene models contained within the inversion region. Data S7. Gene family analysis of different legume species.