Unconfigured Ad

Collapse
X
 
  • Time
  • Show
Clear All
new posts
  • crader
    Member
    • Sep 2010
    • 12

    #1

    cuffdiff says SAM isn’t sorted, although it handled it cufflinks

    Hi all, I'm having an issue with cufflinks in that I can get through cufflinks with a de novo, but am halted here:

    cuffdiff -o diff_out -b annolrubtran.fasta -p 20 -L 0mg,36mg,125mg -u cuffcmp.combined.gtf ./tophat008paired/accepted_hits.sam.sorted ./tophat009paired/accepted_hits.sam.sorted ./tophat010paired/accepted_hits.sam.sorted
    You are using Cufflinks v1.3.0, which is the most recent release.
    [bam_header_read] EOF marker is absent.
    [bam_header_read] invalid BAM binary header (this is not a BAM file).
    File ./tophat008paired/accepted_hits.sam.sorted doesn't appear to be a valid BAM file, trying SAM...
    [bam_header_read] EOF marker is absent.
    [bam_header_read] invalid BAM binary header (this is not a BAM file).
    File ./tophat009paired/accepted_hits.sam.sorted doesn't appear to be a valid BAM file, trying SAM...
    [bam_header_read] EOF marker is absent.
    [bam_header_read] invalid BAM binary header (this is not a BAM file).
    File ./tophat010paired/accepted_hits.sam.sorted doesn't appear to be a valid BAM file, trying SAM...
    [19:24:38] Loading reference annotation and sequence.
    [19:25:40] Inspecting maps and determining fragment length distributions.

    Error: this SAM file doesn't appear to be correctly sorted!
    current hit is at Contig10010|nucleolin-:26, last one was at Contig1000|---NA---:198
    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.


    I've prviouisly converted the tophat output into a .sam before sorting:

    samtools view -h -o accepted_hits.sam accepted_hits.bam
    sort -k 3,3 -k 4,4n accepted_hits.sam > accepted_hits.sam.sorted

    This feeds into cufflinks alright, but stops as above when shuttled into cuffdiff. I also used cuffcompare to get the combined.gtf- If anyone could offer me a suggestion, I'd thoroughly appreciate it!!
  • crader
    Member
    • Sep 2010
    • 12

    #2
    Update (I've also posted on Biostar)

    It starts to give me hassles as here: http://biostar.stackexchange.com/que...into-cuffmerge when I put the .bam files in. Is there a faster work-around without changing the hitts.cpp? (I don't have permissions and am working off site).

    Comment

    • ETHANol
      Senior Member
      • Feb 2010
      • 308

      #3
      There was a thread about this the other day and the problem was with chrM.
      --------------
      Ethan

      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
        ...
        07-31-2026, 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

      ad_right_rmr

      Collapse

      News

      Collapse

      Topics Statistics Last Post
      Started by SEQadmin2, Yesterday, 12:22 PM
      0 responses
      12 views
      0 reactions
      Last Post SEQadmin2  
      Started by SEQadmin2, 08-11-2026, 10:35 AM
      0 responses
      14 views
      0 reactions
      Last Post SEQadmin2  
      Started by SEQadmin2, 08-06-2026, 07:41 AM
      0 responses
      31 views
      0 reactions
      Last Post SEQadmin2  
      Started by SEQadmin2, 08-03-2026, 10:13 AM
      0 responses
      49 views
      0 reactions
      Last Post SEQadmin2  
      Working...