{'fraction_non_alphanumeric': 0.03458941941819074, 'fraction_numerical': 0.022388609304038295, 'mean_word_length': 5.3029552839238745, 'pattern_counts': {'":': 0, '<': 6, '<?xml version=': 0, '>': 5, 'https://': 0, 'lorem ipsum': 0, 'www.': 0, 'xml': 0}, 'pii_count': 0, 'substrings_counts': 0, 'word_list_counts': {'cursed_substrings.json': 2, 'profanity_word_list.json': 0, 'sexual_word_list.json': 0, 'zh_pornsignals.json': 0}}
Multiple and Independent Phases of Transposable Element Amplification in the Genomes of Piciformes (Woodpeckers and Allies)

Abstract The small and conserved genomes of birds are likely a result of flight-related metabolic constraints. Recombination-driven deletions and minimal transposable element (TE) expansions have led to continually shrinking genomes during evolution of many lineages of volant birds. Despite constraints of genome size in birds, we identified multiple waves of amplification of TEs in Piciformes (woodpeckers, honeyguides, toucans, and barbets). Relative to other bird species’ genomic TE abundance (< 10% of genome), we found ∼17–30% TE content in multiple clades within Piciformes. Several families of the retrotransposon superfamily chicken repeat 1 (CR1) expanded in at least three different waves of activity. The most recent CR1 expansions (∼4–7% of genome) preceded bursts of diversification in the woodpecker clade and in the American barbets + toucans clade. Additionally, we identified several thousand polymorphic CR1 insertions (hundreds per individual) in three closely related woodpecker species. Woodpecker CR1 insertion polymorphisms are maintained at lower frequencies than single nucleotide polymorphisms indicating that purifying selection is acting against additional CR1 copies and that these elements impose a fitness cost on their host. These findings provide evidence of large scale and ongoing TE activity in avian genomes despite continual constraint on genome size.


