1Biodiversity Research Centre, University of British Columbia, Vancouver, BC, V6T1Z4, Canada2Department of Zoology, University of British Columbia, Vancouver, BC, V6T1Z4, Canada3Department of Mathematics, University of British Columbia, Vancouver, BC, V6T1Z4, Canada
Checking for direct PDF access through Ovid
Motivation:Biodiversity databases now comprise hundreds of thousands of sequences and trait records. For example, the Open Tree of Life includes over 1 491 000 metazoan and over 300 000 bacterial taxa. These data provide unique opportunities for analysis of phylogenetic trait distribution and reconstruction of ancestral biodiversity. However, existing tools for comparative phylogenetics scale poorly to such large trees, to the point of being almost unusable.Results:Here we present a new R package, named ‘castor’, for comparative phylogenetics on large trees comprising millions of tips. On large trees castor is often 100-1000 times faster than existing tools.Availability and implementation:The castor source code, compiled binaries, documentation and usage examples are freely available at the Comprehensive R Archive Network (CRAN).Contact:email@example.comSupplementary information:Supplementary data are available at Bioinformatics online.