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

      • kinpict.com
        Reply to 16S/ITS Profiling vs. Shotgun Metagenomics: What Changes in Your Workflow?
        by kinpict.com
        The part about this topic feels surprisingly grounded, and the details on the page is the bit that made me slow down. I’d keep <a href="https://kinpict.com/">ai family photo generator</a> bookmarked for later.
        Yesterday, 06:37 PM
      • SEQadmin2
        16S/ITS Profiling vs. Shotgun Metagenomics: What Changes in Your Workflow?
        by SEQadmin2





        NGS has revolutionized clinical microbiology by offering new ways to identify and surveil pathogens without prior knowledge of the target. One popular approach is 16S rRNA and ITS amplicon sequencing, which targets specific microbial markers. But studies are increasingly incorporating shotgun metagenomics, a technique that sequences all DNA from a sample without targeting specific microbial markers. This approach allows more detailed taxonomic classification,...
        10-30-2026, 06:46 AM

      ad_right_rmr

      Collapse

      News

      Collapse

      Topics Statistics Last Post
      Started by SEQadmin2, 11-12-2026, 07:59 AM
      0 responses
      29 views
      0 reactions
      Last Post SEQadmin2  
      Started by SEQadmin2, 11-05-2026, 09:25 AM
      0 responses
      36 views
      0 reactions
      Last Post SEQadmin2  
      Started by SEQadmin2, 11-03-2026, 11:54 AM
      2 responses
      60 views
      0 reactions
      Last Post kinpict.com  
      Started by SEQadmin2, 10-28-2026, 09:57 AM
      0 responses
      176 views
      0 reactions
      Last Post SEQadmin2  
      Working...