Unconfigured Ad

Collapse
X
 
  • Time
  • Show
Clear All
new posts
  • peromhc
    Senior Member
    • Sep 2009
    • 108

    #1

    tophat/cufflinks error

    Hi All,

    I'm having a reoccurance of the "Error: this SAM file doesn't appear to be correctly sorted!" issue..

    tophat 1.2.0 and cufflinks 1.0.2

    bam file created using tophat
    Code:
    /home/matthew/tophat-1.2.0/tophat -o /media/hd/annotation/tophat/social -r 100 -p 8 --allow-indels --library-type fr-unstranded /media/hd/annotation/tophat/bowtie.index.26May11.tuco.mrna /media/hd/tuco/mrna/trimmed/apache.final.clip_1.fq,/media/hd/tuco/mrna/trimmed/ep.final.clip_1.fq /media/hd/tuco/mrna/trimmed/apache.final.clip_2.fq,/media/hd/tuco/mrna/trimmed/ep.final.clip_2.fq
    In cufflinks:
    Code:
    /home/matthew/cufflinks-1.0.2/cufflinks -o /media/hd/annotation/tophat/solitary/cufflinks --num-importance-samples 5000 --max-mle-iterations 20000 -p 16 /media/hd/annotation/tophat/solitary/accepted_hits.bam
    You are using Cufflinks v1.0.2, which is the most recent release.
    [18:04:56] Inspecting reads and determining fragment length distribution.
    > Processing Locus 10034_gs536_ge1663_3u1664_E [                         ]   0%
    Error: this SAM file doesn't appear to be correctly sorted!
    	current hit is at 10036_gs2_ge544_3u545_GENSCAN00000013565_Pteropus_neurexin:0, last one was at 10035_gs2_ge1360_ENSPTRP00000059044_PREDICTED::1331
    Cufflinks requires that if your file has SQ records in
    the SAM header that they appear in the same order as the chromosomes names 
    in the alignments.
    If there are no SQ records in the header, or if the header is missing,
    the alignments must be sorted lexicographically by chromsome
    name and by position.
  • fgh1124
    Member
    • Jan 2010
    • 15

    #2
    revise the script!
    Discussion of next-gen sequencing related bioinformatics: resources, algorithms, open source efforts, etc

    Comment

    • peromhc
      Senior Member
      • Sep 2009
      • 108

      #3
      yeah, I think this something different.. I have a BAM file created in tophat.. The referenced post had to do with a GTF file created in cufflinks.

      Comment

      • fgh1124
        Member
        • Jan 2010
        • 15

        #4
        I am sorry that I misunderstood you qeustion. I guess your problem maybe is the samtools. You can check if it work correctly!

        Comment

        • peromhc
          Senior Member
          • Sep 2009
          • 108

          #5
          not sure, I am using samtools 0.1.16.

          The samtools sort command looks right..

          Comment

          • peromhc
            Senior Member
            • Sep 2009
            • 108

            #6
            Any ideas about this?? I get the same error with the new tophat 1.3.0..

            Comment

            • peromhc
              Senior Member
              • Sep 2009
              • 108

              #7
              here are a few lines from the .sam


              head -n 30 /media/hd/annotation/tophat/solitary/accepted_hits.sam

              @HD VN:1.0 SO:coordinate
              @RG ID:tuco SM:solitary PI:100
              @SQ SN:10000_mitochondrial.carrie LN:1756
              @SQ SN:10002_DET1-.and.DDB1-assoc LN:1891
              @SQ SN:10003_DET1.and.DDB1.associ LN:1282
              @SQ SN:10005_polymerase.(DNA-dire LN:1432
              @SQ SN:10006_DET1-.and.DDB1-assoc LN:1943
              @SQ SN:10007_microRNA.1909. LN:856
              @SQ SN:10009_chromatin.modifying. LN:760
              @SQ SN:1000_Ubiquinol-cytochrome LN:624
              @SQ SN:10010_Notch.homolog.3.(Dro LN:459
              @SQ SN:10011_diacylglycerol.kinas LN:2191
              @SQ SN:10013_Ubiquitin-related.mo LN:852
              @SQ SN:10016_chibby.homolog.1.(Dr LN:793
              @SQ SN:10017_metastasis.associate LN:518
              @SQ SN:10019_Nucleoside.diphospha LN:477
              @SQ SN:1001_histone.deacetylase. LN:3124
              @SQ SN:10020_non-metastatic.cells LN:969
              @SQ SN:10021_Nucleoside.diphospha LN:494
              @SQ SN:10023_Nucleoside.diphospha LN:698
              @SQ SN:10024_SLC2A4.regulator. LN:457
              @SQ SN:10025_chondroitin.polymeri LN:1440
              @SQ SN:10029_annexin.A6. LN:1845
              @SQ SN:1002_DEAH.(Asp-Glu-Ala-As LN:1343
              @SQ SN:10030_integrin-linked.kina LN:1263
              @SQ SN:10032_Ca++-dependent.secre LN:2067
              @SQ SN:10033_integrin-linked.kina LN:1159
              @SQ SN:10034_Neurexin-1-alpha.Pre LN:1876
              @SQ SN:10035_PREDICTED:.Pan.trogl LN:1362

              Comment

              • emilyjia2000
                Member
                • May 2011
                • 59

                #8
                I had similar problem before, I used Samtools sort the BAM files

                Comment

                • woodydon
                  Member
                  • Jan 2010
                  • 52

                  #9
                  Try samtools 0.1.8.

                  Comment

                  Latest Articles

                  Collapse

                  • SEQadmin2
                    Beyond CRISPR/Cas9: Understand, Choose, and Use the Right Genome Editing Tool
                    by SEQadmin2



                    CRISPR/Cas9 sparked the gene editing revolution for both research and therapeutics.1 But this system still showed severe issues that limited its applications. The most prominent were the heavy reliance on PAM sequences, delivery limitations, double-stranded breaks that prompt unintended edits and cell death, and editing inefficiency (both in targeting and in knock-in reliability).

                    Despite this, “CRISPR helped turn genome editing from a specialized technique into
                    ...
                    Today, 11:01 AM
                  • 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

                  ad_right_rmr

                  Collapse

                  News

                  Collapse

                  Topics Statistics Last Post
                  Started by SEQadmin2, Today, 02:55 AM
                  0 responses
                  6 views
                  0 reactions
                  Last Post SEQadmin2  
                  Started by SEQadmin2, 07-24-2026, 12:17 PM
                  0 responses
                  11 views
                  0 reactions
                  Last Post SEQadmin2  
                  Started by SEQadmin2, 07-23-2026, 11:41 AM
                  0 responses
                  12 views
                  0 reactions
                  Last Post SEQadmin2  
                  Started by SEQadmin2, 07-20-2026, 11:10 AM
                  0 responses
                  24 views
                  0 reactions
                  Last Post SEQadmin2  
                  Working...