Introduction
Birds, the only extant saurischian dinosaurs, have comparatively small genome sizes ($0.9-2.1 Gb) relative to other tetrapods (Gregory et al. 2007;Wright et al. 2014). Flying organisms-including bats, birds, and pterosaurs-have convergently evolved constricted genome sizes (Organ and Shedlock 2009), and a growing body of evidence indicates that avian genome size is constrained by the metabolic requirements of powered flight. A reduced genome size in birds corresponds with decreased intron size (Zhang and Edwards 2012), decreased red blood cell and nucleus size (Gregory 2001(Gregory , 2002, and increased flight ability (Wright et al. 2014). Among avian ancestors, initial genomic contraction appears to have occurred > 200 Ma in the lineage leading to saurischian dinosaurs (Organ et al. 2007).
Genome size is, however, fluctuating across avian lineages (Hughes and Hughes 1995;Wright et al. 2014;), but at a lower relative pace compared with most vertebrates because genome size evolution scales positively with genome size (Oliver et al. 2007). Continual avian genome contraction is driven by recombination-caused deletions of small to large (> 10 kb) segments of the genome (Nam and Ellegren 2012;, and a remarkable paucity of transposable elements (TEs) (< 10% genomic content) (Chalopin et al. 2015;Sotero-Caio et al. 2017). Reduced TE activity likely limits genome size increases and genomic rearrangements, resulting in large-scale synteny in macrochromosomes across highly divergent lineages in the avian clade (Ellegren 2010).
An exception to this trend is the downy woodpecker (Dryobates pubescens), the only species of Piciformes with a complete genome sequence. A major genomic explosion event, that is, massive expansion of TEs (Belyayev 2014), occurred somewhere in the evolutionary lineage leading to this species (Zhang et al. 2014); its genome contains greater than a 2-fold increase in genomic TE content relative to all other sequenced birds, mostly due to expansion of the superfamily chicken-repeat 1 (CR1), a type of non-long terminal repeat (LTR) retrotransposon. Whereas TE insertions may occasionally impact some aspect of an organism's phenotype, periods of intense TE amplification can potentially instigate profound genomic changes and may promote evolutionary diversification (Jurka et al. 2007;Belyayev 2014;Hoffmann et al. 2015). Coincident bursts of lineage diversification and genomic explosions of TEs have been identified in radiations of fishes (de Boer et al. 2007) and mammals (Pascale et al. 1990;Pritham and Feschotte 2007;Ray et al. 2008).
Some evidence supports that genome size increased slightly in the ancestor of Piciformes (Wright et al. 2014); this is suggestive of potential TE expansions across the entire clade outpacing deletions that maintain small genome size. To date, only one piciform genome has been sequenced, and its sister lineage (Galbuliformes) lacks any genome sequence, precluding inference about scale, temporal dynamics, and evolutionary context and extent of genomic TE expansions in Piciformes. With whole-genome shotgun sequencing data, we used two data sets to characterize transposable element evolution in Piciformes. First, we sequenced representatives of all major lineages of Piciformes ( fig. 1a)-including woodpeckers, honeyguides, toucans, and barbets-and a single lineage of Galbuliformes-a jacamar-to characterize genomic TE expansions and periods of activity. In addition, we sequenced several individuals of closely related woodpeckers (Genus: Dryobates) to describe TE polymorphisms. The results indicate at least three genomic expansions of different families of CR1, which preceded diversification rate shifts in two clades. In addition, several thousand polymorphic TEs are found at low frequencies relative to single nucleotide polymorphisms, suggestive of ongoing negative selection against TE expansions.

Sampling
To characterize TE diversity and genomic content across Piciformes' genomes, we partially sequenced the genome of 13 species in the avian orders Piciformes and Galbuliformes at low coverage (0.75Â following conservative quality trimming, assuming a 1.2 Gb genome) and downloaded raw sequencing reads for the downy woodpecker (Dryobates pubescens) and the northern carmine bee-eater (Merops nubicus) from avian phylogenomics projects (Jarvis et al. 2014 (Jarvis et al. 2014) and show that our estimates are conservative and underestimate genomic TE content. (c) Summary of select TE families genomic content. (d) Divergence curves of select CR1 families based on BLASTing raw TE matches to a portion of the 3 0 end of species-and TE-specific consensus sequences (see supplementary table S1, Supplementary Material online). The y axis is the relative frequency of percent divergence, and the families are on different scales to make them all legible. (e) Genome size estimates of all sampled clades (Gregory et al. 2007). Gray boxes highlight the Picidae clade (woodpeckers) and the clade including barbets and toucans. other major lineages in Piciformes. For previously sequenced genomes, we used the reads from library preparations with a target insert size of 500 bp for direct comparability to our newly sequenced data. All tissue samples were provided by the University of Kansas Biodiversity Institute. We used the bee-eater as an outgroup, a jacamar as a more closely related outgroup, and included representatives of major lineages within Piciformes, including major woodpecker clades (Dufort 2016;Shakya et al. 2017), honeyguides, three lineages of barbets, and toucans ( fig. 1a and table 1). Hereafter, we refer to these samples as the "phylogeny data set." We also sequenced the genome of two samples each of downy woodpecker (Dryobates pubescens), ladder-backed woodpecker (D. scalaris), and Nuttall's woodpecker (D. nuttallii) at moderate-coverage (4-8Â following quality trimming) to investigate CR1 insertion polymorphisms in closely related individuals and species (table 1 and fig. 2a). The ladder-backed woodpecker and Nuttall's woodpecker are sister species, with both together the sister lineage of the downy woodpecker (Weibel and Moore 2002;Dufort 2016). Hereafter, we refer to these samples as the "polymorphisms data set." We extracted genomic DNA from all tissue samples using a magnetic bead DNA extraction protocol (Rohland and Reich 2012). We quantified all DNA extractions-for concentration standardization-using Qubit Fluorometric Quantitation (Life Technologies). We used standard Illumina library preparation for each sample (mean insert size between 500 and 700 bp), and then sequenced all individuals on either an Illumina HiSeq2500 (101-bp paired-end) or Illumina HiSeq3000 (151-bp paired-end). Sequencing was performed at the New York University Abu Dhabi Center for Genomics and Systems Biology (HiSeq2500) or at the Oklahoma Medical Research Foundation Clinical Genomics Center (HiSeq3000).

Phylogeny Data Set Quality Checking and Repeat Database Creation
We used Trimmomatic v0.36 (Bolger et al. 2014) to remove adapter contamination and trim reads of low-quality bases. We trimmed all bases below a threshold of Q20 on the ends of all sequences, and trimmed regions of the sequences if the average quality dropped below Q30 in sliding windows of 15 bp. Following trimming, reads were retained if they were still ! 75 bp to limit spurious short-read matches to TEs.
All reads were filtered for mitochondrial DNA sequences using the bbsplit.sh perl script implemented as part of BBMap v36.x (Bushnell 2014). We used several mitogenomes of birds from the orders Coraciiformes, Galbuliformes, and Piciformes to filter reads. We standardized the number of basepairs (bp) per individual, trimmed every sequence to 75 bp using the FASTX toolkit (Gordon and Hannon 2010) and then used Seqtk v1.2-r95-dirty (Li 2015) to randomly sample six million paired-end reads from each individual, which we used for all downstream analyses. We used REPdenovo (Chu et al. 2016) with the default settings to identify putative transposable elements and repetitive sequences from the raw sequencing reads. REPdenovo is a kmer-based approach that identifies overrepresented kmers in the genome. Following initial kmer identification, these sequences are joined where possible to create longer contigs. With the output contigs from REPdenovo, we used a homology-based approach to identify putative transposable elements. First, we downloaded the vertebrate database of repetitive elements from RepBase v21.10, accessed on October 10, 2016 (Jurka et al. 2005). We used BLASTþ v2.6.0 (Camacho et al. 2009) and the function rmblastn to match REPdenovo contigs to previously identified transposable elements and repeats. rmblastn is a modified function of blastn for use with RepeatMasker (Smit et al. 2015). For annotation to transposable elements, we required the matches to have a minimum of 60% identity to a previously annotated element, alignment length of ! 50 bp, and an e-value < 1e-6. All BLAST matches >90% identity were removed because raw reads would be mappable to original RepBase sequences. We created a custom repeat database for further analyses by combining the newly annotated repeats with the RepBase database. After de novo repeat identification and sequence annotation, we included 5,732 novel repeat sequences in our modified repeat database. We identified novel repeat sequences with homology matches to 123 TE families, largely CR1 elements or endogenous retroviruses. In total, the vast majority ($85%) of newly identified repeats for our custom database shared homology with CR1 elements.

Summarizing Transposable Element Content in Piciformes (Phylogeny Data Set)
We used six million paired-end sequencing reads per individual and our custom repeat database to identify the proportion of each species' genome comprised of transposable elements ( fig. 3). We used BLASTþ to match raw reads to our custom repeat database with the following requirements: maximum e-value of 0.01 (1e-2), a minimum of 60% identity, and less than three gaps in the alignment. We minimized the number of gaps allowed to minimize matching of spurious short portions of reads matching multiple regions of TE sequences with wide-spanning gaps.
We performed the above BLASTþ search with the RepBase database (i.e., not including our newly annotated TEs) to see how including species-specific repetitive sequence information improved overall TE identification across low-coverage genomes. Additionally, we summarized results with various maximum e-values (1e-2, 1e-4, and 1e-6) to investigate sensitivity of genome-wide TE content estimation to this parameter. We extracted all reads matching several common CR1 families (supplementary table S1, Supplementary Material online) for downstream use. We used all reads that completely matched TEs (i.e., 75 bp alignment) to perform referenceguided assemblies in Geneious v9.1.7 (BioMatters Ltd.). The RepBase reference sequences for each subfamily were used to guide assembly. From these assemblies, we created consensus sequences for each subfamily using a minimum of 10Â coverage and a 25% threshold to call the consensus sequence bases. For each species, we created a separate consensus sequence for each subfamily. We aligned all consensus sequences for each of the four common CR1 families using MAFFT (Katoh and Standley 2013), implemented in Geneious. For each of these families, we extracted the longest stretch of aligned consensus sequences that was covered by each species (supplementary table S1, Supplementary Material online). From these alignments, we created a neighbor-joining phylogeny using Tamura-Nei distance matrices in Geneious ( fig. 4).
Our next goal with the common CR1 consensus sequences was to identify trends in percent sequence divergence to investigate amplification patterns. CR1 insertions in the genome initiate on the 3 0 end of the full length element, with most insertions only including a small portion (i.e., severe 5 0 truncations) of the complete element (Burch et al. 1993  we did not want to bias our results if there might be differential selective pressures (or ages) for shorter or longer CR1 insertions, as well as to keep analyses consistent between different CR1 families, we limited our analysis to sequences matching 500 bp regions near the 3 0 end of the full-length CR1 consensus sequences (supplementary table S1, Supplementary Material online). We used raw reads that were initially identified as one of these four CR1 families to measure percent sequence divergence from species-specific consensus sequences using BLASTþ. We created divergence histograms from this output with reads containing ! 50 bp matching the CR1 consensus sequences ( fig. 1d and supplementary table S1, Supplementary Material online).

CR1 Polymorphism Detection in Three Woodpecker Species (Polymorphisms Data Set)
We used Trimmomatic v0.36 (Bolger et al. 2014) for quality filtering of all raw reads with less conservative filtering relative to the phylogeny data set because of higher representative coverage. We removed adapter contamination and trimmed reads of low-quality bases using the following filters: we removed all bases below a quality of Q20 on the ends of all sequences, and trimmed regions in sliding windows of 25 bp if the average quality dropped below Q20. We filtered mitochondrial DNA with the bbsplit.sh perl script implemented as part of BBMap v36.x (Bushnell 2014) with the downy woodpecker mitochondrial genome as a reference.
We used the BWA-MEM implementation of the Burrows-Wheeler transform algorithm in BWA (Li and Durbin 2009) to align all quality-filtered sequences to the downy woodpecker (Dryobates pubescens) genome (April 28, 2014 version, dx.doi.org/10.5524/101012). We used samtools v1.4.1 ) to convert the BWA output SAM file to BAM format. Next, we cleaned, sorted, added read groups to, and removed duplicates from the BAM file for each individual using Picard (available at: http://broadinstitute.github.io/picard).
We used the final cleaned and filtered BAM files for each individual as input for detecting polymorphic transposable elements with the Mobile Element Locator Tool v2.1.2 (MELT) (Gardner et al. 2017). MELT uses unaligned and split reads from BWA alignments, a reference genome, and consensus TE sequences to identify polymorphic TEs. Because MELT relies on sequence similarity for identifying TEs, we could not use reference elements from RepBase. Instead, we used the downy woodpecker partial consensus sequences of the CR1 subfamilies J3_Pass (length ¼ 3,720 bp), J2_Pass (2,934 bp), E_Pass (2,655 bp), and Y4 (1,214 bp) that we created for use in the phylogeny data set. While these are not full-length consensus sequences, we are confident they are representative of their respective CR1 subfamilies in the three species of Dryobates woodpeckers investigated here because of the large number of sequencing reads used to construct the consensus sequences, the fact that the consensus sequences are typical representatives of their respective subfamilies, and because they generally reflect the phylogenetic patterns in their hosts ( fig. 4). We preprocessed BAM and TE consensus files with the "Preprocess" and "BuildTransposonZIP" utilities of MELT, respectively.
When detecting polymorphic TEs in multiple individuals, MELT is a multistep process: 1) Discovery of potential TEs in each individual ("IndivAnalysis"); 2) Output of all individuals' TE discovery analyses are compiled together to identify putative insertion breakpoints in the reference genome ("GroupAnalysis"); 3) Genotyping of all insertions for each individual ("Genotype"); and 4) Filtering of genotype files and variant call format (VCF) file creation ("MakeVCF"). We limited the MELT analyses to scaffolds of at least two megabases (n ¼ 179; $52% of genome) because highly fragmented scaffolds and contigs influence the performance of the program. These four steps were run for each CR1 family separately. MELT allows different sensitivity thresholds for TE detection by changing the maximum amount of allowed divergence between putative polymorphic TEs and the consensus sequence. We used four maximum divergence levels (3%, 6%, 10%, and 15%) to have conservative and liberal TE polymorphism estimates (i.e., different sensitivity levels). Any polymorphisms called by MELT for more than one of the CR1 families (breakpoints within 100 bp to allow some error) were matched to the most similar CR1 consensus sequence and removed from other VCF files. We additionally postprocessed the MELT output using several filtering steps by removing: 1) putative insertions near scaffold breakpoints ( 10 kb) to limit any effects of misassembly on scaffold edges; 2) TEs called with limited evidence, for example, imprecise breakpoints due to ambiguous alignment (MELT ASSESS flag ! 3); 3) reads not passing MELT's suggested quality filters (MELT FILTER flag ¼¼ PASS); and 4) any polymorphic TEs with missing calls for any individuals.
To compare CR1 polymorphisms to putatively neutral genomic patterns, we called single nucleotide polymorphisms (SNPs) from all six Dryobates individuals. From the filtered and cleaned BAM file, we used the Genome Analysis Toolkit (GATK) (McKenna et al. 2010) HaplotypeCaller to create an intermediate genomic variant call format (gVCF) file for each individual. All gVCFs were used as input in GATK to group genotype all SNPs and small indels. We filtered all output SNPs in VCFtools v0.1.14 (Danecek et al. 2011) to keep those with the following conditions: 1) sites with quality ! 20; 2) genotypes with quality ! 20; 3) biallelic SNPs; 4) minimum depth per individual ! 5; 5) maximum mean depth per individual < 20; and 6) the site is covered in all individuals. Lastly, we only used SNPs present on the scaffolds used in MELT analyses for comparisons.

