Unconfigured Ad

Collapse
X
 
  • Time
  • Show
Clear All
new posts

  • seb567
    replied
    Originally posted by jtladner View Post
    Hello, I have been using Ray for the de novo synthesis of several bacterial genomes. Overall it seems to be a really good program that has been giving me longer contigs that SOAPdenovo.


    However, recently I ran into an error that seems to be due to genome coverage that is too high:

    Rank 0: the minimum coverage is 2
    Rank 0: the peak coverage is 2
    Rank 0: Assembler panic: no peak observed in the k-mer coverage distribution.
    Rank 0: to deal with the sequencing error rate, try to lower the k-mer length (-k)
    This limitation was removed in the Release of Ray 2.0-Release Candidate 5.

    You can try Ray 2.0-rc5.

    We modified this to enable metagenome assemblies.


    Originally posted by jtladner View Post


    At first I thought that I had the opposite problem, not enough coverage. I tried to lower the k as suggested, but I kept getting the same error. The only way I have been able to get Ray to run on this dataset is too either decrease the number of sequences that I am inputting into the program (in which case I get very good contigs) or increasing the k-mer to very high numbers (e.g., 63).

    If you plot the coverage distribution, I am sure you will see something thatg is not smooth, yet I am sure you will see a sizable peak.

    To plot your data (enter these commands in your terminal)


    Code:
    cd Place-Where-My-Assembly-Is-Located
    ls CoverateDistribution.txt # make sure you are at the good place
    R --vanilla
    
    # the next commands will be given to R
    data=read.table('CoverageDistribution.txt',header=TRUE)
    pdf('MyCoverageFrequencies.pdf')
    plot(data[,1],data[,2],xlab='k-mer coverage depth',ylab='Frequency',log='xy',type='l')
    dev.off()
    There is also a fancy script that ships with Ray that does that automatically.

    Code:
    ~/git-clones/ray/scripts/plot-coverage-distribution.R CoverageDistribution.txt

    Originally posted by jtladner View Post


    If possible, could you explain why high coverage would result in this type of error?
    We bought an Illumina HiSeq 1000 at our institution.

    One of the acceptation tests was to do a whole lane of PhiX, a virus whose genome has just 5386 nucleotides.


    The coverage distribution was ridiculous:




    If we zoom in, we can see that the peak is not smooth.





    This *may* be caused be cluster complexity on the flow cell.

    *Maybe* your data look like this also, maybe not.


    Originally posted by jtladner View Post

    And can you provide guidelines for the optimal genome coverage for Ray?
    As the saying goes, "the more, the better."

    You should plot your distributions to assess the quality of your data.


    Originally posted by jtladner View Post

    Thank you.

    Jason

    Leave a comment:


  • seb567
    replied
    Originally posted by santiagosnchez View Post
    Thanks for replying Sebastien,

    I figured out the problem right after my post. Do you recommend a way to exclude / delete unpaired filtered reads from each file? I've been trying to find some scripts, but no luck.

    By the way, excellent program(!), by far the best assembler I've used.

    Cheers,
    Santiago
    I don't know any particularly good program for this precise task.

    Leave a comment:


  • santiagosnchez
    replied
    Sébastien,

    Is there a way to reuse some of Ray's output files in order to avoid some of the initial computations on the same data?

    Cheers,
    Santiago

    Leave a comment:


  • jtladner
    replied
    Ray - Coverage too high

    Hello, I have been using Ray for the de novo synthesis of several bacterial genomes. Overall it seems to be a really good program that has been giving me longer contigs that SOAPdenovo.

    However, recently I ran into an error that seems to be due to genome coverage that is too high:

    Rank 0: the minimum coverage is 2
    Rank 0: the peak coverage is 2
    Rank 0: Assembler panic: no peak observed in the k-mer coverage distribution.
    Rank 0: to deal with the sequencing error rate, try to lower the k-mer length (-k)

    At first I thought that I had the opposite problem, not enough coverage. I tried to lower the k as suggested, but I kept getting the same error. The only way I have been able to get Ray to run on this dataset is too either decrease the number of sequences that I am inputting into the program (in which case I get very good contigs) or increasing the k-mer to very high numbers (e.g., 63).

    If possible, could you explain why high coverage would result in this type of error?

    And can you provide guidelines for the optimal genome coverage for Ray?


    Thank you.

    Jason

    Leave a comment:


  • santiagosnchez
    replied
    Thanks for replying Sebastien,

    I figured out the problem right after my post. Do you recommend a way to exclude / delete unpaired filtered reads from each file? I've been trying to find some scripts, but no luck.

    By the way, excellent program(!), by far the best assembler I've used.

    Cheers,
    Santiago

    Leave a comment:


  • seb567
    replied
    Originally posted by santiagosnchez View Post
    Hi Sébastien,

    I've been using Ray to assemble a 30-50 Mb fungal genome from 454 and PE Illumina reads. When I was testing the software with raw reads I had no trouble en the assembly carried on correctly. The problem arose when I quality filtered all the reads and created a new fasta and fastq files. I´m pasting the error message here:

    What could the problem be?

    Cheers,
    Santiago

    Rank 5: gathering scaffold links [1/3559] [1/28971]
    Rank 2: gathering scaffold links [1/3854] [1/30494]
    Rank 4: gathering scaffold links [1/3726] [1/56682]
    Fatal Error: ReadIndex: 18854336 but Reads: 18635750
    Ray: code/communication/MessageProcessor.cpp:127: void MessageProcessor::call_RAY_MPI_TAG_GET_READ_MARKERS(Message*): Assertion `readId<(int)m_myReads->size()' failed.
    [ipara:21878] *** Process received signal ***
    [ipara:21878] Signal: Aborted (6)
    [ipara:21878] Signal c areode: (-6)
    [ipara:21878] [ 0] /lib/libpthread.so.0 [0x7ff0190d3a80]
    [ipara:21878] [ 1] /lib/libc.so.6(gsignal+0x35) [0x7ff018da3ed5]
    [ipara:21878] [ 2] /lib/libc.so.6(abort+0x183) [0x7ff018da53f3]
    [ipara:21878] [ 3] /lib/libc.so.6(__assert_fail+0xe9) [0x7ff018d9cdc9]
    [ipara:21878] [ 4] Ray(_ZN16MessageProcessor33call_RAY_MPI_TAG_GET_READ_MARKERSEP7Message+0x454) [0x43fa74]
    [ipara:21878] [ 5] Ray(_ZN7Machine10runVanillaEv+0x99) [0x454f19]
    [ipara:21878] [ 6] Ray(_ZN7Machine5startEv+0x1031) [0x456c51]
    [ipara:21878] [ 7] Ray(main+0x3c) [0x4c0abc]
    [ipara:21878] [ 8] /lib/libc.so.6(__libc_start_main+0xe6) [0x7ff018d901a6]
    [ipara:21878] [ 9] Ray(__gxx_personality_v0+0x201) [0x42cd09]
    [ipara:21878] *** End of error message ***
    mpiexec noticed that job rank 0 with PID 21872 on node ipara exited on signal 15 (Terminated).
    6 additional processes aborted (not shown)
    Paired reads are stored in two files usually. For any pair of files, each file of the pair must have the same sequence count.

    I suspect that the resulting fastq files you generated (after filtering) don't have a coherent number of sequences.

    This is due to the fact that for any pair of sequences, 0, 1 or 2 sequences can be filtered out. In the 0 and 2 cases, there is no problem because it is a 'remove all' or a 'keep all' scenario.

    But when only 1 sequence is filtered out, its twin should also be filtered out or perhaps put aside in a file containing 'alone' sequences.

    The problem arises because Ray utilises Unique Sequencer Identifier, which are computed from the initial partition (fastq identifiers are not utilised at all).

    The problem will go away should you provide Ray with a coherent sequence count for each file.


    Sébastien

    Leave a comment:


  • seb567
    replied
    Originally posted by gringer View Post
    It might be possible to shoehorn Ray into doing something like the 'Inchworm' part of Trinity:

    Compare the best free open source Bio-Informatics Software at SourceForge. Free, secure and fast Bio-Informatics Software downloads from the largest Open Source applications and software directory


    I've had a bit of a hiatus from work on Ray due to additional projects, but I'm interested in seeing if this will work because the current transcriptome assembly programs have really high memory requirements. The memory requirements are odd because the transcript graphs should be simpler (fewer repeats because you're making things like proteins, so branches should be mostly due to different isoforms), and the transcriptome size is smaller than the genome size.

    My guess is trying something like disabling the genome coverage graph functions -- with RNASeq the mean coverage is per-transcript, but there can be within-transcript bias -- and writing out sequences that have some minimum coverage level based on the average coverage for each disconnected graph.
    Hello,

    I don't think we can assume that each transcript will be a disconnected-from-the-rest component in the graph.

    Also, I think you should work with the mode k-mer coverage, not the mean k-mer coverage because the mean will be artificially increased by repeats.

    We tested Ray on the Schizosaccharomyces pombe dataset from the Trinity paper.

    Ray is quite good but presently we are focusing on assembly of metagenomes and biological abundances using virtual colors.


    Sébastien

    Leave a comment:


  • santiagosnchez
    replied
    Ray error message: Fatal error

    Hi Sébastien,

    I've been using Ray to assemble a 30-50 Mb fungal genome from 454 and PE Illumina reads. When I was testing the software with raw reads I had no trouble en the assembly carried on correctly. The problem arose when I quality filtered all the reads and created a new fasta and fastq files. I´m pasting the error message here:

    What could the problem be?

    Cheers,
    Santiago

    Rank 5: gathering scaffold links [1/3559] [1/28971]
    Rank 2: gathering scaffold links [1/3854] [1/30494]
    Rank 4: gathering scaffold links [1/3726] [1/56682]
    Fatal Error: ReadIndex: 18854336 but Reads: 18635750
    Ray: code/communication/MessageProcessor.cpp:127: void MessageProcessor::call_RAY_MPI_TAG_GET_READ_MARKERS(Message*): Assertion `readId<(int)m_myReads->size()' failed.
    [ipara:21878] *** Process received signal ***
    [ipara:21878] Signal: Aborted (6)
    [ipara:21878] Signal code: (-6)
    [ipara:21878] [ 0] /lib/libpthread.so.0 [0x7ff0190d3a80]
    [ipara:21878] [ 1] /lib/libc.so.6(gsignal+0x35) [0x7ff018da3ed5]
    [ipara:21878] [ 2] /lib/libc.so.6(abort+0x183) [0x7ff018da53f3]
    [ipara:21878] [ 3] /lib/libc.so.6(__assert_fail+0xe9) [0x7ff018d9cdc9]
    [ipara:21878] [ 4] Ray(_ZN16MessageProcessor33call_RAY_MPI_TAG_GET_READ_MARKERSEP7Message+0x454) [0x43fa74]
    [ipara:21878] [ 5] Ray(_ZN7Machine10runVanillaEv+0x99) [0x454f19]
    [ipara:21878] [ 6] Ray(_ZN7Machine5startEv+0x1031) [0x456c51]
    [ipara:21878] [ 7] Ray(main+0x3c) [0x4c0abc]
    [ipara:21878] [ 8] /lib/libc.so.6(__libc_start_main+0xe6) [0x7ff018d901a6]
    [ipara:21878] [ 9] Ray(__gxx_personality_v0+0x201) [0x42cd09]
    [ipara:21878] *** End of error message ***
    mpiexec noticed that job rank 0 with PID 21872 on node ipara exited on signal 15 (Terminated).
    6 additional processes aborted (not shown)

    Leave a comment:


  • gringer
    replied
    It might be possible to shoehorn Ray into doing something like the 'Inchworm' part of Trinity:

    Compare the best free open source Bio-Informatics Software at SourceForge. Free, secure and fast Bio-Informatics Software downloads from the largest Open Source applications and software directory


    I've had a bit of a hiatus from work on Ray due to additional projects, but I'm interested in seeing if this will work because the current transcriptome assembly programs have really high memory requirements. The memory requirements are odd because the transcript graphs should be simpler (fewer repeats because you're making things like proteins, so branches should be mostly due to different isoforms), and the transcriptome size is smaller than the genome size.

    My guess is trying something like disabling the genome coverage graph functions -- with RNASeq the mean coverage is per-transcript, but there can be within-transcript bias -- and writing out sequences that have some minimum coverage level based on the average coverage for each disconnected graph.

    Leave a comment:


  • seb567
    replied
    Originally posted by lletourn View Post
    about mates, do we need to revcomp the illumina reads to keep them as innies, or Ray doesn't care if they're outties or innies?
    no

    both are fine

    Leave a comment:


  • seb567
    replied
    Originally posted by Ceratites View Post
    I have a VERY large dataset of RNA-Seq, is Ray dealing well with transcriptimic data and alternative splicing. Or alternatively can the Ray outputs be injected in Velvet-Oases, trans-Abyss or even TopHat?
    Ray was not designed initially to do transcriptomes or metagenomes. We are presently working on modifications to handle metagenomes.

    I don't know about the compatibility between Ray and Velvet-Oases, trans-ABySS or TopHat but I would tend to say no.

    Leave a comment:


  • lletourn
    replied
    about mates, do we need to revcomp the illumina reads to keep them as innies, or Ray doesn't care if they're outties or innies?

    Leave a comment:


  • Ceratites
    replied
    I have a VERY large dataset of RNA-Seq, is Ray dealing well with transcriptimic data and alternative splicing. Or alternatively can the Ray outputs be injected in Velvet-Oases, trans-Abyss or even TopHat?

    Leave a comment:


  • seb567
    replied
    Also:

    the automatic detection of "outer distances" sometimes fails for very large distances (like mate-pairs with 20000 +/- something as the outer distance).

    So in these cases you need to provide the information manually.

    Examples:

    Automatic detection:

    -p \
    BGI_illumina_data/PARprgDAADTAAPE/110514_I263_FC81P81ABXX_L5_PARprgDAADTAAPE_1.fq.fastq \
    BGI_illumina_data/PARprgDAADTAAPE/110514_I263_FC81P81ABXX_L5_PARprgDAADTAAPE_2.fq.fastq \

    Manual detection:

    -p \
    BGI_illumina_data/PARprgDAPDUAAPEI-12/110531_I232_FCB05V6ABXX_L8_PARprgDAPDUAAPEI-12_1.fq.fastq \
    BGI_illumina_data/PARprgDAPDUAAPEI-12/110531_I232_FCB05V6ABXX_L8_PARprgDAPDUAAPEI-12_2.fq.fastq \
    20000 2000 \


    See this example https://github.com/sebhtml/assemblat...ird-Testbed.sh if you are not sure what I mean.

    Happy assembly !

    Leave a comment:


  • lletourn
    replied
    Wow impressive numbers.

    I think I'll try 1.7 on some of my "old" assemblies to see the difference.

    Leave a comment:

Latest Articles

Collapse

  • SEQadmin2
    Beyond CRISPR/Cas9: Understand, Choose, and Use the Right Genome Editing Tool
    by SEQadmin2



    CRISPR/Cas9 sparked the gene editing revolution for both research and therapeutics.1 But this system still showed severe issues that limited its applications. The most prominent were the heavy reliance on PAM sequences, delivery limitations, double-stranded breaks that prompt unintended edits and cell death, and editing inefficiency (both in targeting and in knock-in reliability).

    Despite this, “CRISPR helped turn genome editing from a specialized technique into
    ...
    07-31-2026, 11:01 AM
  • SEQadmin2
    Proteomic Platforms: How to Choose the Right Analytical Strategy to Improve Detection and Clinical Applications
    by SEQadmin2


    Proteomics platforms are evolving rapidly, with advances in mass spectrometry and affinity-based approaches expanding what researchers can detect and at what scale. As the field moves toward deeper proteome coverage and clinical applications, scientists face an increasingly complex landscape of tools. This article will explore how researchers are navigating these choices to find the right platform for their work.

    The systematic characterization of the human proteome has
    ...
    07-20-2026, 11:48 AM

ad_right_rmr

Collapse

News

Collapse

Topics Statistics Last Post
Started by SEQadmin2, Yesterday, 12:22 PM
0 responses
12 views
0 reactions
Last Post SEQadmin2  
Started by SEQadmin2, 08-11-2026, 10:35 AM
0 responses
13 views
0 reactions
Last Post SEQadmin2  
Started by SEQadmin2, 08-06-2026, 07:41 AM
0 responses
31 views
0 reactions
Last Post SEQadmin2  
Started by SEQadmin2, 08-03-2026, 10:13 AM
0 responses
48 views
0 reactions
Last Post SEQadmin2  
Working...