Unconfigured Ad

Collapse
X
 
  • Time
  • Show
Clear All
new posts
  • gormleymp
    Member
    • Feb 2012
    • 19

    #1

    Cufflinks/cuffmerge text file busy error

    I am getting the following error when running cuffmerge.

    Traceback (most recent call last):
    File "/usr/local/bin/cuffmerge", line 576, in <module>
    sys.exit(main())
    File "/usr/local/bin/cuffmerge", line 559, in main
    compare_meta_asm_against_ref(params.ref_gtf,params.fasta,output_dir+"
    /transcripts.gtf")
    File "/usr/local/bin/cuffmerge" line 447, in compare_meta_asm_against_ref
    os.remove(tmap)

    OSError: [Errno 26] Text file busy: '.merged_asm/tmp_meta_asm.transcripts.gtf.tmap'

    Has anyone come across this error and come up with a solution? It appears to be internal to cuffmerge as it is dealing with file management of temporary files.

    Thanks,
    Mike
  • gormleymp
    Member
    • Feb 2012
    • 19

    #2
    FYI interestingly the --keep-tmp option does not fix this error.

    Comment

    • GenoMax
      Senior Member
      • Feb 2008
      • 7142

      #3
      What kind of disk storage system are you running these jobs on? Is this on a cluster or a standalone server?

      Comment

      • gormleymp
        Member
        • Feb 2012
        • 19

        #4
        Standalone Virtual Machine running CentOS 6.

        Comment

        • GenoMax
          Senior Member
          • Feb 2008
          • 7142

          #5
          I guess then some kind of disk I/O contention is probably not applicable. Are you consistently seeing that error with cuffmerge jobs?

          Comment

          • gormleymp
            Member
            • Feb 2012
            • 19

            #6
            New to cufflinks. This is the only RNAseq data we have in the pipeline at the moment.

            Comment

            • GenoMax
              Senior Member
              • Feb 2008
              • 7142

              #7
              Are you running anything else besides the cuffmerge job at the same time? What OS is this virtual machine running on?

              Comment

              • gormleymp
                Member
                • Feb 2012
                • 19

                #8
                Nothing else on the VM. VM is on Windows 7.

                Comment

                • GenoMax
                  Senior Member
                  • Feb 2008
                  • 7142

                  #9
                  This may be an issue specific for your environment and may coming from python (based on some googling). You have not said if you are getting the error consistently with all jobs or if this was a one time issue.

                  You may want to email the tophat/cufflinks list to see if they have any suggestions.

                  Comment

                  • gormleymp
                    Member
                    • Feb 2012
                    • 19

                    #10
                    Thanks for your input.

                    I said earlier that I am new to cufflinks and it is the only RNAseq data we have at the moment to work with. I meant to imply that I have not run cuffmerge on other jobs. Sorry if it was not clear. If it comes down to it, I may run the cufflinks protocols using the test data described in the Nature Protocols paper "Differential gene and transcript expression analysis...". This would be a good control to evaluate if it is a data issue or an environment issue.

                    I have emailed tophat/cufflinks with this issue. I will post the resolution to guide other users when I work through it.

                    Comment

                    • gormleymp
                      Member
                      • Feb 2012
                      • 19

                      #11
                      Success. The issue seems to be that I was running cuffmerge from a shared directory between the VM and the host machine. Running cuffmerge from a directory on the VM alone resolved the error.

                      Comment

                      • GenoMax
                        Senior Member
                        • Feb 2008
                        • 7142

                        #12
                        Originally posted by gormleymp View Post
                        Success. The issue seems to be that I was running cuffmerge from a shared directory between the VM and the host machine. Running cuffmerge from a directory on the VM alone resolved the error.
                        That would certainly do it. Glad it got resolved.

                        Comment

                        Latest Articles

                        Collapse

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

                        ad_right_rmr

                        Collapse

                        News

                        Collapse

                        Topics Statistics Last Post
                        Started by SEQadmin2, Yesterday, 07:59 AM
                        0 responses
                        15 views
                        0 reactions
                        Last Post SEQadmin2  
                        Started by SEQadmin2, 11-05-2026, 09:25 AM
                        0 responses
                        32 views
                        0 reactions
                        Last Post SEQadmin2  
                        Started by SEQadmin2, 11-03-2026, 11:54 AM
                        0 responses
                        45 views
                        0 reactions
                        Last Post SEQadmin2  
                        Started by SEQadmin2, 10-28-2026, 09:57 AM
                        0 responses
                        171 views
                        0 reactions
                        Last Post SEQadmin2  
                        Working...