Seqanswers Leaderboard Ad

Collapse

Announcement

Collapse
No announcement yet.
X
 
  • Filter
  • Time
  • Show
Clear All
new posts

  • 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?

  • #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


    • #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


      • #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

        • seqadmin
          Recent Advances in Sequencing Analysis Tools
          by seqadmin


          The sequencing world is rapidly changing due to declining costs, enhanced accuracies, and the advent of newer, cutting-edge instruments. Equally important to these developments are improvements in sequencing analysis, a process that converts vast amounts of raw data into a comprehensible and meaningful form. This complex task requires expertise and the right analysis tools. In this article, we highlight the progress and innovation in sequencing analysis by reviewing several of the...
          05-06-2024, 07:48 AM
        • seqadmin
          Essential Discoveries and Tools in Epitranscriptomics
          by seqadmin




          The field of epigenetics has traditionally concentrated more on DNA and how changes like methylation and phosphorylation of histones impact gene expression and regulation. However, our increased understanding of RNA modifications and their importance in cellular processes has led to a rise in epitranscriptomics research. “Epitranscriptomics brings together the concepts of epigenetics and gene expression,” explained Adrien Leger, PhD, Principal Research Scientist...
          04-22-2024, 07:01 AM

        ad_right_rmr

        Collapse

        News

        Collapse

        Topics Statistics Last Post
        Started by seqadmin, Yesterday, 02:46 PM
        0 responses
        11 views
        0 likes
        Last Post seqadmin  
        Started by seqadmin, 05-07-2024, 06:57 AM
        0 responses
        13 views
        0 likes
        Last Post seqadmin  
        Started by seqadmin, 05-06-2024, 07:17 AM
        0 responses
        17 views
        0 likes
        Last Post seqadmin  
        Started by seqadmin, 05-02-2024, 08:06 AM
        0 responses
        23 views
        0 likes
        Last Post seqadmin  
        Working...
        X