Unconfigured Ad

Collapse
X
 
  • Filter
  • Time
  • Show
Clear All
new posts
  • gwilymh
    Member
    • Dec 2011
    • 72

    Problem using the Trinity script align_and_estimate_abundance.pl with RSEM

    Hi,
    I have assembled RNA-Seq data do novo in Trinity, and am now trying to estimate the abundance of the transcripts that were identified. I used TopHat to align the RNA-Seq fastq reads against the Trinity-generated fasta file of transcripts.

    All attempts to use the align_and_estimate_abundance.pl script that is packaged with Trinity have failed, however.

    My input code is:
    /usr/local/trinity/util/align_and_estimate_abundance.pl \
    --transcripts "sampleName.Trinity.fasta" \
    --seqType fq \
    --left "/filepath/reads.1.fastq" \
    --right "/filepath/reads.2.fastq" \
    --est_method RSEM \
    --aln_method accepted_hits.bam \
    --thread_count 1 \
    --trinity_mode \
    --fragment_length 180 \
    --output_dir "./" \
    --output_prefix "S1"

    sampleName.Trinity.fasta was generated in Trinity, and accepted_hits.bam generated in TopHat

    I always get the following error message:
    CMD: rsem-calculate-expression --paired-end -p 4 --bam accepted_hits.bam /filepath/S1_RSEM/CB1_S1_L001.Trinity.fasta.RSEM S1
    /usr/local/bin/rsem-parse-alignments /filepath/S1_RSEM/CB1_S1_L001.Trinity.fasta.RSEM S1.temp/S1 S1.stat/S1 b accepted_hits.bam -t 3 -tag XM
    RSEM does not support gapped alignments, sorry!
    "/usr/local/bin/rsem-parse-alignments /filepath/S1_RSEM/CB1_S1_L001.Trinity.fasta.RSEM S1.temp/S1 S1.stat/S1 b accepted_hits.bam -t 3 -tag XM" failed! Plase check if you provide correct parameters/options for the pipeline!
    Error, cmd: rsem-calculate-expression --paired-end -p 4 --bam accepted_hits.bam /filepath/S1_RSEM/CB1_S1_L001.Trinity.fasta.RSEM S1 died with ret: 65280 at /usr/local/trinity/util/align_and_estimate_abundance.pl line 620

    I have tried using --alignment_method bowtie2 instead of accepted_hits.bam but got the same error message.

    Replace the --seqType flag from fq to fa changed the result -t 3 to -t 2 in the output, but otherwise produced the same error.

    Any suggestions as to why align_and_estimate_abundance.pl does not seem to be working correctly?
  • GenoMax
    Senior Member
    • Feb 2008
    • 7142

    #2
    Looking at the help page (http://trinityrnaseq.sourceforge.net...ml#RSEM_output) you need to use bowtie as the aligner (since RSEM needs ungapped alignments). So tophat output won't work unless you choose bowtie v.1 as the aligner for tophat.
    Last edited by GenoMax; 02-18-2015, 03:19 PM.

    Comment

    • jordi
      Member
      • Apr 2009
      • 49

      #3
      Hi gwilymh / all!
      I got the same error message. However I mapped reads back to transcripts using Bowtie2 allowing just the best alignment, as my reference transcriptome was a subset of filtered sequences by their annotation.
      In fact I don't know what exactly the error refers to. Is there a way to see the ungapped alignment from the sam/bam file??
      Moreover, testing the resulting bam file from the alignment with rsem-sam-validator, the bam file looks fine since I get "The input file is valid!".
      Could anyone shed light over this?
      Thanks!

      Comment

      • jordi
        Member
        • Apr 2009
        • 49

        #4
        Update: using samtools depth I was unable to find a position with 0 coverage. In fact it seems that I get the error message with rsem-parse-alignments since:

        RSEM does not support gapped alignments, sorry!
        "rsem-parse-alignments BLAST_5-nucleotidase.orf.RSEM BLAST_5-nucleotidase_DE.temp/BLAST_5-nucleotidase_DE BLAST_5-nucleotidase_DE.stat/BLAST_5-nucleotidase_DE b BLAST_5-nucleotidase_cobalt.sam_RSEM.bam -t 1 -tag XM" failed! Plase check if you provide correct parameters/options for the pipeline!


        Advices would be appreciate

        Comment

        Latest Articles

        Collapse

        • 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
        • SEQadmin2
          Cancer Drug Resistance: The Lingering Barrier to Rising Survival
          by SEQadmin2



          Cancer survival rates have significantly increased in the last few decades in the United States, reaching a combined 70% 5-year survival rate by 2021. Behind this number, there are years of research to find new therapies, drug targets, and early detection methods. But there is one core challenge that keeps slowing down these advances, and it’s about drug resistance.

          There is no single reason why many patients don’t respond to treatment as expected. Cancer is...
          07-08-2026, 05:17 AM

        ad_right_rmr

        Collapse

        News

        Collapse

        Topics Statistics Last Post
        Started by SEQadmin2, Yesterday, 12:17 PM
        0 responses
        13 views
        0 reactions
        Last Post SEQadmin2  
        Started by SEQadmin2, 07-23-2026, 11:41 AM
        0 responses
        12 views
        0 reactions
        Last Post SEQadmin2  
        Started by SEQadmin2, 07-20-2026, 11:10 AM
        0 responses
        23 views
        0 reactions
        Last Post SEQadmin2  
        Started by SEQadmin2, 07-13-2026, 10:26 AM
        0 responses
        37 views
        0 reactions
        Last Post SEQadmin2  
        Working...