Unconfigured Ad

Collapse
X
 
  • Time
  • Show
Clear All
new posts
  • ataraxia
    Junior Member
    • Feb 2013
    • 7

    #1

    Trinity: option to increase bowtie memory allocation

    Hi all,
    I have pair-end data that I am currently analysing using Trinity.

    I am now running the following script provided by Trinity to estimate abundance:

    run_RSEM_align_n_estimate.pl --seqType fq --SS_lib_type RF --left seq1.fq --right seq2.fq --thread_count 16 --prefix /output/RSEM --transcripts Trinity.fasta

    and although I get all the output files, I get errors in the log:

    Warning: Exhausted best-first chunk memory for read X; skipping read
    (or around 11000 reads)

    # reads processed: 188565323
    # reads with at least one reported alignment: 82758840 (43.89%)
    # reads that failed to align: 105806483 (56.11%)
    Reported 225985477 paired-end alignments to 1 output stream(s)
    [bam_sort_core] merging from 335 files...


    From my understanding, you can play with the following setting in Bowtie (--chunkmbs) to increase memory requirements for alignment.

    But is there any possibility to do so using the perl script provided in Trinity (run_RSEM_align_n_estimate.pl)? Or should I analyse my data with RSEM directly, as it offers a --bowtie-chunkmbs option?
  • lzsph
    Member
    • Jul 2012
    • 13

    #2
    UPDATED:

    Go to the trinityrnaseq_r2013-02-05/trinity-plugins/rsem folder, find a script named "rsem-calculate-expression", open it with a text editor, at line 30, there is
    my $chunkMbs = 0;# 0 = use bowtie default
    , change the "0" to "200" or other integer, then save it. It means it add the --chunkmbs in the command when you run the
    run_RSEM_align_n_estimate.pl
    , I ran the script again after edit the script, it appeared like this:

    bowtie -q --phred33-quals -n 2 -e 99999999 -l 25 -I 1 -X 1000 --chunkmbs 200 -p 4 -a -m 200 -S TRANS -1 Ms-1-1_R1.fastq -2 Ms-1-1_R2.fastq | /Users/lzsph/scripts/trinityrnaseq_r2013-02-25/util/RSEM_util/../../trinity-plugins/rsem/sam/samtools view -S -b -o RSEM.temp/RSEM.bam -
    [samopen] SAM header is present: 192875 sequences.
    # reads processed: 20000000
    # reads with at least one reported alignment: 16275899 (81.38%)

    No warning message appeared.


    Before I edit the script mentioned above, I also found this QA here (http://sourceforge.net/mailarchive/f...tyrnaseq-users), they said re-run the program may solve this problem. But when I reran the perl script, still the same problem, maybe my personal computer has a lower RAM (Mid-2011 iMac, 8GB RAM). I also Googled a lot, so I want to add the --chunkmbs in the script.

    Hope it helps.

    Regards,
    -s
    Last edited by lzsph; 04-17-2013, 06:41 PM.

    Comment

    • ataraxia
      Junior Member
      • Feb 2013
      • 7

      #3
      Thanks lzsph,
      This fixed my problem.

      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
      • SEQadmin2
        Advanced Sequencing Platforms Tackle Neuroscience’s Toughest Genomics Problems
        by SEQadmin2



        Genomics studies in neuroscience face a special challenge due to the brain’s complexity and scarcity of samples. Mapping changes in cell type and state using conventional next-generation sequencing methods remains challenging. Advances in technologies like single-cell sequencing, spatial transcriptomics, and long-read sequencing have opened the door to deeper studies of the brain and diseases like Alzheimer’s, amyotrophic lateral sclerosis (ALS), and schizophrenia.
        ...
        07-09-2026, 11:10 AM

      ad_right_rmr

      Collapse

      News

      Collapse

      Topics Statistics Last Post
      Started by SEQadmin2, Yesterday, 07:41 AM
      0 responses
      12 views
      0 reactions
      Last Post SEQadmin2  
      Started by SEQadmin2, 08-03-2026, 10:13 AM
      0 responses
      27 views
      0 reactions
      Last Post SEQadmin2  
      Started by SEQadmin2, 07-31-2026, 02:55 AM
      0 responses
      39 views
      0 reactions
      Last Post SEQadmin2  
      Started by SEQadmin2, 07-24-2026, 12:17 PM
      0 responses
      25 views
      0 reactions
      Last Post SEQadmin2  
      Working...