Analysis of Diversification Rates in Piciformes
We used the program Bayesian Analysis of Macroevolutionary Mixtures (BAMM) v2.5.0 Mitchell and Rabosky 2017) to assess whether bursts of TE amplification coincide with diversification in Piciformes. For the input phylogeny for BAMM, we obtained data for all individuals of the Coraciiformes, Galbuliformes, and Piciformes with available genetic data from birdtree.org (Hackett et al. 2008;Jetz et al. 2012) using the Hackett 6670 OTUs data set. We used the highest clade credibility phylogeny from the 10,000 tree set as input. We used the BAMMtools ) function "setBAMMpriors" to determine all input prior settings for BAMM, that is, using empirically optimized parameterization. We ran two iterations of BAMM with 100 million MCMC generations, using 10% burn-in (supplementary fig. S1, Supplementary Material online) and an assumption of 50% missing taxa. This resulted in effective sample sizes for all estimated paramaters > 3,500, and estimates of 23 or 25 variations of credible shifts in the 95% posterior distribution for the two runs. The major distinctive shift configurations output from the two BAMM iterations were largely the same; the different configurations had slight variation of node placement (supplementary fig. S1, Supplementary Material online). For example, one rate shift varied between the nodes of the woodpecker clade Picinae to the Picidae clade, which is inclusive of Picinae and a few more genera (supplementary fig. S1, Supplementary Material online).
Recently, a critical analysis of BAMM (Moore et al. 2016) identified several putative flaws with the methodologies and consistency of the program, to which BAMM's authors provided a rebuttal : 1) the posterior of BAMM has strong prior sensitivity, 2) a faulty nondefault extinction-rate calculation, 3) strong impact of unobserved lineages on final rate shift results, and 4) unreliable results when many shifts are present relative to the number of extant tips in the phylogeny. Rabosky et al. (2017) showed that these arguments were either flawed or did not have significant effects on final results when reasonable considerations were taken: 1) checking whether the prior distribution systematically shaped the posterior distribution, 2) use of nonhidden, that is, default, extinction parameterization, 3) the use of empirically parameterized values for the calculations, and 4) the use of phylogenies with a large tip to rate-shift ratio (> 10: 1). We followed the protocols outlined by  and additional guidelines at (http://bamm-project. org), checked the distribution of the prior versus the posterior (supplementary fig. S1, Supplementary Material online), used empirically derived values for calculations as determined using BAMMtools , and used a phylogeny with hundreds of tips relative to only a few possible variations of estimated rate shifts (supplementary fig. S1, Supplementary Material online).

