-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathwhole_genome.qmd
129 lines (82 loc) · 9.93 KB
/
whole_genome.qmd
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
# Whole-Genome Comparison
In this part of the workshop, you will use public resources for whole-genome identification and classification of prokaryotes to help identify your isolate.
::: { .callout-important }
Please ensure that you have downloaded the genome file for your isolate (`isolate_genome.fasta`) to a suitable location on your computer.
:::
## The Type (Strain) Genome Server (TYGS)
The [Type (Strain) Genome Server (TYGS)](https://tygs.dsmz.de/) is provided by the [Liebniz Institute DSMZ](https://www.dsmz.de/), the German collection of Microbes and Cell Cultures. It provides genome-based classification of organisms by comparison against a reference database of over 20,000 sequenced bacterial _type strains_. TYGS is tightly-coupled to the authoritative [LPSN (List of Prokaryotic names with Standing in Nomenclature) database](https://www.bacterio.net/), to ensure nomenclaturally-correct identification
::: { .callout-warning collapse="true"}
## Type Strains
A [*type strain*](https://www.atcc.org/microbe-products/type-strains#t=productTab&numberOfResults=24) is the representative of a taxon: the nomenclatural "type" on which the definition of a taxon (such as species) is based. Type strains must be deposited in at least two separate public culture collections, in different countries.
Not all taxa (in particular _Candidate phyla_) have type strains. It is a requirement for type strains that the organism is grown and cultured, as it cannot otherwise be placed in a culture collection. But it has been estimated that not only are the majority of bacteria and archaea so far uncultured, but they may even be unculturable in the laboratory (@Hofer2018).
:::
::: { .callout-note collapse="true"}
## How TYGS Classification Works
TYGS takes a prokaryotic genome as input, and assigns a taxonomic identity after a series of pairwise genome comparisons.
First, the input genome is compared to the type strain database using an approach called MASH (@Ondov2016). The ten type strain genomes, and the ten most closely related type strains identified by 16S rDNA gene (extracted automatically from the input) similarity.
This set of 20 type strain genomes is then used to find the best 50 matching type strains. A phylogenetic tree is then constructed using the Genome BLAST Distance Phylogeny approach (GBDP, @Henz2005-th), and the resulting distances used to determine the 10 closest type strain genomes for each of the user genomes. The between-genome distances for this are calculated using digital DNA-DNA hybridisation (dDDH, @Meier-Kolthoff2013-ps).
TYGS compiles classification output into a PDF file, and presents the resulting phylogeny on the TYGS website. All results tables and trees can be downloaded in shareable formats.
:::
- Go to the [TYGS](https://tygs.dsmz.de/) server
![](assets/images/TYGS/01-tygs.png)
- Click on `Submit your query` (top menu), or `Submit your job` (button) to reach the query page
![](assets/images/TYGS/02-tygs.png)
- Click on the `Browse…` button and navigate to your `isolate_genome.fasta` file to select it for classification.
- Enter your email address in the `Provide contact details` field
![](assets/images/TYGS/03-tygs.png)
- Click on `Submit query` and wait for the results
![](assets/images/TYGS/04-tygs.png)
::: { .callout-warning }
This may take some time (maybe over an hour, depending on server load!), and may not be complete before the end of the workshop.
**You can download TYGS example output (obtained 2025-01-29) from the links below**
- [PDF output](assets/data/TYGS_job_results.pdf)
- [Whole-genome tree](assets/images/TYGS/phylogram_whole_genome.png)
**Please move on to the next section while you are waiting.**
:::
- When you get the result confirmation email, download and inspect the result PDF, and examine the whole-genome tree.
![](assets/images/TYGS/05-tygs.png)
::: { .callout-important title="Questions"}
1. What is the predicted taxonomic classification of your isolate's genome?
2. How similar is your isolate's genome to the closest match? (the $d_4$ result is the dDDH (digital DNA-DNA hybridisation) score)
3. What are the most closely-related species and genera in the whole-genome tree? Is the distribution of genera consistent with what was previously known about _Ochrobactrum_ and _Brucella_ taxonomy?
4. What is your current opinion about the identity of your isolate? How confident are you in the identification?
:::
## genomeRxiv
[`genomeRxiv`](http://genomerxiv.cs.vt.edu/) is a recently-developed approach to bacterial classification that promises to identify and classify prokaryotic genomes quickly and accurately into categories called LINgroups (LIN: Life Identification Number). LINgroups are a taxonomy-independent, quantitative categorisation scheme that organises genome sequences by similarity in multidimensional "space". These categorisations can then be used to relate alternative taxonomic assignments, and other annotations, to each other (@Pritchard2022-ti).
::: { .callout-note collapse="true" }
## How `genomeRxiv` works
`genomeRxiv` works in a similar way to [map grid references](https://en.wikipedia.org/wiki/Projected_coordinate_system).
![Example map grid references: point A has grid reference 970 (Easting) and 280 (Northing) as _x_-_y_ co-ordinates, so the total reference is 970280. Similarly, point B is at 989319, and point C at 005255. All points in the map, however large or small, are uniquely assigned to a discrete location and, by subdividing the map into smaller and smaller squares (longer and longer numbers) an arbitrary level of precision can be reached](assets/images/DarronGedge-HowToReadASixFigureGridReference-Screenshot.png)
`genomeRxiv` compares input sequences to a reference database with a very fast bioinformatics algorithm (`sourmash`) to get a set of good matches, and then refines the match with a more precise but slower algorithm (`ANI`). `genomeRxiv` then assigns a LINgroup to the genome (@Tian2021-xc). The LINgroup is a string of numbers, analogous to a map co-ordinate. The shorter the LINgroup, the lower the resolution of identification (Phylum, Family, etc.), and the longer the LINgroup, the finer the resolution (species, subspecies, strain, etc.).
The first key difference between LINgroups and map co-ordinates is that LINgroups are not co-ordinates on a two-dimensional surface, but in many-dimensional space. The second is that a single number describes the location, rather than two numbers (the "Easting" and "Northing" of map co-ordinates. Finally, grid references represent a physical space (such as the surface of the Earth), and LINgroups represent "sequence space" - which is not physical (@Mazloom2022-uv).
![Example arbitrary projection of 380 _Ralstonia solanacearum_ genomes into three dimensions, based on overall genome similarity. Each sphere is a single genome. The genomes can be clustered into groups of genomes that are more similar to each other than they are to other genomes in the dataset. These clusters are assigned different colours. Each genome, such as the one indicated, has a unique co-ordinate in this "sequence space."](assets/images/genomeRxiv/projection_of_ani_distances.png)
Taxa are then defined by the volumes in space circumscribed by genomes which are examples of each taxon. When a new unknown genome is added, a LINgroup is assigned and - if it lies within a volume of space contained only by members of a single taxon (e.g. _E. coli_), the genome is assigned that taxon.
:::
The [`genomeRxiv` webservice](http://genomerxiv.cs.vt.edu/) allows users to input their bacterial genomes and rapidly obtain, or predict, taxonomic assignments on the basis of genome sequence.
::: { .callout-warning }
`genomeRxiv` remains under active development and is not yet fully-released, although it is public and usable.
:::
- Go to the [genomeRxiv](http://genomerxiv.cs.vt.edu/) server
![](assets/images/genomeRxiv/01-genomeRxiv.png)
- Click on `Identify using a FASTA file`
![](assets/images/genomeRxiv/02-genomeRxiv.png)
- Either click on the `Sequence to be identified` link to bring up a dialogue box through which you can upload the `isolate_genome.fasta` file, or drag the `isolate_genome.fasta` file onto the text.
- Click on `Identify` and wait for the results
::: { .callout-note }
The genomeRxiv site may ask you to allow pop-ups. You should allow the pop-ups, as these contain the identification output you need.
:::
::: { .callout-warning title="Interpreting genomeRxiv results"}
genomeRxiv provides three classifications:
- **Tentative LIN**: this is the LIN specific to the submitted genome. It may or may not match an existing, previously-assigned LIN.
- **Closest Genome**: this is the LIN corresponding to the closest-matching genome in the genomeRxiv database. It is unlikely to match the LIN of the submitted genome exactly, even if it's a genome from the same species.
- **Member LINgroups**: this is the LINgroup that circumscribes a known taxon, as close to _and enclosing_ the submitted genome, as possible. This is the likely identity of your isolate.
:::
::: { .callout-important title="Questions"}
1. What is the predicted taxonomic classification of your isolate's genome? (Check the `Member LINgroups` result)
2. What is the taxonomic identity assigned to the most similar genome in the database?
3. How similar is your isolate's genome to the closest match? (Look at the `ANI to Target` value)
4. What is your current opinion about the identity of your isolate? Have you modified your classification? How confident are you in the identification?
:::
::: { .callout-tip title="Consider your final evaluation"}
You have now used a number of different online bioinformatics tools to obtain a possible taxonomic classification for the isolate in your blood sample. You should, by this point, have some idea of what you think the organism is, and how confident you are. Now it's time to take a look at the official prokaryotic nomenclature database, to get a little more context around the candidate taxonomic name. Click on the link to [`LPSN`](lpsn.qmd) (here, or below), to keep going.
:::