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
                      Proteomic Platforms: How to Choose the Right Analytical Strategy to Improve Detection and Clinical Applications
                      by SEQadmin2


                      Proteomics platforms are evolving rapidly, with advances in mass spectrometry and affinity-based approaches expanding what researchers can detect and at what scale. As the field moves toward deeper proteome coverage and clinical applications, scientists face an increasingly complex landscape of tools. This article will explore how researchers are navigating these choices to find the right platform for their work.

                      The systematic characterization of the human proteome has
                      ...
                      07-20-2026, 11:48 AM
                    • SEQadmin2
                      Advanced Sequencing Platforms Tackle Neuroscience’s Toughest Genomics Problems
                      by SEQadmin2



                      Genomics studies in neuroscience face a special challenge due to the brain’s complexity and scarcity of samples. Mapping changes in cell type and state using conventional next-generation sequencing methods remains challenging. Advances in technologies like single-cell sequencing, spatial transcriptomics, and long-read sequencing have opened the door to deeper studies of the brain and diseases like Alzheimer’s, amyotrophic lateral sclerosis (ALS), and schizophrenia.
                      ...
                      07-09-2026, 11:10 AM
                    • SEQadmin2
                      Cancer Drug Resistance: The Lingering Barrier to Rising Survival
                      by SEQadmin2



                      Cancer survival rates have significantly increased in the last few decades in the United States, reaching a combined 70% 5-year survival rate by 2021. Behind this number, there are years of research to find new therapies, drug targets, and early detection methods. But there is one core challenge that keeps slowing down these advances, and it’s about drug resistance.

                      There is no single reason why many patients don’t respond to treatment as expected. Cancer is...
                      07-08-2026, 05:17 AM

                    ad_right_rmr

                    Collapse

                    News

                    Collapse

                    Topics Statistics Last Post
                    Started by SEQadmin2, Today, 12:17 PM
                    0 responses
                    10 views
                    0 reactions
                    Last Post SEQadmin2  
                    Started by SEQadmin2, Yesterday, 11:41 AM
                    0 responses
                    11 views
                    0 reactions
                    Last Post SEQadmin2  
                    Started by SEQadmin2, 07-20-2026, 11:10 AM
                    0 responses
                    23 views
                    0 reactions
                    Last Post SEQadmin2  
                    Started by SEQadmin2, 07-13-2026, 10:26 AM
                    0 responses
                    37 views
                    0 reactions
                    Last Post SEQadmin2  
                    Working...