Resources

We use a wide variety of technology, which includes Open Source, in order to support the research and development - R&D at HubBucket.

GWAS - Genome-Wide Association Study

Databricks’ Open Source Genomics Toolkit Outperforms Leading Tools

Glow achieves 10x better price/performance in GWAS benchmarks

Genomic technologies are driving the creation of new therapeutics, from RNA vaccines to gene editing and diagnostics. Progress in these areas motivated us to build Glow, an open-source toolkit for genomics machine learning and data analytics. The toolkit is natively built on Apache Spark™, the leading engine for big data processing, enabling population-scale genomics.

The project started as an industry collaboration between Databricks and the Regeneron Genetics Center. The goal is to advance research by building the next generation of genomics data analysis tools for the community. We took inspiration from bioinformatics libraries such as Hail, Plink and bedtools, married with best-in-class techniques for large-scale data processing. Glow is now 10x more computationally efficient than industry leading tools for genetic association studies.

The vision for Glow and genomic analysis at scale

The primary bottleneck slowing the growth in genomics is the complexity of data management and analytics. Our goal is to make it simple for data engineers and data scientists who are not trained in bioinformatics to contribute to genomics data processing in distributed cloud computing environments. Easing this bottleneck will in turn drive up the demand for more sequencing data in a positive feedback loop.

When to use Glow

Glow’s domain of applicability falls in aggregation and mining of genetic variant data. Particularly for data analyses that are run many times iteratively or that take more than a few hours to complete, such as:

  1. Annotation pipelines
  2. Genetic association studies
  3. GPU-based deep learning algorithms
  4. Transforming data into and out of bioinformatics tools.

As an example, Glow includes a distributed implementation of the Regenie method. You can run Regenie on a single node, which is recommended for academic scientists. But for industrial applications, Glow is the world’s most cost effective and scalable method of running thousands of association tests. Let’s walk through how this works.

Benchmarking Glow against Hail

We focused on genetic association studies for benchmarks because they are the most computationally intensive steps in any analytics pipeline. Glow is >10x more performant for Firth regression relative to Hail without trading off accuracy (Figure 1). We were able to achieve this performance because we apply an approximate method first, restricting the full method to variants with a suggestive association with disease (P < 0.05). Firth regression is the most powerful method on biobank data because it reduces bias from small counts of individuals with rare diseases. Further benchmarks can be found on the Glow documentation.


Figure 1: Databricks SQL dashboard showing Glow and Hail benchmarks on a simulated dataset of 500k samples, and 250k variants (1% of UK Biobank scale) run across a 768 core cluster with 48 memory-optimized virtual machines. We used Glow v1.1.0 and Hail v0.2.76. Relative runtimes are shown. To reproduce these benchmarks, please download the notebooks from the Glow Github repository and use the associated docker containers to set up the environment.


Glow on the Databricks Lakehouse Platform

We had a small team of engineers working on a tight schedule to develop Glow. So how were we able to catch up with the world’s leading biomedical research institute, the brain power behind Hail? We did it by developing Glow on the Databricks Lakehouse Platform in collaboration with industry partners. Databricks provides infrastructure that makes you productive with genomics data analytics. For example, you can use Databricks Jobs to build complex pipelines with multiple dependencies (Figure 2).

Furthermore, Databricks is a secure platform trusted by both Fortune 100 and healthcare organizations with their most sensitive data, adhering to principles of data governance (FAIR), security and compliance (HIPAA and GDPR).


Figure 2: Glow on the Databricks Lakehouse Platform


What lies in store for the future?

Glow is now at a v1 level of maturity, and we are looking to the community to help contribute to build and extend it. There’s lots of exciting things in store.

Genomics datasets are so large that batch processing with Apache Spark can hit capacity limits of certain cloud regions. This problem will be solved by the open Delta Lake format, which unifies batch and stream processing. By leveraging streaming, Delta Lake enables incremental processing of new samples or variants, with edge cases quarantined for further analysis. Combining Glow with Delta Lake will solve the “n+1 problem” in genomics.

A further problem in genomics research is data explosion. There are over 50 copies of the Cancer Genome Atlas on Amazon Web Services alone. The solution proposed today is a walled garden, managing datasets inside genomics domain platforms. This solves data duplication, but then locks data into platforms.

This friction will be eased through Delta Sharing, an open protocol for secure real-time exchange of large datasets, which will enable secure data sharing between organizations, clouds and domain platforms. Unity Catalog will then make it easy to discover, audit and govern these data assets.

We’re just at the beginning of the industrialization of genomics data analytics. To learn more, please see the Glow documentation, tech talks on YouTube, and workshops.


SOURCE:

Databricks Blog: https://databricks.com/blog/2021/11/17/databricks-open-source-genomics-toolkit-outperforms-leading-tools.html

What does a GWAS measure?

A Genome-Wide Association Study (GWAS) is an approach used in genetics research to associate specific genetic variations with particular diseases. The method involves scanning the genomes from many different people and looking for genetic markers that can be used to predict the presence of a disease.


From 5,000 to 10,000 to one million and beyond. The scale of so-called genome-wide association studies (GWAS) has grown at a voracious pace over the last decade. And there’s no sign the initiatives are slowing down. As sequencing and data analysis costs continue to drop, public and private teams will likely push forward with even more ambitious projects.

But what if the data isn’t as worthwhile as it seems? That’s a question several researchers have raised in a compelling new paper published in Cell.

The three authors; Jonathan Pritchard, Evan Boyle, and Yang Li, all hail from the department of genetics at Stanford University.

In “An Expanded View of Complex Traits: From Polygenic to Omnigenic,”  they argue that there is no smoking gun for complex traits. Instead, “association signals tend to be spread across most of the genome—including near many genes without an obvious connection to disease.”

This runs counter to the idea that disease-causing variants cluster around key biological pathways. According to the authors, essentially all genes expressed in relevant tissues affect traits.

This observation led to a new hypothesis the authors call the “omnigenic” model (omni- means “all”), instead of the current polygenic approach.

“To be very clear we do not argue that GWAS ‘failed,'” Pritchard stressed on Twitter.

But if the aim is to understand complex traits and the huge amount of data produced through GWAS, researchers should work on mapping regulatory networks in cells, they said.

If the aim is to link genes with diseases, the authors recommend scientists focus their efforts on rare mutations and how those genes impact human health and disease. Such variants are typically too rare to be identified in GWAS.

The idea that findings from large genomic studies need to be taken with a grain of salt is hardly new. An August 2013 post on the CDC’s Genomics and Health Impact Blog, underscores a number of caveats — some of which resonate with the Stanford scientists’ argument:

“GWAS have many limitations, such as their inability to fully explain the genetic/familial risk of common diseases; the inability to assess rare genetic variants; the small effect sizes of most associations; the difficulty in figuring out true causal associations; and the poor ability of findings to predict disease risk.”

But there’s no denying that GWAS have played a huge part in developing genomics to this point.

If anything, it’s humbling to be reminded of how much more we have to learn. As Pritchard shared on Twitter, “scientists study nature as it is, and not as we might wish it to be (i.e. simpler).”


SOURCE:

MedCity News: https://medcitynews.com/2017/06/genome-wide-association-studies-flawed/