bioRxivEvolutionary BiologyPreprint
SpeciesGeoCoder: Fast categorisation of species occurrences for analyses of biodiversity, biogeography, ecology and evolution
Mats TöpeliD, Maria Fernanda Calió, Alexander Zizka, Ruud Scharn, Daniele SilvestroiD, Alexandre AntonelliiD
Abstract
Understanding the patterns and processes underlying the uneven distribution of biodiversity across space and time constitutes a major scientific challenge in evolutionary biology. With rapidly accumulating species occurrence data, there is an increasing need for making the process of coding species into operational units for biogeographic and evolutionary analyses faster, automated, transparent and reproducible. Here we present SpeciesGeoCoder, a free software package written in Python and R, that allows for easy coding of species into user-defined areas. These areas may be of any size and be purely geographical (i.e., polygons) such as political units, conservation areas, biomes, islands, biodiversity hotspots, and areas of endemism, but may also include altitudinal ranges. This flexibility allows scoring species into complex categories, such as those encountered in topographically and ecologically heterogeneous landscapes. In addition, SpeciesGeoCoder can be used to facilitate sorting and cleaning of occurrence data. The various outputs of SpeciesGeoCoder include quantitative biodiversity statistics, global and local distribution maps, and NEXUS files that can be directly used in many phylogeny-based applications for ancestral state reconstruction, investigations on biome evolution, and diversification rate analyses. Our simulations indicate that even datasets containing hundreds of millions of records can be analysed in relatively short time using a regular desktop computer. We exemplify the use of our program through two contrasting examples: i) inferring historical dispersal of birds across the Isthmus of Panama, separating lowland vs. montane species and optimising the results onto a species-level, dated phylogeny; and ii) exploring seasonal variations in the occurrence of 10 GPS-tracked individuals of moose (Alces alces) over one year in northern Sweden. These analyses show that SpeciesGeoCoder allows an easy, flexible and fast categorisation of species distribution data for various analyses in ecology and evolution, with potential use at different spatial, taxonomic and temporal scales.
Reproducibility ledger
Nobody has reported trying to reproduce this paper yet. Did you replicate an experiment or run the code? Your report saves the next lab a week.
Sign in to file a reproducibility report.
Related papers
- speciesgeocodeR: An R package for linking species occurrences, user-defined regions and phylogenetic trees for biogeography, ecology and evolution
Alexander Zizka, Alexandre Antonelli·bioRxiv·Nov 24, 2015
- Spatial Phylogenetics with Continuous Data: an Application to California Bryophytes
Matthew M. Kling, Ixchel S. González-Ramírez, … Brent D. Mishler·Systematic BotanyPeer-reviewed·Apr 8, 2026
- phyloregion: R package for biogeographic regionalization and spatial conservation
Barnabas H. Daru, Piyal Karunarathne, Klaus Peter Schliep·Methods in Ecology and EvolutionPeer-reviewed·Aug 29, 2020
- Evoregions: Mapping Shifts in Phylogenetic Turnover Across Biogeographic Regions
R. Maestri, L. Duarte·bioRxiv·May 27, 2019
- A data-driven geospatial workflow to improve mapping species distributions and assessing extinction risk under the IUCN Red List.
R. D. Palacio, P. J. Negret, … A. P. Jacobson·bioRxiv·Apr 27, 2020
- biomes: An R package for reproducible occurrence-to-biome classification using 31 global biome schemes
Hans Christian Groß, Jan‐Christopher Fischer, … Alexander Zizka·bioRxiv·Oct 1, 2026