You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: topics/microbiome/tutorials/metagenomics-assembly/tutorial.md
+28-28Lines changed: 28 additions & 28 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -11,20 +11,18 @@ questions:
11
11
- "How tools based on de Bruijn graph work?"
12
12
- "How to assess the quality of metagenomic data assembly?"
13
13
objectives:
14
-
- "Describe what an assembly is"
15
-
- "Explain the difference between co-assembly and individual assembly"
16
-
- "Explain the difference between reads, contigs and scaffolds"
17
-
- "Explain how tools based on De Bruijn graph work"
18
-
- "Apply appropriate tools for analyzing the quality of metagenomic data"
19
-
- "Construct and apply simple assembly pipelines on short read data"
20
-
- "Apply appropriate tools for analyzing the quality of metagenomic assembly"
21
-
- "Evaluate the Quality of the Assembly with Quast, Bowtie2, and CoverM-Contig"
14
+
- "Describe what an assembly is."
15
+
- "Explain the difference between co-assembly and individual assembly."
16
+
- "Explain the difference between reads, contigs and scaffolds."
17
+
- "Explain how tools based on de Bruijn graph work."
18
+
- "Evaluate the Quality of the Assembly with QUAST, Bowtie2, and CoverM-Contig."
19
+
- "Construct and apply simple assembly pipelines on short read data.""
22
20
time_estimation: "2H"
23
21
key_points:
24
-
- "Assembly groups reads into contigs and scafolds."
25
-
- "de Brujin Graphs use k-mers to assembly reads"
26
-
- "MetaSPAdes and MEGAHIT are assemblers"
27
-
- "Quast is the tool to assess the assembly quality"
22
+
- "Assembly groups reads into contigs and scaffolds."
23
+
- "de Brujin Graphs use k-mers to assembly reads."
24
+
- "MetaSPAdes and MEGAHIT are short-read assemblers."
25
+
- "MetaQUAST is a tool to assess metagenomic assembly quality."
28
26
edam_ontology:
29
27
- topic_3174 # Metagenomics
30
28
- topic_0196 # Sequence assembly
@@ -210,21 +208,21 @@ For more information on dereplication, check out the [metagenomic binning tutori
210
208
211
209
In this tutorial, to show all steps, we will run an **individual assembly**.
212
210
213
-
> <comment-title></comment-title>
214
-
> Sometimes it is important to run assembly tools both on individual samples and on all pooled samples, and use both outputs to get the better outputs for the certain dataset.
211
+
> <comment-title>Why not both?</comment-title>
212
+
> Sometimes it is important to run both individual assembly and co-assembly, and use both outputs to get better results for that dataset.
215
213
{: .comment}
216
214
217
215
As mentioned in the introduction, several tools are available for metagenomic assembly. But 2 are the most used ones:
218
216
219
-
- **MetaSPAdes** ({%cite nurk2017%}): an short-read assembler designed specifically for large and complex metagenomics datasets
217
+
- **MetaSPAdes** ({%cite nurk2017%}): an short-read assembler designed specifically for large and complex metagenomics datasets.
220
218
221
219
MetaSPAdes is part of the SPAdes toolkit, which has several assembly pipelines. Since SPAdes handles non-uniform coverage, it is useful for assembling simple communities, but metaSPAdes also handles other problems, allowing it to assemble complex communities' metagenomes.
222
220
223
221
As input for metaSPAdes it can accept short reads. However, there is an option to use additionally long reads besides short reads to produce hybrid input.
224
222
225
223
- **MEGAHIT** ({% cite li2015 %}): a single node assembler for large and complex metagenomics NGS reads, such as soil
226
224
227
-
It makes use of succinct de Bruijn graph (SdBG) to achieve low memory assembly.
225
+
It makes use of the Succinct de Bruijn Graph (SdBG) approach to achieve low memory assembly.
228
226
229
227
Both tools are available in Galaxy. But currently, only MEGAHIT can be used in individual mode for several samples.
230
228
@@ -246,9 +244,11 @@ Both tools are available in Galaxy. But currently, only MEGAHIT can be used in i
246
244
>
247
245
{: .hands_on}
248
246
249
-
**MEGAHIT** produced a collection of output assemblies - one per sample - that can be proceeded further in binning step and then de-replication. The output contains **contigs**, contiguous lengths of genomic sequences in which bases are known to a high degree of certainty.
247
+
**MEGAHIT** produced a collection of output assemblies - one per sample - that can be used for the subsequent step of **metagenomic binning**. The output contains **contigs**, contiguous lengths of genomic sequences in which bases are known to a high degree of certainty.
250
248
251
-
Contrary to **MetaSPAdes**, **MEGAHIT** does not output **scaffolds**, i.e. segments of genome sequence reconstructed fron contigs and gaps. The gaps occur when reads from the two sequenced ends of at least one fragment overlap with other reads from two different contigs (as long as the arrangement is otherwise consistent with the contigs being adjacent). It is possible to estimate the number of bases between contigs based on fragment lengths.
249
+
<comment-title>Scaffolds</comment-title>
250
+
Contrary to **MetaSPAdes**, **MEGAHIT** does not output **scaffolds**. **Scaffolds** are segments of genome sequence reconstructed fron contigs and gaps. The gaps occur when reads from the two sequenced ends of at least one fragment overlap with other reads from two different contigs (as long as the arrangement is otherwise consistent with the contigs being adjacent). It is possible to estimate the number of bases between contigs based on fragment lengths.
251
+
{:. comment}
252
252
253
253
> <comment-title></comment-title>
254
254
>
@@ -268,7 +268,7 @@ Contrary to **MetaSPAdes**, **MEGAHIT** does not output **scaffolds**, i.e. segm
268
268
> > ```
269
269
> >
270
270
> >
271
-
> > 2. Create a collection named `MEGAHIT Contig`, rename your pairs with the sample name
271
+
> > 2. Create a collection named `MEGAHIT Contigs`, rename your pairs with the sample name
272
272
> >
273
273
> {: .hands_on}
274
274
{: .comment}
@@ -309,7 +309,7 @@ Assemblies can be evaluated with **metaQUAST** ({%cite mikheenko2016%}), the met
309
309
310
310
> <hands-on-title>Evaluation assembly quality with metaQUAST</hands-on-title>
311
311
>
312
-
> 1. {% tool [Quast](toolshed.g2.bx.psu.edu/repos/iuc/quast/quast/5.2.0+galaxy1) %} with parameters:
312
+
> 1. {% tool [QUAST](toolshed.g2.bx.psu.edu/repos/iuc/quast/quast/5.2.0+galaxy1) %} with parameters:
@@ -346,7 +346,7 @@ Assemblies can be evaluated with **metaQUAST** ({%cite mikheenko2016%}), the met
346
346
> {: .hands_on}
347
347
{: .comment}
348
348
349
-
Quast main output are HTML reports which aggregate different metrics.
349
+
QUAST main output are HTML reports which aggregate different metrics.
350
350
351
351
## Assembly statistics
352
352
@@ -358,7 +358,7 @@ On the top of each report is a table with in rows statistics for contigs larger
358
358
359
359
A base in the reference genome is counted as aligned if at least one contig has at least one alignment to this base.
360
360
361
-
We did not provide any reference there, but metaQuast try to identify genome content of the metagenome by aligning contigs to [SILVA](https://www.arb-silva.de/) 16S rRNA database. For each assembly, 50 reference genomes with top scores are chosen. The full reference genomes of the identified organisms are afterwards downloaded from NCBI to map the assemblies on them and compute the genome fractions.
361
+
We did not provide any reference there, but metaQUAST try to identify genome content of the metagenome by aligning contigs to [SILVA](https://www.arb-silva.de/) 16S rRNA database. For each assembly, 50 reference genomes with top scores are chosen. The full reference genomes of the identified organisms are afterwards downloaded from NCBI to map the assemblies on them and compute the genome fractions.
362
362
363
363
For each identified genomes, the genome fraction is given when clicking on **Genome fraction (%)**
364
364
@@ -475,7 +475,7 @@ On the top of each report is a table with in rows statistics for contigs larger
475
475
476
476
3. **Misassemblies**: joining sequences that should not be adjacent.
477
477
478
-
Quast identifies missassemblies by mapping the contigs to the reference genomes of the identified organisms. 3 types of misassemblies can be identified:
478
+
QUAST identifies missassemblies by mapping the contigs to the reference genomes of the identified organisms. 3 types of misassemblies can be identified:
479
479
480
480
{:width="60%"}
481
481
@@ -800,8 +800,8 @@ Metagenomic data can be assembled to, ideally, obtain the genomes of the species
800
800
- **different tools** like MetaSPAdes and MEGAHIT
801
801
802
802
Once the choices made, metagenomic assembly can start:
803
-
1. Input data are assembled to obtain contigs and sometimes scaffolds
804
-
2. Assembly quality is evaluated with various metrics
803
+
1. Input data are assembled to obtain contigs and sometimes scaffolds.
804
+
2. Assembly quality is evaluated with various metrics.
805
805
3. The assembly graph can be visualized.
806
806
807
807
Once all these steps done, we can move to the next phase to build Metagenomics Assembled Genomes (MAGs): [metagenomic binning](../metagenomics-binning/tutorial.md).
0 commit comments