Nesoctites Satellite Investigation
In Nesoctites, we found a distinct pattern in the rankabundance curves (supplementary fig. S2, Supplementary Material online), due to a large expansion of satellite DNA ($10.5% of genome; fig. 1b). The majority of the satellite BLAST matches in Nesoctites were similar to a 153-bp repeat identified with REPdenovo (supplementary fig. S2a, Supplementary Material online). We manually investigated the satellite sequences to ensure these results were not spurious. First, we aligned 2,000 75-bp sequence matches using MAFFT (Katoh and Standley 2013) to create a consensus sequence of the satellite. Within the consensus, we used mreps (Kolpakov et al. 2003) to identify any repetitive elements of the consensus. We found a 10-bp motif (supplementary fig.  S2c, Supplementary Material online) with 3.5 repeats in the consensus. We searched all long Nesoctites satellite BLAST matches (! 70 bp, n ¼ 594,155) for the repeat motif using the Biostrings R package (Pages et al. 2017), while allowing one mutation maximum (i.e., one mismatch) in the repeat motif.

Characterizing TE Dynamics with Whole-Genome Shotgun Sequencing
We used whole-genome shotgun sequencing data to characterize TE abundance and diversity across the genomes of Piciformes. We identified a massive expansion of the retrotransposon superfamily CR1 (13-19% genomic content) in the woodpecker and toucans þ barbets clades, but not in honeyguides or jacamars ( fig. 1b and supplementary table  S2, Supplementary Material online). Minor expansions (< 2% genomic content) of endogenous retrovirus (ERV3) and woodpecker-specific R2 elements were also identified ( fig. 1b and supplementary table S2, Supplementary Material online). One piculet species (Nesoctites micromegas), from a monotypic genus endemic to Hispaniola, displayed a massive expansion of satellite sequence in its genome ( fig. 1b). With further investigation of these satellite sequences, we found the sequences exhibited an abundance of a 10bp repeat motif (median ¼ three motifs per 75 bp sequence, sd ¼ 1.11; supplementary fig. S2, Supplementary Material online). Compared with the two previously assembled genomes-northern carmine bee-eater and downy woodpecker-our approach underestimated genomic TE content by $2-5% ( fig. 1b), suggesting our approach in identifying genomic TE content is conservative. Using different sensitivities for detecting TEs, we found small changes in the absolute levels of genomic TE content (up to 4% less), but not in relative differences between species (supplementary fig. S3, Supplementary Material online). It was critical to incorporate the custom repeats into the repeat search database; using only the RepBase consensus sequences resulted in missing a large proportion of TEs ($1-15% genomic content), which positively scaled with genomic TE content, that is, more TEs were missed in genomes with more TE content (supplementary fig. S4, Supplementary Material online).
Overall, this approach could be implemented with few reads per individual for overall genomic TE content and TE family content; we recovered consistent results when we used subsets of 100,000 sequencing reads (supplementary fig. S5 and table S2, Supplementary Material online).
The CR1 expansion in Piciformes is due to at least three waves of activity in different CR1 families ( fig. 1c and supplementary table S3, Supplementary Material online): 1) All Piciformes had modest expansions ($1-2% of genome each; i.e., tens of millions of bp) of J2_Pass and Y4; 2) The woodpeckers had a major expansion of J3_Pass ($4-5%) and a minor expansion of E_Pass ($1-2%); 3) Lastly, the barbets þ toucans clade had mixed patterns, but massive overall expansions of J3_Pass þ E_Pass ($8-10%). These results specifically exemplify the dynamic nature of the E_Pass and J3_Pass families; these two families each amplified at least twice and to different magnitudes ( fig. 1c) in the barbets þ toucans and woodpecker clades. Apart from major CR1 genomic explosions, all Piciformes genomes are generally homogenous in TE richness (types of TEs) and evenness (similarity of TE abundances across species) (supplementary fig.  S6, Supplementary Material online). To estimate divergence curves for the J3_Pass, E_Pass, J2_Pass, and Y4 families, we created species-specific and CR1 family specific consensus sequences for each species ( fig. 4 and supplementary table S1, Supplementary Material online) and estimated divergence of sequence reads from consensus sequences. The cladespecific expansions of J3_Pass and E_Pass occurred simultaneously, as well as more recently than Piciformes-wide expansions of J2_Pass and Y4 ( fig. 1d and supplementary table S1, Supplementary Material online).
Because large expansions of TEs, and associated genomic changes, may promote evolutionary diversification (Jurka et al. 2007;Belyayev 2014;Hoffmann et al. 2015) we looked for bursts of speciation that may coincide with major TE expansions in Piciformes. Using BAMM, we found two consistent shifts in diversification rate that follow clade-specific TE expansions: 1) increased diversification in the early radiation of either Picidae (all woodpeckers) or Picinae (all woodpeckers excluding several genera of wrynecks and piculets: Jynx, Picumnus, Sasia, Verreauxia, and Vivia); and 2) increased diversification in the early radiation of either both Ramphastidae þ Capitonidae (toucans and American barbets, respectively) or only Ramphastidae (supplementary fig. S1, Supplementary Material online).

