Unconfigured Ad

Collapse
X
 
  • Time
  • Show
Clear All
new posts

  • seb567
    replied
    Originally posted by Farhat View Post
    Thanks, Sébastien. Trying with newer parameters now.

    It crashes after it runs out of RAM and swap. I have about 280 GB of RAM.

    ETA: It doesn't segfault so crash is a wrong word. It runs out of memory and stops.
    You can also add the option --show-memory-usage.



    This option only works on Linux.

    Leave a comment:


  • Farhat
    replied
    Thanks, Sébastien. Trying with newer parameters now.

    It crashes after it runs out of RAM and swap. I have about 280 GB of RAM.

    ETA: It doesn't segfault so crash is a wrong word. It runs out of memory and stops.
    Last edited by Farhat; 06-11-2011, 02:12 AM.

    Leave a comment:


  • seb567
    replied
    Originally posted by Farhat View Post
    Is there any information on how much RAM is required for Ray to run?
    There is no simple formula for computing memory usage.

    It depends mostly on the error rate and the number of reads and nucleotides.

    The following paper talks about that topic in detail.

    http://dx.doi.org/doi:10.1093/bioinformatics/btq697

    Originally posted by Farhat View Post
    Is there any way in which RAM usage can be minimized?
    2 ways: (1) pack structures and (2) change the k-mer length.

    If you use gcc/g++ (a C++ compiler), you can edit the Makefile and change the line

    Code:
    CFLAGS=-I. -O3 -Wall -Icode -fomit-frame-pointer -DASSERT -DHAVE_ZLIB -DHAVE_LIBBZ2 -DHAVE_CLOCK_GETTIME
    for

    Code:
    CFLAGS=-I. -O3 -Wall -Icode -fomit-frame-pointer -DASSERT -DHAVE_ZLIB -DHAVE_LIBBZ2 -DHAVE_CLOCK_GETTIME -DFORCE_PACKING
    (add -DFORCE_PACKING at the end of the line)


    This will pack structures.
    By default, compilers round to the higher 8-byte boundary.
    If a structure has a size of 5 bytes, gcc rounds that to 8 bytes in order to have everything aligned. This way, you never get a 8-byte word sitting between two memory pages.


    This works on x86 and x86_64.

    It does not work on SPARC and on Itanium.

    Velvet uses this approach by the way.


    Also, the k-mer length impacts on the memory consumption.

    In the upcoming Ray v1.6.0 (now at v1.6.0-rc2), Ray will use arbitrary long k-mers.

    See https://github.com/sebhtml/ray

    Originally posted by Farhat View Post
    I am using Ray-1.4.0 and everytime it crashes after swapping. I am trying to assemble about 30M 100 bp long paired Illumina reads.
    If you want to try it now:

    Code:
    git clone git://github.com/sebhtml/ray.git
    cd ray
    make PREFIX=build-kMAX=64-packed FORCE_PACKING=y MAXKMERLENGTH=64
    # wait
    make install
    mpirun -np 66 ./build-kMAX=64-packed/Ray -k 49 \
    -p lib1_1.fastq lib1_2.fastq \
    -p lib2_1.fastq lib2_2.fastq \
    -o DeadlyBug
    # wait
    ls DeadlyBug.Scaffolds.fasta
    You may need to supply manually the insert sizes if they are large.

    mpirun -np 66 ./build-kMAX=64-packed/Ray -k 49 \
    -p lib1_1.fastq lib1_2.fastq \
    -p lib2_1.fastq lib2_2.fastq 4000 400\
    -o DeadlyBugManual



    Where does it crash ?

    How much memory do you have ?


    Feel free to ask on the mailing list too: denovoassembler-users AT lists.sourceforge.net

    p.s. I am the author of Ray.

    Sébastien

    Leave a comment:


  • Farhat
    started a topic De Novo Assembly using Ray

    De Novo Assembly using Ray

    Is there any information on how much RAM is required for Ray to run? I am using Ray-1.4.0 and everytime it crashes after swapping. I am trying to assemble about 30M 100 bp long paired Illumina reads. Is there any way in which RAM usage can be minimized?
    Last edited by Farhat; 06-10-2011, 07:17 AM.

Latest Articles

Collapse

  • SEQadmin2
    The Factors Reshaping Genome Assembly
    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...
    11-24-2026, 07:04 AM

ad_right_rmr

Collapse

News

Collapse

Topics Statistics Last Post
Started by SEQadmin2, Yesterday, 11:10 AM
0 responses
12 views
0 reactions
Last Post SEQadmin2  
Started by SEQadmin2, 12-01-2026, 11:06 AM
0 responses
21 views
0 reactions
Last Post SEQadmin2  
Started by SEQadmin2, 11-23-2026, 11:11 AM
0 responses
60 views
0 reactions
Last Post SEQadmin2  
Started by SEQadmin2, 11-17-2026, 06:27 AM
0 responses
56 views
0 reactions
Last Post SEQadmin2  
Working...