Unconfigured Ad

Collapse
X
 
  • Time
  • Show
Clear All
new posts
  • lpulagam
    Junior Member
    • Aug 2011
    • 2

    #1

    Tophat --resume error

    Hi All,

    My tophat 2.0.5 run failed with the follwing error:

    HTML Code:
    terminate called after throwing an instance of 'std::bad_alloc'
      what():  std::bad_alloc
    When i tried to resume it using the "tophat --resume th-v2 (Note: th-v2 is the output directory)
    stopped with the following error

    HTML Code:
    Traceback (most recent call last):
      File "/home/appl/seq/bin/tophat", line 4035, in ?
        sys.exit(main())
      File "/home/appl/seq/bin/tophat", line 3797, in main
        newargv=doResume(params.resume_dir)
      File "/home/appl/seq/bin/tophat", line 212, in doResume
        thcmd = next(flog)
    NameError: global name 'next' is not defined

    Thank you so much for your suggestions.
  • aoler
    Junior Member
    • Apr 2010
    • 3

    #2
    I had this same problem. As it turns out, the "next" function was introduced in Python 2.6, so if you update your Python to at least 2.6, it should work. I was using 2.4.3 (on Linux) when I had the error, but when I tried with Python 2.7, it worked fine. Hopefully that works for you as well.

    Comment

    • lpulagam
      Junior Member
      • Aug 2011
      • 2

      #3
      I am working with python version 2.6, but still getting the same problem.
      I should try python 2.7.
      thanks

      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...