Unconfigured Ad

Collapse
X
 
  • Time
  • Show
Clear All
new posts
  • ramma
    Member
    • Jun 2012
    • 16

    #1

    Cufflinks bam header size too large

    When running cufflinks on my accepted_hits.bam files from tophat, I get this output, truncated as there are many CIGAR errors.

    Code:
    You are using Cufflinks v2.0.2, which is the most recent release.
    Warning: BAM header too large
    File accepted_hits.bam doesn't appear to be a valid BAM file, trying SAM...
    [12:02:25] Inspecting reads and determining fragment length distribution.
    SAM error on line 806: CIGAR op has zero length
    SAM error on line 823: invalid CIGAR operation
    SAM error on line 831: CIGAR op has zero length
    SAM error on line 847: CIGAR op has zero length
    SAM error on line 874: CIGAR op has zero length
    SAM error on line 879: CIGAR op has zero length
    It looks like I'm having the same error as this thread was.
    Discussion of next-gen sequencing related bioinformatics: resources, algorithms, open source efforts, etc


    However, I can't get cufflinks to compile with the source changes. The dependencies fail to be noticed. I'm following the guide here http://cufflinks.cbcb.umd.edu/tutorial.html and have tried on two computers now with no luck. Is there by chance a pre-compiled version with the fix, or some other way around this issue?

    Thanks for any help.
  • ramma
    Member
    • Jun 2012
    • 16

    #2
    I made it past the previous error with some help compiling cufflinks with the source change to handle headers larger than 4MB. Now another error appears when trying to run cufflinks.

    Code:
    You are using Cufflinks v2.0.2, which is the most recent release.
    Error: sort order of reads in BAMs must be the same
    I've tried sorting the accepted_hits.bam file with samtools as many threads seem to suggest, and error persists.

    Comment

    • JueFish
      Member
      • May 2010
      • 42

      #3
      ramma, having similar issue using cufflinks on large transcriptome sequence with lots of predicted transcripts. How did you get the program to compile? When I change the hits.cpp file, it won't compile, but if I leave it at 4 MB it still works. Any ideas on how to make this work?

      Thanks.

      Comment

      • ramma
        Member
        • Jun 2012
        • 16

        #4
        Originally posted by JueFish View Post
        ramma, having similar issue using cufflinks on large transcriptome sequence with lots of predicted transcripts. How did you get the program to compile? When I change the hits.cpp file, it won't compile, but if I leave it at 4 MB it still works. Any ideas on how to make this work?

        Thanks.
        Hi JueFish, I have a standalone version of cufflinks which I believe accepts up to 8 MB header size. I had help compiling it, so it's not my expertise and every time I tried compiling it myself with the header size change I had issues as well. If 8 MB is enough for your needs I'd be happy to send the stand alone version to you.

        Comment

        • JueFish
          Member
          • May 2010
          • 42

          #5
          ramma, 8MB is actually still smaller than what I need, but it's better than what I got. I can probably drop my reference down to get in that range. I'll send you a private message on Seqanswers and we can figure out how I might be able to get a copy of the binary from you. Thanks.

          Comment

          • ataraxia
            Junior Member
            • Feb 2013
            • 7

            #6
            Dear ramma,
            I am having a similar problem to Juefish when trying to run Cufflinks on my TopHat accepted_hits.bams output, as I am using a very fragmented genome (my bam header size is around 5.5 MB). I have tried to compile the source code changing the parameter for header size without any success. Would it be possible for you to send me your stand alone version? Which system are you using (Mac, PC, Linux)?

            Comment

            • ramma
              Member
              • Jun 2012
              • 16

              #7
              Sure ataraxia, I'll PM you a link to the download. It's compiled for a linux system.

              Comment

              • RNAddict
                Member
                • Mar 2012
                • 17

                #8
                Ramma could you supply me with your 8MB compilation?

                Comment

                • RNAddict
                  Member
                  • Mar 2012
                  • 17

                  #9
                  Originally posted by ramma View Post
                  I made it past the previous error with some help compiling cufflinks with the source change to handle headers larger than 4MB. Now another error appears when trying to run cufflinks.

                  Code:
                  You are using Cufflinks v2.0.2, which is the most recent release.
                  Error: sort order of reads in BAMs must be the same
                  I've tried sorting the accepted_hits.bam file with samtools as many threads seem to suggest, and error persists.
                  Did you ever find a way to fix this second error? I am experiencing it as well.

                  Comment

                  • pengchy
                    Senior Member
                    • Feb 2009
                    • 116

                    #10
                    Originally posted by RNAddict View Post
                    Did you ever find a way to fix this second error? I am experiencing it as well.
                    Hi RNAddict,

                    here is the solution
                    Discussion of next-gen sequencing related bioinformatics: resources, algorithms, open source efforts, etc

                    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, 10-22-2026, 11:13 AM
                    0 responses
                    30 views
                    0 reactions
                    Last Post SEQadmin2  
                    Started by SEQadmin2, 10-22-2026, 10:48 AM
                    0 responses
                    22 views
                    0 reactions
                    Last Post SEQadmin2  
                    Started by SEQadmin2, 10-15-2026, 10:52 AM
                    0 responses
                    39 views
                    0 reactions
                    Last Post SEQadmin2  
                    Started by SEQadmin2, 10-14-2026, 05:39 AM
                    0 responses
                    45 views
                    0 reactions
                    Last Post SEQadmin2  
                    Working...