摘要:SummaryOne of the most basic kinds of analysis to be performed on a pangenome is the detection of its core, i.e., the information shared among all members. Pangenomic core detection is classically done on the gene level and many tools focus exclusively on core detection in prokaryotes. Here, we present a new method for sequence-based pangenomic core detection. Our model generalizes from a strict core definition allowing us to flexibly determine suitable core properties depending on the research question and the dataset under consideration. We propose an algorithm based on a colored de Bruijn graph that runs in linear time with respect to the number ofk-mers in the graph. An implementation of our method is called Corer. Because of the usage of a colored de Bruijn graph, it works alignment-free, is provided with a small memory footprint, and accepts as input assembled genomes as well as sequencing reads.Graphical abstractDisplay OmittedHighlights•Pangenomic core detection for large collections of prokaryotes or higher eukaryotes•Whole-genome analysis with assemblies or even read data as input•Alignment-free, linear time algorithm with small memory footprint•Variation tolerance and quorum for flexible core detectionBioinformatics; Genomics