Search bioRxiv⌕ Search

bioRxiv · 10.1101/2020.07.23.213793

SambaR: an R package for fast, easy and reproducible population-genetic analyses of biallelic SNP datasets

Abstract

BackgroundSNP datasets can be used to infer a wealth of information about natural populations, including information about their structure, genetic diversity, and the presence of loci under selection. However, SNP data analysis can be a time-consuming and challenging process, not in the least because at present many different software packages are needed to execute and depict the wide variety of mainstream population-genetic analyses. Here we present SambaR, an integrative and user-friendly R package which automates and simplifies quality control and population-genetic analyses of biallelic SNP datasets. SambaR allows users to perform mainstream population-genetic analyses and to generate a wide variety of ready to publish graphs with a minimum number of commands (less than ten). These wrapper commands call functions of existing packages (including adegenet, ape, LEA, poppr, pcadapt and StAMPP) as well as new tools uniquely implemented in SambaR. ResultsWe tested SambaR on online available SNP datasets and found that SambaR can process datasets of millions of SNPs and hundreds of individuals within hours, given sufficient computing power. Newly developed tools implemented in SambaR facilitate optimization of filter settings, objective interpretation of ordination analyses, enhance comparability of diversity estimates from reduced representation library SNP datasets, and generate reduced SNP panels and structure-like plots with Bayesian population assignment probabilities. ConclusionSambaR facilitates rapid population genetic analyses on biallelic SNP datasets by removing three major time sinks: file handling, software learning, and data plotting. In addition, SambaR provides a convenient platform for SNP data storage and management, as well as several new utilities, including guidance in setting appropriate data filters. Availability and implementationThe SambaR source script, manual and example datasets are distributed through GitHub: https://github.com/mennodejong1986/SambaR

Source connections

Explore related subjects

Keep this discovery

Explore connections, maps & timelines

BibTeXRIS

de Jong, M. J., de Jong, J. F., Hoelzel, A. R., Janke, A.. 2020-07-24. SambaR: an R package for fast, easy and reproducible population-genetic analyses of biallelic SNP datasets. https://doi.org/10.1101/2020.07.23.213793

Cite the original work for its findings. Save a collection to share your selection of sources.

KEEP EXPLORING

Related preprints

Host control and regulation of human anellovirus persistence

Anelloviruses are the most abundant and diverse eukaryotic viruses known to infect humans and can persist throughout our lifetimes. Despite their ubiquity, the host factors governing their physiologic distribution and abundance remain poorly understood. Here, we construct a viral pangenome of 2,023 strains to quantify anellovirus DNA in >1.1 million participants spanning three genetic biobanks. Genome-wide association studies identify 121 loci linked to viral persistence, predominantly via immune regulation by NF-kB signaling. Further, we associate variable anellovirus detection with conditions characterized by immune dysfunction, including lymphoid malignancies. By screening 3.2 petabases of human single-cell sequencing data, we identify myeloid progenitors in the bone marrow as a prominent site of anellovirus transcription in vivo. Finally, Perturb-seq of anellovirus proteins reveals that anellovirus ORF2, particularly from Alphatorquevirus, attenuates TNF-a-induced NF-kB signaling, connecting host genetic variation, cellular context, and viral immunomodulation to characterize the persistence of the eukaryotic human virome's most abundant component.

genetics↗

SARDINE unlocks EWAS summary statistics for large-scale epigenetic biomarker analysis

Epigenetic clocks are increasingly used to study biological aging, yet their interpretation and utility remain uncertain. Meanwhile, the growing wealth of epigenome-wide association study (EWAS) summary statistics remains largely untapped for evaluating these biomarkers. Here, we introduce SARDINE, a statistical framework that estimates epigenetic clock-phenotype associations using EWAS summary statistics, clock weights, and reference methylation covariance, without individual-level data. SARDINE accurately reproduced individual-level association estimates across 38 epigenetic biomarkers and four phenotypes in 15,677 individuals. Applying SARDINE to diverse EWAS datasets revealed substantial heterogeneity in biomarker associations with aging, diseases, and lifestyle factors. By transforming CpG-level EWAS results into interpretable biomarker-level associations, SARDINE unlocks a largely underutilized data resource and establishes a scalable paradigm for systematic biomarker evaluation and discovery in aging research.

genetics↗

Deep transcriptomic analysis of molecular mediators of complex traits in heterogeneous stock (HS) rats

Rats are a powerful model organism for genome-wide association studies (GWAS) of physiological and behavioral traits. Heterogeneous Stock (HS) rats, which were created by intercrossing 8 inbred rat strains, are heavily used for this purpose because of their genetic diversity and accumulated recombinations due to over 100 generations of outbreeding, which improves mapping precision. However, functional genomics resources for post-GWAS interpretation of genomic findings have been limited. We processed 3,160 RNA-seq samples, 1,932 of which were previously unpublished, from 13 tissues as part of RatGTEx. We used Pantry to quantify six modalities of transcriptome regulation (expression, isoform ratio, intron excision ratio, alternative transcription start site (TSS), alternative poly(A), and RNA stability) in each sample, which allowed us to identify 144,876 independent quantitative trait loci (QTL) for 22,599 genes. We performed a transcriptome-wide association study (TWAS) with 19,796 unique genes across tissues and transcriptional modalities and 308 traits collected from 14 studies using FUSION, which identified 7,473 significant gene-trait associations. This work presents a significant expansion of the RatGTEx resource in terms of samples, modes of transcriptome regulation, and genetic analyses. Our findings provide molecular evidence for the involvement of specific genes in mediating GWAS signals through a range of transcriptome regulatory mechanisms. These gene-to-phenotype relationships can be easily applied to genetic analyses in humans and other species. Further experiments can use this evidence to confirm these molecular mediators and target them for the treatment of behavioral and physiological traits and disorders. To facilitate use of these results, we have updated results on RatGTEx.org and provided a new interactive TWAS web portal (twas.ratgtex.org).

genetics↗