Unconfigured Ad

Collapse
X
 
  • Time
  • Show
Clear All
new posts
  • Triple_W
    Member
    • Jan 2012
    • 12

    #1

    Tophat error running from bam2fastx?

    Hi,
    I just used TopHat v2.0.6 and came cross the following error


    [2013-02-23 15:02:48] Beginning TopHat run (v2.0.6)
    -----------------------------------------------
    [2013-02-23 15:02:48] Checking for Bowtie
    Bowtie version: 2.0.2.0
    [2013-02-23 15:02:48] Checking for Samtools
    Samtools version: 0.1.18.0
    [2013-02-23 15:02:48] Checking for Bowtie index files
    [2013-02-23 15:02:48] Checking for Bowtie index files
    [2013-02-23 15:02:48] Checking for reference FASTA file
    [2013-02-23 15:02:48] Generating SAM header for /home/yfenglab/wwwu/genomes/mm10/genome
    format: fastq
    quality scale: phred64 (reads generated with GA pipeline version >= 1.3)
    [2013-02-23 15:02:52] Reading known junctions from GTF file
    [2013-02-23 15:02:56] Preparing reads
    left reads: min. length=90, max. length=90, 27839513 kept reads (589 discarded)
    right reads: min. length=90, max. length=90, 27839658 kept reads (444 discarded)
    [2013-02-23 15:23:44] Using pre-built transcriptome index..
    [2013-02-23 15:23:46] Mapping left_kept_reads to transcriptome transcriptome with Bowtie2
    [FAILED]
    Error running:
    /tophat/bam2fastx --all --fastq WT/tmp/left_kept_reads.bam|/bowtie2/bowtie2-align -q -k 60 --very-sensitive --gbar 4 --mp 6,2 --np 1 --rdg 5,3 --rfg 5,3 --score-min C,-32,0 -p 12 --sam-no-hd -x genomes/mm10/transcriptome -|/tophat/fix_map_ordering --bowtie2-min-score 30 --read-mismatches 4 --read-gap-length 2 --read-edit-dist 5 --read-realign-edit-dist 6 --sam-header WT/tmp/transcriptome.bwt.samheader.sam - - WT/tmp/left_kept_reads.m2g_um.bam | /tophat/map2gtf --sam-header WT/tmp/genome_genome.bwt.samheader.sam genomes/mm10/transcriptome.gff - WT/tmp/left_kept_reads.m2g.bam > WT/logs/m2g_left_kept_reads.out


    Thanks!
  • id0
    Senior Member
    • Sep 2012
    • 130

    #2
    Were you able to resolve this error? I just got the same error with TopHat 2.0.9.

    Comment

    • dpryan
      Devon Ryan
      • Jul 2011
      • 3478

      #3
      The resolution to that is the run the
      Code:
       /tophat/bam2fastx --all --fastq WT/tmp/left_kept_reads.bam|/bowtie2/bowtie2-align -q -k 60 --very-sensitive --gbar 4 --mp 6,2 --np 1 --rdg 5,3 --rfg 5,3 --score-min C,-32,0 -p 12 --sam-no-hd -x genomes/mm10/transcriptome -|/tophat/fix_map_ordering --bowtie2-min-score 30 --read-mismatches 4 --read-gap-length 2 --read-edit-dist 5 --read-realign-edit-dist 6 --sam-header WT/tmp/transcriptome.bwt.samheader.sam - - WT/tmp/left_kept_reads.m2g_um.bam | /tophat/map2gtf --sam-header WT/tmp/genome_genome.bwt.samheader.sam genomes/mm10/transcriptome.gff - WT/tmp/left_kept_reads.m2g.bam > WT/logs/m2g_left_kept_reads.out
      command by itself and see exactly what error it produces. I may also be informative to split that command into its components, in case the error is being masked.

      Comment

      • id0
        Senior Member
        • Sep 2012
        • 130

        #4
        Thanks for that suggestion. I erroneously assumed that all the errors were already output. After running that command by itself, there was additional useful info.

        Turns out my input GTF had a few lines without strand info. After fixing those, TopHat finished running successfully.

        Comment

        • dpryan
          Devon Ryan
          • Jul 2011
          • 3478

          #5
          Cool, glad that worked out!

          Comment

          • Washington
            Junior Member
            • Nov 2014
            • 1

            #6
            I was having the same problem.

            This fixed it. Thanks a million guys,

            -WLS

            Comment

            Latest Articles

            Collapse

            • SEQadmin2
              Multiomic Liquid Biopsy: What DNA/RNA Panels Reveal That DNA Alone Can’t
              by SEQadmin2



              Tumors contain complex mixtures of cell populations that evolve in response to treatment and host-specific factors. Tissue biopsies provide only static snapshots of a tumor’s state. But what if we could follow that evolution over time using a minimally invasive technique?

              Liquid biopsies can detect tumor-derived material circulating in the bloodstream, providing a way to study treatment response, detect emerging resistance, and discover new biomarkers. Circulating
              ...
              10-14-2026, 09:55 AM
            • SEQadmin2
              New Genomics Technologies Take Aim at Long-Standing Limits
              by SEQadmin2


              Researchers using sequencing and genomics tools often have to make trade-offs. They can choose between speed or scale, short reads or long-range information, or targeted panels or a view of the whole transcriptome. New technologies that have been released this year are built to address those tough choices.

              We asked six companies the same four questions to learn about their latest products. The new technologies bring a lot to the table, including rethinking sequencing
              ...
              09-28-2026, 10:25 AM

            ad_right_rmr

            Collapse

            News

            Collapse

            Topics Statistics Last Post
            Started by SEQadmin2, 10-22-2026, 11:13 AM
            0 responses
            24 views
            0 reactions
            Last Post SEQadmin2  
            Started by SEQadmin2, 10-22-2026, 10:48 AM
            0 responses
            20 views
            0 reactions
            Last Post SEQadmin2  
            Started by SEQadmin2, 10-15-2026, 10:52 AM
            0 responses
            36 views
            0 reactions
            Last Post SEQadmin2  
            Started by SEQadmin2, 10-14-2026, 05:39 AM
            0 responses
            42 views
            0 reactions
            Last Post SEQadmin2  
            Working...