Unconfigured Ad

Collapse
X
 
  • Time
  • Show
Clear All
new posts
  • liuxq
    Member
    • Jun 2010
    • 36

    #1

    bug for the tophat 1.3 beta

    all my reads are 40bp single end reads.

    it seems that there is something wrong with the junction mapping process

    my tophat commands and error message are as follows

    tophat --phred64-quals -o s_1_sequence ~/rd/work/rna_seq/genome_index/bowtie/mm9/mm9 s_1_sequence.txt
    [Sat Jun 4 01:11:54 2011] Searching for junctions via segment mapping
    Warning: junction database is empty!
    [Sat Jun 4 01:13:23 2011] Processing bowtie hits
    Traceback (most recent call last):
    File "/home/liuxq/mybin/tools/tophat", line 2584, in <module>
    sys.exit(main())
    File "/home/liuxq/mybin/tools/tophat", line 2543, in main
    user_supplied_deletions)
    File "/home/liuxq/mybin/tools/tophat", line 2376, in spliced_alignment
    os.remove(unspl_bwtfile)
    UnboundLocalError: local variable 'unspl_bwtfile' referenced before assignment
  • Francesc
    Junior Member
    • Dec 2009
    • 2

    #2
    i have the same error.
    did you figure out what it is?

    Comment

    • SEQguest
      Junior Member
      • Jun 2011
      • 2

      #3
      Error connected to empty junction database?

      Hello,

      I encountered the same error as well:

      [Thu Jun 9 17:47:43 2011] Searching for junctions via segment mapping
      Warning: junction database is empty!
      [Thu Jun 9 17:49:52 2011] Processing bowtie hits
      Traceback (most recent call last):
      File "./tophat", line 2584, in ?
      sys.exit(main())
      File "./tophat", line 2543, in main
      user_supplied_deletions)
      File "./tophat", line 2376, in spliced_alignment
      os.remove(unspl_bwtfile)
      UnboundLocalError: local variable 'unspl_bwtfile' referenced before assignment
      Case 1: I ran TopHat v1.3.0 with these parameters/arguments:

      ./tophat -o C02_tophat_outSAM -r 150 -p 8 --mate-std-dev 38 --no-convert-bam ./../bowtie/indexes/hg19 C02_1_head.txt C02_2_head.txt
      Content of the two files was as follows:

      C02_1_head.txt:

      @SRR057629.1_HWUSI-EAS230-R:2:1:2:1844#0/1
      CAAAAAGTTGCAATCAAAGATCTCTTCATCTTATTG
      +SRR057629.1_HWUSI-EAS230-R:2:1:2:1844#0/1
      BCBCCBA:<@BBB?BBB@2B:B:B>>BB>A@5A948
      C02_2_head.txt:

      @SRR057629.1_HWUSI-EAS230-R:2:1:2:1844#0/2
      TTGAGTCCNTTGCCTTTGCCCTCAACCTTGGCAATC
      +SRR057629.1_HWUSI-EAS230-R:2:1:2:1844#0/2
      82C=(:B=!=;BB?7':=ACBABAAC@-(7CCBA??
      Case 2: The same happens when "--no-convert-bam" option is omitted.

      Case 3: TopHat v1.2.0 finishes on the same data with no errors when identical command is used (option "--no-convert-bam" is not available in version 1.2.0, so the command is identical to Case 2).

      - For each case a new, empty output folder was specified.

      Maybe the error in v1.3.0 is connected to empty junction database? It was a circumstance in liuxq's analysis, too.

      Comment

      • gpertea
        Member
        • Jan 2010
        • 21

        #4
        This was indeed a small bug in the initial 1.3.0 release, the error appears for shorter reads (non-segmented). This has been fixed recently (with a silent update of the download packages), I also attached here the corrected tophat script.

        However for reads shorter than 50 it's still a good idea to enforce segmented mapping by decreasing the segment length to about half the read length (using the ' --segment-length' option).
        Attached Files
        Last edited by gpertea; 06-09-2011, 09:15 AM. Reason: additional info

        Comment

        • SEQguest
          Junior Member
          • Jun 2011
          • 2

          #5
          Yay

          Thank you!

          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
          34 views
          0 reactions
          Last Post SEQadmin2  
          Started by SEQadmin2, 10-22-2026, 10:48 AM
          0 responses
          25 views
          0 reactions
          Last Post SEQadmin2  
          Started by SEQadmin2, 10-15-2026, 10:52 AM
          0 responses
          41 views
          0 reactions
          Last Post SEQadmin2  
          Started by SEQadmin2, 10-14-2026, 05:39 AM
          0 responses
          45 views
          0 reactions
          Last Post SEQadmin2  
          Working...