Data from: High heterogeneity in macroevolutionary dynamics of sperm components in perching birds
Data files
Oct 16, 2026 version files 11.98 MB
-
Alignment_Edited_Concatented.fas
3.04 MB
-
AllTreesUltraExtendTrimmedNoRoot_Unitscale_postorder_SpWMidpieces.newick
46.07 KB
-
BeastInputFile.xml
3.54 MB
-
BestFit_AllTraitsAllModels_MyDPL_plusRRw1.rds
86.28 KB
-
COI_aligned.fasta
599.55 KB
-
CytB_aligned.fasta
997.14 KB
-
gapdh_aligned.fasta
426.80 KB
-
InterpretingMGPMoutput.R
42.93 KB
-
MGPM_simulations_output_handling.R
16.10 KB
-
myo_aligned.fasta
784.24 KB
-
NADH2_aligned.fasta
1.32 MB
-
ODC_aligned.fasta
946.62 KB
-
OliverosTree.constr1
5.42 KB
-
ParameterLimits_narrow.R
3.22 KB
-
ParameterLimits_wide.R
3.25 KB
-
PostOrderTraitDataTrimmed_SE_NsCorrected21Mar2025.csv
107.84 KB
-
README.md
13.84 KB
Abstract
Explaining the exceptional morphological diversity of spermatozoa remains a challenge due to the complexity and multivariate nature of evolutionary processes acting on sperm components. Identifying shifts in evolutionary trajectories across a phylogeny is a powerful approach to address this challenge. Here, we examine shifts in the tempo and mode of avian sperm macroevolution while also considering correlated evolution among sperm components. We studied 755 perching bird species (order Passeriformes). Evolutionary processes are highly heterogeneous: while the length of sperm components (head, midpiece, and flagellum) rapidly diversified in some groups, differentiation has been slow in others. In contrast to the heterogeneity in sperm length diversification, correlated evolution among the three sperm components was consistently supported throughout the tree, although the strength and direction of correlations differed among groups. Parvorder Passerida stands out for its long flagella and midpieces and particularly strong evolutionary correlations between these components. The striking differences in evolutionary pattern among groups may reflect changes in genomic architecture, sperm physiology, and/or selective pressures across groups. By identifying groups with divergent evolutionary processes, this work provides an important advance to better understand the causes of variation in sperm length and sperm diversification across clades.
This dataset includes our files for tree-building, the sperm dataset we compiled, and the full output from the best-fit model. Additional background information is available in the supplementary data accompanying the paper.
Dataset DOI: 10.5061/dryad.ghx3ffc2j
Description of the data and file structure
Our goal was to describe macroevolutionary patterns in the length of the three sperm components across Passeriformes (perching birds).
This involved first building a phylogeny, then modelling macroevolution, and finally interpreting the best-fit models. We used a super-computer cluster for phylogeny building and modelling macroevolution, while we interpreted results on a local computer. Below each file with code, we indicate whether it was used on the cluster or on the local computer. We assume that the user will create their own directory structure; input files are indicated in each script, and the user will need to specify the correct file path for how they have organized the files the download.
Literature Cited in ReadMe:
Machado, F. A., Mongle, C. S., Slater, G., Penna, A., Wisniewski, A., Soffin, A., Dutra, V. and Uyeda, J. C. 2023. Rules of teeth development align microevolution with macroevolution in extant and extinct primates. – Nat. Ecol. Evol. 7: 1729–1739.
Mitov, V., Bartoszek, K. & Stadler, T. 2019. Automatic generation of evolutionary hypotheses using mixed Gaussian phylogenetic models. Proc. Natl. Acad. Sci. U. S. A. 116: 16921–16926.
Oliveros, C.H., Field, D.J., Ksepka, D.T., Keith Barker, F., Aleixo, A., Andersen, M.J., et al. 2019. Earth history and the passerine superradiation. Proc. Natl. Acad. Sci. U. S. A. 116: 7916–7925.
Files and variables
File: Alignment_Edited_Concatented.fas
Description: This file contains the concatenated, trimmed alignment of genetic sequences that we used to build the tree in IQ-TREE v 2.2.1 and in the time calibration using BEAST v 2.7.0. An initial alignment for each locus was done in MAFFT's online server; we then adjusted it manually to improve gap positions in AliView and trimmed using GBlocks to produce this file. This file was used in constructing file giving the command for the BEAST analysis. It was used locally.
File: BeastInputFile.xml
Description: This file contains the full XML file necessary to re-create our BEAST runs. Note that we do not separately provide the initial phylogeny (i.e., the output from IQ-Tree), because we constrained BEAST to keep that topology. This file was produced locally and used on the server.
File: OliverosTree.constr1
Description: This file is the backbone tree that we used to constrain our topology. We obtained it by trimming the phylogeny produced by Oliveros et al. 2019. When species in our dataset were not present in Oliveros et al. 2019, we substituted a different member of the same genus (or, if there were no congeners, the same family) for that species (described in the manuscript's supplemental table S11). This file was used on the server for constructing the phylogeny using IQ-TREE.
File: ParameterLimits_wide.R
Description: This is the parameter limit file we used in running PCMFitMixed (Mitov et al. 2019). This file was modified from Machado et al. (2023). We here provide the file with the "wide" parameter limits. This file was used in the server.
File: RunPCMFitOnCluster.R
Description: This is the file used on a supercomputing cluster to run PCMFitMixed. This file is for a single run of PCMFitMixed and assumes that all the input files are in the same folder. The starting seed should be changed for each independent run. Because of difficulties with creating the parallelization cluster on our super-computing core, this script is hard-coded for 80 nodes total (79 workers plus one coordinator), but can be easily returned to a soft-coded state following instructions provided by V. Mitov's website (https://venelin.github.io/PCMFit/articles/pcmfitmixed.html). We do not provide code for submitting this file to the cluster, as details of such files depend on the cluster. This script is hosted on Zenodo and must be downloaded separately due to licensing differences between Mitov's GitHub repository and Dryad's CC0 requirement. Input files are: ParameterLimits_wide.R (orParameterLimits_narrow.R), AllTreesUltraExtendTrimmedNoRoot_Unitscale_postorder_SpWMidpieces.newick, PostOrderTraitDataTrimmed_SE_NsCorrected21Mar2025.csv)
File: AllTreesUltraExtendTrimmedNoRoot_Unitscale_postorder_SpWMidpieces.newick
Description: This is the time-calibrated phylogeny we used in macroevolutionary analysis. This tree is modified from the BEAST output, including removing a few species (rationale described in the manuscript), unit-scaling to facilitate interpreting the model output, and ordering the nodes appropriately. This file is used both locally and on the server.
File: ParameterLimits_narrow.R
Description: This is the parameter limit file we used in running PCMFitMixed (Mitov et al. 2019). This file was modified from Machado et al. (2023). We here provide the file with the "narrow" parameter limits. See the description for wide parameter limits for more details.
File: PostOrderTraitDataTrimmed_SE_NsCorrected21Mar2025.csv
**Description: **This is the trait data file, with natural log-transformed mean and standard error for sperm lengths (in um) for each sperm component (head, midpiece (=mid), and flagellum (=flag)). As described in the article, we calculated a pooled variance estimate across all well-sampled populations (> 7 males sampled, within the University of Oslo Natural History Museum Avian Sperm Collection). We then used this pooled estimate, together with the number of males sampled, to create the standard error estimates for each sperm component, provided in this file. Columns beginning "log" are the mean estimates, and columns beginning "EstSDL" are the estimated standard error calculated from the log-scale data. This file is used both locally and on the server.
Variables
- tip.label: species identifier (Family, Genus, and specific epithet separated by _)
- logHead: sperm head length (log-transformed)
- logMid: sperm midpiece length (log-transformed). See supplementary text to understand this measure of midpiece length compared to "straightened helix length" described in some other papers
- logFlag: sperm flagellum length (log-transformed), where flagellum includes the midpiece as well as the exposed portion of the flagellum (sometimes described as "tail")
- EstSDLHead: estimated standard error for head length
- EstSDLMid: estimated standard error for midpiece length
- EstSDLFlag: estimated standard error for flagellum length
File: BestFit_AllTraitsAllModels_MyDPL_plusRRw1.rds
Description: This is the best-fit model produced by PCMFitMixed. It can be read and analyzed using the R script provided (Interpreting MGPMoutput.R). We do not provide the other 8 PCMFitMixed results, nor the single-regime models, to reduce the carbon footprint of this dataset. This file was produced on the server and analyzed locally.
File: InterpretingMGPMoutput.R
Description: This is the script used to interpret the output of PCMFitMixed. It is meant to be run interactively (ie, line-by-line). To assist others using this analysis, we include code for comparing all models we ran, though we do not include all of those results in this data supplement. We do not provide full code for re-creating Figure 1, as the bird images were added manually. This file is used locally.
File: COI_aligned.fasta
Description: This FASTA-formatted file is the aligned sequence data for cytochrome oxidase c oxidase I. Data are from NCBI GenBank and BOLD. Sequences from whole mitochondrial genomes were manually trimmed before uploading to MAFFT.
File: CytB_aligned.fasta
Description: This FASTA-formatted file is the aligned sequence data for cytochrome b. Data are from NCBI GenBank. Sequences from whole mitochondrial genomes were manually trimmed before uploading to MAFFT.
File: gapdh_aligned.fasta
Description: This FASTA-formatted file is the aligned sequence data for glyceraldehyde-3-phosphodehydrogenase intron 11, sometimes including flanking sequence. Data are from NCBI GenBank. Some sequences were reverse-complemented before aligning on MAFFT.
File: myo_aligned.fasta
Description: This FASTA-formatted file is the aligned sequence data for myoglobin intron 2, sometimes including flanking regions. Data are from NCBI GenBank. Some sequences were reverse-complemented before aligning on MAFFT.
File: NADH2_aligned.fasta
Description: This FASTA-formatted file is the aligned sequence data for NADH dehydrogenase subunit 2. Data are from NCBI GenBank. Sequences from whole mitochondrial genomes were manually trimmed before uploading to MAFFT.
File: ODC_aligned.fasta
Description: This FASTA-formatted file is the aligned sequence data for ornithine decarboxylase, containing introns 6 and 7 with intervening and flanking exonic sequence. Data are from NCBI GenBank. Some sequences were reverse-complemented before aligning on MAFFT.
File: SimAndFitMGPM.R
Description: This is the file used on a supercomputing cluster to run PCMFitMixed for parametric bootstrapping of the main result, largely copied from https://venelin.github.io/PCMFit/articles/parambootstrap.html with modifications. This file is for a single run of PCMFitMixed and assumes that all the input files, including the best-fit model from the empirical data, are in the same folder. The starting seed should be changed for each independent run. Because of difficulties with creating the parallelization cluster on our super-computing core, this script is hard-coded for 80 nodes total (79 workers plus one coordinator), but can be easily returned to a soft-coded state following instructions provided by V. Mitov's website (https://venelin.github.io/PCMFit/articles/pcmfitmixed.html). We do not provide code for submitting this file to the cluster, as details of such files depend on the cluster. As for the main running of the model, the script is hosted on Zenodo due to licensing differences.
File: MGPM_simulations_output_handling.R
Description: This is the script used to interpret the output of parametric bootstrapping of PCMFitMixed. It assumes familiarity with code in InterpretingMGPMoutput.R, and essentially is a modified version of that code allowing for efficiently fetching parameters. It is meant to be run interactively (ie, line-by-line), locally.
Code/software
After constructing the phylogeny, we ran BEAST (BeastInputFile.xml). We additionally provide some of the files used in creating this BEAST input file to improve human readability; these are Alignment_Edited_Concatented.fas (which can be viewed with any sequence editing software (e.g., AliView) or in a text editor) and OliverosTree.constr1 (which can be viewed in FigTree). The BEAST run was done on a server, and we do not provide the script for submitting the job because this depends on the server.
We then ran the main analyses on a server in R. This used the following files: AllTreesUltraExtendTrimmedNoRoot_Unitscale_postorder_SpWMidpieces.newick (also readable in FigTree), ParameterLimits_narrow.R, ParameterLimits_wide.R, RunPCMFitOnCluster.R (all readable in R), and PostOrderTraitDataTrimmed_SE_NsCorrected21Mar2025.csv (which can be opened in software such as Excel). We do not provide the script for submitting these jobs.
Finally, we locally analyzed the output from the macroevolutionary analyses in R. The input data is BestFit_AllTraitsAllModels_MyDPL_plusRRw1.R, and the code we used for analysis is InterpretingMGPMoutput.R. Additionally, the phylogeny and trait data are used in this script for creating figures.
Access information
Data was derived from the following sources:
Sperm data:
- Allen, J.P., Hamon, J.H. & Mcfarlane, R.W. 1967. Some studies of the spermatozoa of certain species of the Icteridae (blackbirds). Proc. Indiana Acad. Sci. 77: 434–441.
- Cramer, E.R.A., Rowlison, T., Comizzoli, P. & Ryder, T.B. 2019. Uniform sperm morphology in the lek-breeding wire-tailed manakin, Pipra filicauda. Ornitol. Neotrop. 30: 135–139.
- Durrant, K.L., Reader, T. & Symonds, M.R.E. 2020. Pre- and post-copulatory traits working in concert: sexual dichromatism in passerines is associated with sperm morphology. Biol. Lett. 16: 20190568.
- Hasegawa, M., Arai, E. & Nakamura, M. 2022. Reddish male swallows have short sperm. J. Ethol. 40: 85–89. Springer Japan.
- Immler, S., Gonzalez-Voyer, A. & Birkhead, T.R. 2012. Distinct evolutionary patterns of morphometric sperm traits in passerine birds. Proc. Biol. Sci. 279: 4174–82.
- Immler, S., Pitnick, S., Parker, G.A., Durrant, K.L., Lüpold, S., Calhim, S., et al. 2011. Resolving variation in the reproductive tradeoff between sperm size and number. Proc. Natl. Acad. Sci. U. S. A. 108: 5325–30.
- Koehler, L. 1995. Diversity of avian spermatozoa ultrastructure with emphasis on the members of the order Passeriformes. Mémoires du Muséum Natl. d’histoire Nat. 166: 437–444.
Raw genetic sequence data were obtained from NCBI and BOLD; accession numbers are provided in Table S3 of the paper.
The backbone tree used as a constraint in tree-building was obtained from Oliveros, C.H., Field, D.J., Ksepka, D.T., Keith Barker, F., Aleixo, A., Andersen, M.J., et al. 2019. Earth history and the passerine superradiation. Proc. Natl. Acad. Sci. U. S. A. 116: 7916–7925.
