Unconfigured Ad

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

    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
                      Nine Things a Sample Prep Scientist Thinks About Before Sequencing
                      by SEQadmin2


                      I’m not a sequencing expert. I’m a purification scientist who uses NGS to evaluate workflows my group develops. With this perspective, we think about the sample first and the NGS workflow second. The sequencer is an exceptionally honest reporter, but it can only report on what you give it, so whether you get clean, interpretable data from an NGS workflow is largely determined before you begin.


                      Here are nine questions we think about, in roughly the order they matter, before...
                      06-18-2026, 07:11 AM
                    • SEQadmin2
                      From Collection to Sequencing: Why Sample Preparation and Preservation Define Sequencing Data
                      by SEQadmin2


                      Data variability is still an issue in sequencing technologies despite the advances in reproducibility and accuracy of these platforms. But the problem does not originate in the sequencing itself, but in the previous steps, before the sample reaches the sequencer.


                      The first step is collection, followed by preservation and sample preparation for analysis. Most scientists overlook those steps, but not being careful might just be skewing the experiment’s results.
                      ...
                      06-02-2026, 10:05 AM
                    • SEQadmin2
                      Single-Cell Sequencing at an Inflection Point: Early Impacts of New Platforms and Emerging Trends
                      by SEQadmin2


                      With the launch of new single-cell sequencing platforms in 2026, the field stands at an exciting inflection point. This article surveys the most impactful advances in the field and discusses how they’re reshaping research in cancer, immunology, and beyond.


                      Introduction

                      Single-cell sequencing technologies have undergone remarkable advances over the past decade, transitioning from low-throughput experimental approaches to highly scalable platforms capable of...
                      05-22-2026, 06:42 AM

                    ad_right_rmr

                    Collapse

                    News

                    Collapse

                    Topics Statistics Last Post
                    Started by SEQadmin2, 06-17-2026, 06:09 AM
                    0 responses
                    21 views
                    0 reactions
                    Last Post SEQadmin2  
                    Started by SEQadmin2, 06-09-2026, 11:58 AM
                    0 responses
                    39 views
                    0 reactions
                    Last Post SEQadmin2  
                    Started by SEQadmin2, 06-05-2026, 10:09 AM
                    0 responses
                    46 views
                    0 reactions
                    Last Post SEQadmin2  
                    Started by SEQadmin2, 06-04-2026, 08:59 AM
                    0 responses
                    49 views
                    0 reactions
                    Last Post SEQadmin2  
                    Working...