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
              Advancing Precision Medicine for Rare Diseases in Children
              by seqadmin




              Many organizations study rare diseases, but few have a mission as impactful as Rady Children’s Institute for Genomic Medicine (RCIGM). “We are all about changing outcomes for children,” explained Dr. Stephen Kingsmore, President and CEO of the group. The institute’s initial goal was to provide rapid diagnoses for critically ill children and shorten their diagnostic odyssey, a term used to describe the long and arduous process it takes patients to obtain an accurate...
              12-16-2024, 07:57 AM
            • seqadmin
              Recent Advances in Sequencing Technologies
              by seqadmin



              Innovations in next-generation sequencing technologies and techniques are driving more precise and comprehensive exploration of complex biological systems. Current advancements include improved accessibility for long-read sequencing and significant progress in single-cell and 3D genomics. This article explores some of the most impactful developments in the field over the past year.

              Long-Read Sequencing
              Long-read sequencing has seen remarkable advancements,...
              12-02-2024, 01:49 PM

            ad_right_rmr

            Collapse

            News

            Collapse

            Topics Statistics Last Post
            Started by seqadmin, 12-17-2024, 10:28 AM
            0 responses
            26 views
            0 likes
            Last Post seqadmin  
            Started by seqadmin, 12-13-2024, 08:24 AM
            0 responses
            42 views
            0 likes
            Last Post seqadmin  
            Started by seqadmin, 12-12-2024, 07:41 AM
            0 responses
            28 views
            0 likes
            Last Post seqadmin  
            Started by seqadmin, 12-11-2024, 07:45 AM
            0 responses
            42 views
            0 likes
            Last Post seqadmin  
            Working...
            X