Unconfigured Ad

Collapse
X
 
  • Time
  • Show
Clear All
new posts
  • andpet
    Member
    • Jul 2008
    • 27

    #1

    velvet and its hunger for memory

    Hi,

    I am currently trying to assemble a amoeba genome and I have about 300 million Solexa reads (paired end, 200 bp insert size).

    When using velvet:

    velveth . 31 -fasta -shortPaired input.fa

    velvetg . -ins_length 200 -exp_cov 50 -cov_cutoff 5 -max_coverage
    300 -min_pair_count 20

    I get a error message like this:

    ---
    velvetg: Can't calloc 18446744072010747658 InsertionMarkers totalling
    18446744046528688288 bytes: Cannot allocate memory
    Reading roadmap file ./Roadmaps
    301083362 roadmaps reads
    Creating insertion markers
    ---

    So what to do with that message ? Do I really need that much memory ? 18000 Petabyte ? It has to be a bug ...

    Thanks for any comments,

    andpet
  • Zigster
    Jeremy Leipzig
    • May 2009
    • 117

    #2
    I am not sure if that is a bug but one approach I would take is to do a "saturation test". Start with 30M reads, run velvet, see what your assembly looks like, and then add 30M more, see if it is improving as far as assembly size and N50.

    You might find at some point that adding additional reads does not help the assembly.

    Oh and let me know if you see a 20 petabyte machine on the dell website.
    --
    Jeremy Leipzig
    Bioinformatics Programmer
    --
    My blog
    Twitter

    Comment

    • jnfass
      Member
      • Aug 2008
      • 88

      #3
      I've seen this kind of error with a smaller data set, too ... though 300M reads is a lot. I've run out of memory on a 512G machine with a 200M read data set, roughly half paired end.

      So, I'm guessing that while you won't really need petabytes of RAM (that's probably a bug that you should report on the velvet-help list), you may not be able to assemble that data set unless you've got access to a terabyte(s) machine ...

      Comment

      • andpet
        Member
        • Jul 2008
        • 27

        #4
        Thanks for the idea with the saturation test, I will give it a try.

        Maybe its just because of the low kmer size (31). But yesterday I read somewhere that the latest velvet version supports higher kmer sizes, so I will use higher kmers.

        Anyway, I also tried abyss and it worked ...

        Comment

        • peromhc
          Senior Member
          • Sep 2009
          • 108

          #5
          Did you ever figure out how much memory VELVET took for the 300million reads?

          Comment

          • andpet
            Member
            • Jul 2008
            • 27

            #6
            No, as I remember, velvet used 128 GB RAM plus additional 100 GB swap (virtual memory) and crashed ...

            I think the problem is simply that with increasing read numbers (and thereby increasing absolute error numbers) you are more likely to get all possible 31mers and therefore the graph gets really big ...

            Comment

            • SoftGenetics
              Registered Vendor
              • Apr 2009
              • 36

              #7
              You could try NextGENe for your assemblies

              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
              38 views
              0 reactions
              Last Post SEQadmin2  
              Started by SEQadmin2, 10-22-2026, 10:48 AM
              0 responses
              28 views
              0 reactions
              Last Post SEQadmin2  
              Started by SEQadmin2, 10-15-2026, 10:52 AM
              0 responses
              41 views
              0 reactions
              Last Post SEQadmin2  
              Started by SEQadmin2, 10-14-2026, 05:39 AM
              0 responses
              45 views
              0 reactions
              Last Post SEQadmin2  
              Working...