Seqanswers Leaderboard Ad

Collapse

Announcement

Collapse
No announcement yet.
X
 
  • Filter
  • Time
  • Show
Clear All
new posts

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

  • #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


    • #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

      • seqadmin
        Essential Discoveries and Tools in Epitranscriptomics
        by seqadmin




        The field of epigenetics has traditionally concentrated more on DNA and how changes like methylation and phosphorylation of histones impact gene expression and regulation. However, our increased understanding of RNA modifications and their importance in cellular processes has led to a rise in epitranscriptomics research. “Epitranscriptomics brings together the concepts of epigenetics and gene expression,” explained Adrien Leger, PhD, Principal Research Scientist...
        04-22-2024, 07:01 AM
      • seqadmin
        Current Approaches to Protein Sequencing
        by seqadmin


        Proteins are often described as the workhorses of the cell, and identifying their sequences is key to understanding their role in biological processes and disease. Currently, the most common technique used to determine protein sequences is mass spectrometry. While still a valuable tool, mass spectrometry faces several limitations and requires a highly experienced scientist familiar with the equipment to operate it. Additionally, other proteomic methods, like affinity assays, are constrained...
        04-04-2024, 04:25 PM

      ad_right_rmr

      Collapse

      News

      Collapse

      Topics Statistics Last Post
      Started by seqadmin, Today, 11:49 AM
      0 responses
      13 views
      0 likes
      Last Post seqadmin  
      Started by seqadmin, Yesterday, 08:47 AM
      0 responses
      16 views
      0 likes
      Last Post seqadmin  
      Started by seqadmin, 04-11-2024, 12:08 PM
      0 responses
      61 views
      0 likes
      Last Post seqadmin  
      Started by seqadmin, 04-10-2024, 10:19 PM
      0 responses
      60 views
      0 likes
      Last Post seqadmin  
      Working...
      X