Giter VIP home page Giter VIP logo

mag-isolate-comparison's Introduction

Genomes from metagenomes have similar phylogenetic behavior compared with isolate genomes

histogram comparison

To run this notebook, you'll want to download the files: bac120_metadata_r89.tsv bac120_msa_individual_genes_r89.tar.gz

from the GTDB server: https://data.ace.uq.edu.au/public/gtdb/data/releases/release89/89.0/

Recently a BioRxiv preprint entitled "Anomalous phylogenetic behavior of ribosomal proteins in metagenome assembled genomes" reported a seemingly straight-forward analysis. They picked sets of 30 isolate microbial genomes and sets of 30 genomes assembled from metagenomes, and created phylogenetic trees for each set using each single copy gene. They then compared the differences between all of the SGC trees created for each set, and found that trees of genomes from metagenomes consistently were more different than trees of isolate genomes. Please note that they observe the pattern for all metagenome assembled genomes they test, not just specific novel clades - this is a point of confusion that is not made very clear by the preprint itself.

They use this finding to make two claims, which can most charitably be summarized as:

  1. The methodology behind assembling and binning genomes from metagenomes is flawed.

  2. Specific novel lineages* described entirely by genomes from metagenomes are therefore not real.

*Candidate Phyla Radiation (CPR) and ASGARD Archaea

There are multiple reasons why both of these claims were likely to be false:

  1. Isolates exist for a member of the CPR and more recently, ASGARD Archaea.

  2. Dozens (hundreds?) of single cell amplified genomes exist for the Candidate Phyla Radiation.

  3. Dozens of completed metagenome assembled genomes exist for the CPR. These are genomes that assembled in a single contig directly from a metagenome. (there are 45 such CPR genomes currently listed in GTDB).

  4. Previous direct comparisons of single cell genomes and metagenome assembled genomes have shown good parity.

  5. The methods behind metagenomic assembly and binning have been tested and validated on mock datasets.

  6. Pan-genomic analysis of all proteins from CPR genomes has shown them to be distinct from the rest of bacteria and to broadly recapitulate their phylogenetic placement.

And the list goes on. (If you have a special addition, open a pull request!) There are many more anecdotal reasons, such as how the proposed issue could make it still possible for dozens of research labs to consistently assemble similar genomes with similar phylogeny and metabolism from multiple environments across the world, and how the same methods could reliably recapitulate genomes of known microbes from the human microbiome, and so on.

However, it is also important to address the analysis that was performed. Here, I replicate the analysis using genomes from a standardized bacterial taxonomy (GTDB) and find a similar effect as the authors originally observed. There are then two hypotheses that can be tested:

A. The effect observed is due to poor quality and contamination due to inaccurate binning in metagenomes assembled genomes.

B. The effect observed is due to differences in the phylogenetic distribution of genomes from metagenomes vs isolate genomes.

Here, I conduct a reproducible analysis that shows (B) entirely explains the differences observed. The phylogenetic 'anomaly' observed is entirely a function of the differences in phylogenetic distributions of metagenome assembled genomes and isolate genomes, and when controlled for, this effect disappears and metagenome assembled genomes have similar results to isolate genomes.

Briefly: Two tests are conducted.

In the first, high quality (<10 contigs, where most if not all SCGs will be assembled on the same contig) genomes from metagenomes are compared against isolate genomes using the same analysis, and it is found that their tree incongruence does not change at all, making it unlikely that genome quality has anything to do with the difference.

In the second, genomes from metagenomes are matched one-to-one with isolate genomes from either the same genus or the same order. With this, we have effectively controlled for differences in phylogenetic distribution between the isolate and genomes from metagenomes sets: this way, it is possible to directly test the ability of metagenome assembly and binning to recapitulate genomes with normal phylogenetic behavior as fairly as possible. In both controlled comparisons, we observe that the distributions of tree congruence for genomes from metagenomes is similar to that of isolate genomes.

Most importantly, please note the difference between the two distributions in the second test: the difference between the two for isolate genomes as well as genomes from metagenomes is much larger than any difference observed between isolate genomes and genomes from metagenomes in the original test. Just by limiting selection to 1 genome per order instead of 1 genome per genus, we have dramatically changed the distribution of tree congruence. In other words, it appears as though more deep branching, singleton lineages without close relatives are more difficult to accurately resolve - and we know that genomes assembled from metagenomes are far more likely to include these lineages.

The implications of this are that experiments of this sort directly comparing disparate lineages (unlike my controlled tests) are fundamentally flawed: the results of this kind of naive congruence test will be entirely dependent upon the phylogenetic distribution of sampled genomes within the sets being compared. When comparing different lineages, it is impossible to completely control for this effect. Our tests directly comparing MAGs vs isolates matching 1:1 within taxa are valid because they can control for this: however it is impossible to do a valid comparison of the phylogenetic congruence between one phylum and another because the phylogenetic distribution of sampled genomes within each, and their relationships to each other, will inevitably vary.

mag-isolate-comparison's People

Contributors

alexcritschristoph avatar

Watchers

James Cloos avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.