Unconfigured Ad

Collapse
X
 
  • Time
  • Show
Clear All
new posts
  • bioinf
    Member
    • Nov 2010
    • 25

    #1

    Acquiring contigs, de Bruijn graphs, velvet

    Hi guys. Could someone show me on some example how we identify that certain node(s) in the graph represent one single contig?
  • jts
    Member
    • Feb 2009
    • 22

    #2
    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

    Comment

    • bioinf
      Member
      • Nov 2010
      • 25

      #3
      Let me know if that isn't clear or if you are asking something else.
      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.
      In this case 19 nodes would be merged into 5 "contigs".
      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?
      Attached Files

      Comment

      • jts
        Member
        • Feb 2009
        • 22

        #4
        Originally posted by bioinf View Post
        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?
        Not quite since the graph contains a loop. Label the nodes as follows:

        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

        • bioinf
          Member
          • Nov 2010
          • 25

          #5
          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

          • jts
            Member
            • Feb 2009
            • 22

            #6
            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

            • bioinf
              Member
              • Nov 2010
              • 25

              #7
              Now everything is clear. Thank you.

              Comment

              • Scientist1
                Junior Member
                • Oct 2012
                • 2

                #8
                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

                • Scientist1
                  Junior Member
                  • Oct 2012
                  • 2

                  #9
                  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

                  • SEQadmin2
                    Multiomic Liquid Biopsy: What DNA/RNA Panels Reveal That DNA Alone Can’t
                    by SEQadmin2



                    Tumors contain complex mixtures of cell populations that evolve in response to treatment and host-specific factors. Tissue biopsies provide only static snapshots of a tumor’s state. But what if we could follow that evolution over time using a minimally invasive technique?

                    Liquid biopsies can detect tumor-derived material circulating in the bloodstream, providing a way to study treatment response, detect emerging resistance, and discover new biomarkers. Circulating
                    ...
                    10-14-2026, 09:55 AM
                  • SEQadmin2
                    New Genomics Technologies Take Aim at Long-Standing Limits
                    by SEQadmin2


                    Researchers using sequencing and genomics tools often have to make trade-offs. They can choose between speed or scale, short reads or long-range information, or targeted panels or a view of the whole transcriptome. New technologies that have been released this year are built to address those tough choices.

                    We asked six companies the same four questions to learn about their latest products. The new technologies bring a lot to the table, including rethinking sequencing
                    ...
                    09-28-2026, 10:25 AM

                  ad_right_rmr

                  Collapse

                  News

                  Collapse

                  Topics Statistics Last Post
                  Started by SEQadmin2, 10-22-2026, 11:13 AM
                  0 responses
                  28 views
                  0 reactions
                  Last Post SEQadmin2  
                  Started by SEQadmin2, 10-22-2026, 10:48 AM
                  0 responses
                  21 views
                  0 reactions
                  Last Post SEQadmin2  
                  Started by SEQadmin2, 10-15-2026, 10:52 AM
                  0 responses
                  38 views
                  0 reactions
                  Last Post SEQadmin2  
                  Started by SEQadmin2, 10-14-2026, 05:39 AM
                  0 responses
                  44 views
                  0 reactions
                  Last Post SEQadmin2  
                  Working...