Unconfigured Ad

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

    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
              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.
              ...
              Yesterday, 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
            • GATTACAT
              Reply to Nine Things a Sample Prep Scientist Thinks About Before Sequencing
              by GATTACAT
              Love this - good data definitely starts from good input, and poor input can only give relatively poor data. I particularly like the mention of Nanodrop/absorbance based methods for quantification. It's such a toss up if you'll get an accurate reading or what amounts to a randomly generated number, and a lot of library/sequencing related issues can be traced back to poor quant.
              07-01-2026, 11:43 AM

            ad_right_rmr

            Collapse

            News

            Collapse

            Topics Statistics Last Post
            Started by SEQadmin2, Yesterday, 10:04 AM
            0 responses
            10 views
            0 reactions
            Last Post SEQadmin2  
            Started by SEQadmin2, 07-08-2026, 10:08 AM
            0 responses
            7 views
            0 reactions
            Last Post SEQadmin2  
            Started by SEQadmin2, 07-07-2026, 11:05 AM
            0 responses
            15 views
            0 reactions
            Last Post SEQadmin2  
            Started by SEQadmin2, 07-02-2026, 11:08 AM
            0 responses
            31 views
            0 reactions
            Last Post SEQadmin2  
            Working...