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
                          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, Yesterday, 11:13 AM
                        0 responses
                        16 views
                        0 reactions
                        Last Post SEQadmin2  
                        Started by SEQadmin2, Yesterday, 10:48 AM
                        0 responses
                        16 views
                        0 reactions
                        Last Post SEQadmin2  
                        Started by SEQadmin2, 10-15-2026, 10:52 AM
                        0 responses
                        35 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...