Seqanswers Leaderboard Ad

Collapse

Announcement

Collapse
No announcement yet.
X
 
  • Filter
  • Time
  • Show
Clear All
new posts

  • cuffmerge BAM file missing

    I am following the protocol by Trapnell, et al. On step 4 there is this command:
    cuffmerge -g genes.gtf -s genome.fa -p 8 assemblies.txt

    The txt file directs to transcripts.gtf so none of the files here are BAM! But I receive the following lines:

    [bam_header_read] EOF marker is absent. The input is probably truncated.
    [bam_header_read] invalid BAM binary header (this is not a BAM file).
    File ./merged_asm/tmp/mergeSam_fileAqXvMn doesn't appear to be a valid BAM file, trying SAM...
    [11:26:22] Loading reference annotation.
    [11:26:23] Inspecting reads and determining fragment length distribution.
    Processed 11334 loci.
    > Map Properties:
    > Normalized Map Mass: 22853.00
    > Raw Map Mass: 22853.00
    > Fragment Length Distribution: Truncated Gaussian (default)
    > Default Mean: 200
    > Default Std Dev: 80
    [11:26:23] Assembling transcripts and estimating abundances.
    Processed 11334 loci.


    Why is it looking for BAM file? Then it looks that by trying SAM it can pass this step and give results, but should I be concerned about it?


    Cheers,
    Parham

  • #2
    I recall that it does some sort of conversion of the GTF files to SAM. Yes, that seems a bit odd.

    Comment


    • #3
      Yes first thing it converts GTF to SAM. Do you have any suggestions? Here is the what I get before the BAM failure.

      [Wed Jan 8 14:15:31 2014] Preparing output location ./merged_asm/
      [Wed Jan 8 14:15:31 2014] Converting GTF files to SAM
      [14:15:31] Loading reference annotation.
      [14:15:31] Loading reference annotation.
      [Wed Jan 8 14:15:32 2014] Quantitating transcripts
      You are using Cufflinks v2.1.1, which is the most recent release.
      Command line:
      cufflinks -o ./merged_asm/ -F 0.05 -g genes.gtf -q --overhang-tolerance 200 --library-type=transfrags -A 0.0 --min-frags-per-transfrag 0 --no-5-extend -p 8 ./merged_asm/tmp/mergeSam_filen0cePq
      [bam_header_read] EOF marker is absent. The input is probably truncated.
      [bam_header_read] invalid BAM binary header (this is not a BAM file).

      Comment


      • #4
        Update:
        I kept the temporary files while running cuffmerge. It builgs a SAM file from transcripts.gtf files. Then it seems first it reads it as BAM since I read samtools take the files as BAM default. Then it finds it is not a BAM so it tries SAM. Then it can read it and resume the task. I am writing the headers for the tmp SAM file here so you can see how it looks.
        @HD VN:1.0 SO:coordinate
        @SQ SN:2L LN: 22961179
        @SQ SN:2LHet LN: 272340
        @SQ SN:2R LN: 21142371
        @SQ SN:2RHet LN: 3234607
        @SQ SN:3L LN: 24536634
        @SQ SN:3LHet LN: 2544176
        @SQ SN:3R LN: 27894162
        @SQ SN:3RHet LN: 2505998
        @SQ SN:4 LN: 1275487
        @SQ SN:U LN: 10047936
        @SQ SN:X LN: 22417005
        @SQ SN:XHet LN: 196035
        @SQ SN:YHet LN: 340818
        @SQ SN:dmel_mitochondrion_genome LN: 14916
        @PG ID:cuffmerge VN:1.0.0

        Please correct me if I got it wrong.

        Comment


        • #5
          That seems to fit what I recall. I vaguely remember that error message being pretty normal.

          Comment


          • #6
            Checking my previous cuffmerge runs, I got the same message every time but all the runs were successful. I guess we could just ignore it.

            Comment

            Latest Articles

            Collapse

            • seqadmin
              Essential Discoveries and Tools in Epitranscriptomics
              by seqadmin




              The field of epigenetics has traditionally concentrated more on DNA and how changes like methylation and phosphorylation of histones impact gene expression and regulation. However, our increased understanding of RNA modifications and their importance in cellular processes has led to a rise in epitranscriptomics research. “Epitranscriptomics brings together the concepts of epigenetics and gene expression,” explained Adrien Leger, PhD, Principal Research Scientist...
              04-22-2024, 07:01 AM
            • seqadmin
              Current Approaches to Protein Sequencing
              by seqadmin


              Proteins are often described as the workhorses of the cell, and identifying their sequences is key to understanding their role in biological processes and disease. Currently, the most common technique used to determine protein sequences is mass spectrometry. While still a valuable tool, mass spectrometry faces several limitations and requires a highly experienced scientist familiar with the equipment to operate it. Additionally, other proteomic methods, like affinity assays, are constrained...
              04-04-2024, 04:25 PM

            ad_right_rmr

            Collapse

            News

            Collapse

            Topics Statistics Last Post
            Started by seqadmin, Yesterday, 11:49 AM
            0 responses
            15 views
            0 likes
            Last Post seqadmin  
            Started by seqadmin, 04-24-2024, 08:47 AM
            0 responses
            16 views
            0 likes
            Last Post seqadmin  
            Started by seqadmin, 04-11-2024, 12:08 PM
            0 responses
            61 views
            0 likes
            Last Post seqadmin  
            Started by seqadmin, 04-10-2024, 10:19 PM
            0 responses
            60 views
            0 likes
            Last Post seqadmin  
            Working...
            X