Hi guys. Could someone show me on some example how we identify that certain node(s) in the graph represent one single contig?
Unconfigured Ad
Collapse
X
-
I'm not completely clear on what you are asking but I think you want to know how to decide when to merge distinct nodes in the de Bruijn graph into a single node. This is done when two nodes are unambiguously connected. In other words, if two nodes x and y are connected by an edge and neither x nor y branches, then they can be merged. I've attached a simple diagram of this. In the diagram the connected blue nodes can be merged together, so can the middle red nodes. In this case 19 nodes would be merged into 5 "contigs".
Let me know if that isn't clear or if you are asking something else.Attached Files
-
Thank you very much. That's exactly what I'm interested in. Identifying and acquiring contigs and then using scaffolding to merge them and get the original DNA.Let me know if that isn't clear or if you are asking something else.
Ok. If I'm getting it correctly then the image below represents just 1 single contig, because this graph fragment(although it is a full graph itself) can be unambiguously assembled into just one node, namely the one having the following sequence: TAGTCGAGGCTTTAGATCCGATGAGGCTTTAGAGACAG. Or I'm getting it wrong and there are actually 4 contigs?In this case 19 nodes would be merged into 5 "contigs".Attached Files
Comment
-
Not quite since the graph contains a loop. Label the nodes as follows:Originally posted by bioinf View PostOk. If I'm getting it correctly then the image below represents just 1 single contig, because this graph fragment(although it is a full graph itself) can be unambiguously assembled into just one node, namely the one having the following sequence: TAGTCGAGGCTTTAGATCCGATGAGGCTTTAGAGACAG. Or I'm getting it wrong and there are actually 4 contigs?
x = TAGTCGAG
y = GAGGCTTTAGA
z = AGAGACAG
w = AGATCCGAGATGAG
Note that node y branches in both directions (to x/w on its left and to w/z on its right). This branch means that the graph cannot be unambiguously simplified further.
In particular, the path of the assembly that you suggest is:
x -> y -> w -> y -> z
This is ambiguous as the following is also a valid assembly:
x -> y -> w -> y -> w -> y -> z
The second assembly is the same as the first except it travels through the y/w loop twice. In general there is no way to know how many times to travel through the loop so most assemblers will output 4 contigs here.Last edited by jts; 01-10-2011, 05:05 AM.
Comment
-
I see. I guess even the mate-pairs can't help in such graph. The only solution in this case is to have the information about the length of the original DNA strand. Then we can deduce the number of times the repetition occured.
What is generally done in such cases? What is the common approach?
Comment
-
It varies assembler to assembler. Some will select the most likely number of copies of the repeat based on read pairs spanning the loop and the insert size distribution. Others will just built a scaffold of x,z and leave the sequence inbetween as a run of "N"s.
Comment
-
Simple model of De Bruijn graph
Dear jts or bioinf,
I have a trouble in understanding de Bruijn graph because the concept of graph is vague for me. What does it mean when we say k-mer acts as edge and k-1 mers act as edges? How the use of k-1 mer is used instead of only k mer? Do you have simpler model of assembly using de Bruijn graph? I would appreciate if you can help.
Thanks for your time,
Scientist1
Comment
-
Sorry, my first question is:
What does it mean when we say k-mer acts as edge and k-1 mers act as nodes?
Comment
Latest Articles
Collapse
-
by SEQadmin2
When the Human Genome Project declared the human genome finished in 2003, portions of the sequence were still missing, including many of its most repetitive and structurally complex regions.1 Still, for the next two decades, researchers analyzed their sequencing data against the single linear reference that came out of this effort. Released in 2013 as GRCh38, that reference has powered countless discoveries, but it has gaps and cannot capture the genetic diversity of the world’s...-
Channel: Articles
11-24-2026, 07:04 AM -
ad_right_rmr
Collapse
News
Collapse
| Topics | Statistics | Last Post | ||
|---|---|---|---|---|
|
Started by SEQadmin2, Today, 11:10 AM
|
0 responses
11 views
0 reactions
|
Last Post
by SEQadmin2
Today, 11:10 AM
|
||
|
Single-Nucleus Sequencing Links Type 2 Diabetes Risk Variants to Specific Muscle Cell Types
by SEQadmin2
Started by SEQadmin2, Yesterday, 11:06 AM
|
0 responses
20 views
0 reactions
|
Last Post
by SEQadmin2
Yesterday, 11:06 AM
|
||
|
Started by SEQadmin2, 11-23-2026, 11:11 AM
|
0 responses
58 views
0 reactions
|
Last Post
by SEQadmin2
11-23-2026, 11:11 AM
|
||
|
Started by SEQadmin2, 11-17-2026, 06:27 AM
|
0 responses
55 views
0 reactions
|
Last Post
by SEQadmin2
11-17-2026, 06:27 AM
|
Comment