CR1 Polymorphisms in Three Species of Closely Related Woodpeckers
We searched for the presence of polymorphic CR1 insertions in the downy woodpecker and two close relatives to determine if CR1 is still active in woodpeckers. We also characterized several traits of polymorphic TEs to determine whether polymorphic CR1s show different patterns relative to those exhibited in the downy woodpecker genome. Polymorphic CR1s were largely short (< 1,000 bp) and truncated on the 5 0 end (supplementary fig. S7, Supplementary Material online); $20-25% of polymorphic CR1s were intronic and had a random orientation relative to their respective gene insertion site ($50% same orientation as gene) (supplementary table S4, Supplementary Material online). These general patterns of the polymorphic CR1s mirror the downy woodpecker genome-wide patterns of CR1 truncation, intronic abundance, and orientation within genes, suggesting that current patterns of CR1 activity mirror general trends of long-term CR1 accumulation. We compared putatively neutral genetic variation (i.e., genome-wide SNPs) with CR1 J3_Pass polymorphisms, the most abundant TEs in woodpeckers. We found a much smaller proportion of CR1 J3_Pass polymorphisms to be fixed between species than SNPs ( fig. 2c); similarly, J3_Pass insertions had a much higher frequency of singletons than SNPs (supplementary fig. S8, Supplementary Material online). We looked at patterns of observed heterozygosity across all individuals to see if neutral genetic diversity was related to diversity of TE insertion polymorphisms and found that observed heterozygosity was negatively correlated between SNPs and CR1 insertions, but positively correlated among all CR1 families (supplementary table S5, Supplementary Material online). Because selection is more effective in large populations relative to smaller populations, this pattern is consistent with selection acting against CR1 proliferation, because genomes with higher genetic diversity-and likely higher recent population sizes-have lower diversity of CR1 polymorphisms.

