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
The immune system’s power comes from its genetic diversity, allowing myriad threats to be neutralized through first recognizing foreign antigens. That diversity is also what makes the immune system so difficult to study. Recent advances in sequencing technology and computational biology, however, are giving researchers new tools to understand immune responses and immune-related diseases in greater detail.
This convergence of genetics, immunology, and computation...-
Channel: Articles
09-01-2026, 05:41 AM -
ad_right_rmr
Collapse
News
Collapse
| Topics | Statistics | Last Post | ||
|---|---|---|---|---|
|
Started by SEQadmin2, 09-18-2026, 11:37 AM
|
1 response
30 views
0 reactions
|
Last Post
by pekgio
Yesterday, 02:04 AM
|
||
|
Started by SEQadmin2, 09-16-2026, 10:23 AM
|
1 response
45 views
0 reactions
|
Last Post
by pekgio
Yesterday, 02:12 AM
|
||
|
Started by SEQadmin2, 09-09-2026, 12:14 PM
|
0 responses
66 views
0 reactions
|
Last Post
by SEQadmin2
09-09-2026, 12:14 PM
|
||
|
Started by SEQadmin2, 09-09-2026, 11:33 AM
|
0 responses
55 views
0 reactions
|
Last Post
by SEQadmin2
09-09-2026, 11:33 AM
|
Comment