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
              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, 07-31-2026, 02:55 AM
            0 responses
            18 views
            0 reactions
            Last Post SEQadmin2  
            Started by SEQadmin2, 07-24-2026, 12:17 PM
            0 responses
            16 views
            0 reactions
            Last Post SEQadmin2  
            Started by SEQadmin2, 07-23-2026, 11:41 AM
            0 responses
            16 views
            0 reactions
            Last Post SEQadmin2  
            Started by SEQadmin2, 07-20-2026, 11:10 AM
            0 responses
            26 views
            0 reactions
            Last Post SEQadmin2  
            Working...