Multiple Transposable Element Genomic Explosions in Piciformes
Our results demonstrate multiple, independent waves of CR1 amplification in the Piciformes, with clade-specific expansions of a similar magnitude to total TE content identified in most bird genomes (Zhang et al. 2014). The history of TE proliferation and activity in Piciformes is dynamic ( fig. 1); we found different temporal patterns of CR1 activity. The J2_Pass and Y4 families were active and amplifying at low levels during early evolution of the Piciformes clade, but lineage-specific amplification of different CR1 subsets occurred subsequently. The honeyguides exhibit more TE content than most birds, but have relatively small expansions of CR1s compared with all other Piciformes (fig. 1a). The toucans þ barbets clade displayed the highest amplitude of CR1 expansions from the J3_Pass and E_Pass families, with distinct patterns in different lineages. Lastly, we found remarkably consistent patterns of TE superfamily and family abundance across woodpeckers ( fig. 1) with major amplifications of the CR1 J3_Pass and a clade-specific amplification of an R2 element described from the downy woodpecker genome. One major deviant from the general trend in woodpeckers was Nesoctites, with expansions of satellite sequences ( fig. 1a and supplementary fig. S2, Supplementary Material online). Nesoctites is the lone representative of a monotypic genus and will need to be investigated further with high-coverage genomic sequencing and assembly. Similarly, a recent study identified a large genomic proportion of satellites in a North American bird species, the northern spotted owl (Strix occidentalis caurina) (Hanna et al. 2017).
Large and variable clade-specific expansions of CR1s cause distinct evolutionary genomic patterns and lineage-specific increases in genomic content. Overall, genome size in Piciformes ( fig. 1e) likely increased relative to the clade's common ancestor (Wright et al. 2014), varies slightly among Piciformes lineages, and differs by several hundred Mb within lineages ( fig. 1e). Recently, genome-wide analyses of bird genome assemblies indicated that genome size remains relatively static through evolutionary time despite TE activity due to mid-and large-scale deletions . However, these genome-size stability analyses relied on highly fragmented genome assemblies and taxonomic sampling at the level of avian orders.
Despite the genome size variation across birds (range $0.9 to 2.1 Gb), the current collection of avian genome assemblies is largely homogenous in size (Zhang et al. 2014), with moderate-coverage assemblies generally ranging between $1.0 and 1.3 Gb. The discrepancy between genome-size estimates and genome-assembly sizes suggests we are missing a large portion of avian genome size dynamics through the inability to accurately annotate and assemble large-scale interspersed repetitive elements in avian genomes. Although no genome size estimate exists for the downy woodpecker to compare with its genome assembly, one of its two closest relatives (Nuttall's woodpecker, Dryobates nuttallii) has a genome size of $1.48 Gb (Gregory et al. 2007), which indicates an incongruence of at least 200 Mb. These gaps in genome assemblies are likely due to the most difficult regions to assemble: highly repetitive elements. The misrepresentation of genome size dynamics with highly fragmented assemblies is exemplified by two recent surveys with high-quality and chromosome-scale genome assemblies (chicken and crow) that have identified large genomic regions of repetitive elements that were undetected and unaccounted for in shortread sequencing assemblies Weissensteiner et al. 2017). This suggests that while some genome size variation in birds may be moderated with midand large-scale deletions , we are also missing a substantial portion of the picture with most current genome assemblies.

Massive CR1 Expansions Precede Shifts in Diversification Rate
We found that two large bursts of CR1 activity preceded bursts of diversification in the woodpeckers and in the toucans þ barbets (but also see other slightly different possibilities in supplementary fig. S1, Supplementary Material online). Transposable elements have long been recognized to have potential for rearranging genomes, with phenotypic consequences Feschotte 2008), and it was proposed that TEs could promote speciation when bursts of diversification occur simultaneous with or after TE genomic amplification (Jurka et al. 2007;Belyayev 2014;Hoffmann et al. 2015). This provides a chicken or the egg type of question (the egg definitely came before the chicken.): Does rapid diversification induce rampant TE activity or does TE amplification promote increased speciation rates and consequent rapid diversification?
During rapid diversification, small populations-due to founder events or other causes-will be more influenced by genetic drift and have less effective selection against TE expansions (Tollis and Boissinot 2013;Ruggiero et al. 2017;Trizzino et al. 2017). Similarly, populations experiencing novel stressors, such as during population expansions to new environments, could experience disruption of TE epigenetic repression (Zeh et al. 2009). In contrast, the TE-thrust hypothesis Greene 2011, 2012) posits that the continuum of TE activity-from extinct to highly abundant and active-has various evolutionary consequences. With a moderate TE abundance and activity in a lineage's genomes, the TE-thrust hypothesis suggests those genomes are more dynamic, adaptable, and may lead to increased rates of speciation Greene 2011, 2012).
While the present data do not allow us to distinguish between these two possibilities, it is unlikely by chance that rapid diversification and large TE expansions coincided. A large body of evidence indicates that TE activity contributed to novel phenotypes (Feschotte 2008;Belyayev 2014;Trizzino et al. 2017), and TE expansions occurring coincidently with diversification is documented in fishes (de Boer et al. 2007), mammals (Pascale et al. 1990;Pritham and Feschotte 2007;Ray et al. 2008), and now birds (this study). Because the massive CR1 expansions we identified here precede diversification rate shifts in Piciformes, we hypothesize that TEs may have promoted genomic novelty in the woodpecker and barbets þ toucans clades and contributed to their bursts of increased diversification rate, although we cannot imply causation and this hypothesis will require further investigation using high-coverage genomic data for this group.

