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
                    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
                  17 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...