Seqanswers Leaderboard Ad

Collapse

Announcement

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

  • Tophat2 job fails with an out of memory error - how to restart?

    I've had a long running tophat2 end with an error after 9 nine days:

    ...
    [2012-06-07 12:57:34] Joining segment hits
    [2012-06-07 17:58:10] Reporting output tracks
    [FAILED]
    Error: [Errno 12] Cannot allocate memory
    Found 280164 junctions from happy spliced reads

    [FAILED]
    Error: [Errno 2] No such file or directory: './tophat_out/tmp/accepted_hits7_sorted.bam'
    Found 280164 junctions from happy spliced reads
    Is there anyway to restart it at the point of failure on a machine with more memory rather than waiting another 9 nine days...?

  • #2
    I've managed to do so...you should check in your logs (run.log) the command that failed and re-launch it on a machine with more memory. In my case it worked and I only needed to launch by hand two or three commands.
    You should try to understand which commands you still need to execute by examining the python wrapper for tophat and/or relaunching it on smaller fastq files (but with the same command line) and examining the logs. If it stopped at reporting output tracks it is similar to my situation: you should relaunch tophat-reports and samtools sort (in this way you will get an accepted_hits.bam but no unmapped.bam, I did not generate that file because I didn't need it...)

    Be aware that this suggestion is not entirely "safe" as long as one can 'rebuild' the commands in the wrong way and skip eventual portions of the job done by the python...the developer suggested me to split my fastq files and run tophat on them separately to overcome memory limits.

    Comment


    • #3
      OK. It looks like it died trying to sort eight BAM files at the same time and then merging them into one. I'll try and run those steps separately and see how that goes...

      Grazie mille

      Comment

      Latest Articles

      Collapse

      • seqadmin
        Recent Advances in Sequencing Analysis Tools
        by seqadmin


        The sequencing world is rapidly changing due to declining costs, enhanced accuracies, and the advent of newer, cutting-edge instruments. Equally important to these developments are improvements in sequencing analysis, a process that converts vast amounts of raw data into a comprehensible and meaningful form. This complex task requires expertise and the right analysis tools. In this article, we highlight the progress and innovation in sequencing analysis by reviewing several of the...
        Yesterday, 07:48 AM
      • 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

      ad_right_rmr

      Collapse

      News

      Collapse

      Topics Statistics Last Post
      Started by seqadmin, Today, 06:57 AM
      0 responses
      9 views
      0 likes
      Last Post seqadmin  
      Started by seqadmin, Yesterday, 07:17 AM
      0 responses
      13 views
      0 likes
      Last Post seqadmin  
      Started by seqadmin, 05-02-2024, 08:06 AM
      0 responses
      19 views
      0 likes
      Last Post seqadmin  
      Started by seqadmin, 04-30-2024, 12:17 PM
      0 responses
      22 views
      0 likes
      Last Post seqadmin  
      Working...
      X