Woodpeckers Have Moderate Levels of CR1 Polymorphisms
We identified thousands of polymorphic CR1 elements in three woodpecker species in the genus Dryobates ( fig. 2). CR1 polymorphisms may be present in these species due to maintained ancestral polymorphism since their most recent common ancestor, that is, at least several Ma (Shakya et al. 2017) or continually maintained through low but continual CR1 activity. The magnitude of CR1 activity in woodpeckers produced a number of insertion polymorphisms similar to those in other vertebrates with greater genomic TE content. For example, the woodpecker CR1 polymorphism level we identified is greater in magnitude than LINE-1 polymorphisms in humans (Stewart et al. 2011), as would be expected because most LINE-1 elements are inactive in humans. In contrast, the green anole (Anolis carolinensis) has more than double the number of CR1 polymorphisms per individual than we found in our samples (Ruggiero et al. 2017).
Similar to the overall pattern of the woodpecker genome, CR1 polymorphisms showed a trend of extreme 5 0 truncation (supplementary fig. S7, Supplementary Material online), consistent with patterns in anoles (Ruggiero et al. 2017). These highly truncated CR1 elements are essentially inactive on insertion, and are likely the result of inefficient reverse transcription or host interruption of reverse transcription (Levin and Moran 2011). Consequently, CR1s are precluded from overactivity but maintain some genomic proliferation with few functional copies producing mainly truncated copies. J3_Pass CR1 polymorphism insertions are maintained at lower frequencies than SNP minor alleles, similar to patterns in anoles (Ruggiero et al. 2017). The low to moderate, but nonzero, frequency of CR1 insertions is strongly suggestive of ongoing selection against additional CR1 genomic expansions in the woodpecker lineage. Selection against ongoing expansions may be due to continued constraints on genome size, or, alternatively, due to negative effects of high retrotransposition rates, for example, a high prevalence of ectopic recombination.
If woodpecker genomes exhibit continued selection against high levels of CR1 proliferation, the question remains how CR1s amplified to such high numbers in the recent evolutionary past. Two mechanisms potentially explain CR1 proliferation throughout the woodpecker genomes. First, novel features of CR1s, such as new promoter classes (as observed in human LINE-1 elements; Khan et al. 2006), start amplifying because host genomes lack strong defense mechanisms against TEs with newly evolved features. This hypothesis is doubtful for woodpeckers, because all CR1 consensus sequences look like normal CR1s relative to outgroup sequences ( fig. 4). Alternatively, and more likely, population fragmentation, founder events, or speciation may result in small population sizes, and subsequently allow CR1 accumulation through drift (Jurka et al. 2011), whereas in larger populations CR1 accumulation would be limited by selection. In particular, accumulation of relatively more deleterious full-length CR1s could cause higher retrotransposition rates and cause genomic CR1 copy number increases.
Altogether, CR1 polymorphisms at low to moderate levels and selection against large CR1 genomic expansions in the woodpecker lineage, together with high levels of TE amplification across Piciformes, provide multiple lines of evidence that woodpeckers' and related species' genomes are not a barren landscape of fossil TEs, but a landscape under the influence of prolonged and ongoing TE action.

Conclusions
Using whole-genome sequencing of several species of Piciformes (woodpeckers, toucans, barbets, and honeyguides), we identified massive TE expansions from at least three waves of activity, resulting in doubling or tripling genomic TE content in multiple Piciformes lineages. Additionally, we found thousands of polymorphic CR1 insertions in woodpeckers maintained at low frequencies relative to single nucleotide polymorphisms. Our findings show that TE activity in woodpeckers and closely related species has been prolonged and remains ongoing.