Unconfigured Ad

Collapse
X
 
  • Time
  • Show
Clear All
new posts
  • foxyg
    Member
    • May 2010
    • 54

    #1

    missing header information in bam cause GATK unifiedgenotyper fail

    Hi, I am this mitochondria sequence data, aligned using only chrM reference using BWA, and aligned against HG19 using bwa.

    The bam file header looks like
    @SQ SN:chrM LN:16569

    When I run gatk unifiedgenotyper, got this error message:
    ##### ERROR MESSAGE: SAM/BAM file SAMFileReader{/home3/guoy1/CaiMitochondria/analysis_chrM/SNPcall/../out.bam} is malformed: Read HWUSI-EAS614_0001:5:1:1051:19990#0 is missing the read group, which is required by the GATK

    But when I use the the bam file from HG19
    The header looks like
    @SQ SN:chr1 LN:249250621
    @SQ SN:chr2 LN:243199373
    @SQ SN:chr3 LN:198022430
    @SQ SN:chr4 LN:191154276
    @SQ SN:chr5 LN:180915260
    @SQ SN:chr6 LN:171115067
    @SQ SN:chr7 LN:159138663
    @SQ SN:chr8 LN:146364022
    @SQ SN:chr9 LN:141213431
    @SQ SN:chr10 LN:135534747
    @SQ SN:chr11 LN:135006516
    @SQ SN:chr12 LN:133851895
    @SQ SN:chr13 LN:115169878
    @SQ SN:chr14 LN:107349540
    @SQ SN:chr15 LN:102531392
    @SQ SN:chr16 LN:90354753
    @SQ SN:chr17 LN:81195210
    @SQ SN:chr18 LN:78077248
    @SQ SN:chr19 LN:59128983
    @SQ SN:chr20 LN:63025520
    @SQ SN:chr21 LN:48129895
    @SQ SN:chr22 LN:51304566
    @SQ SN:chrX LN:155270560
    @SQ SN:chrY LN:59373566
    @SQ SN:chrM LN:16571

    And no error for unifiedgenotyper. Both bam files don't have read group information in the headers, why would unifiedgenotyper complain about the chrM only one?

    Anyone know anything please let me know.

    Thanks
  • lshen
    Member
    • Jan 2008
    • 30

    #2
    Is this related to this: "BWA patch to generate read group"

    http://www.broadinstitute.org/gsa/wi...ate_read_group

    Comment

    • Michael.James.Clark
      Senior Member
      • Apr 2009
      • 207

      #3
      My advice is to use the pre-produced genomes in the gatk_resources.tgz file you can obtain for their site. The program is too finicky if you try using something else in my experience. Also, you do need RG flags for it to work properly regardless. The link Ishen contributed explains how to add them downstream if you didn't add them when you did alignment. Good luck!
      Mendelian Disorder: A blogshare of random useful information for general public consumption. [Blog]
      Breakway: A Program to Identify Structural Variations in Genomic Data [Website] [Forum Post]
      Projects: U87MG whole genome sequence [Website] [Paper]

      Comment

      • SWP
        Member
        • Nov 2010
        • 20

        #4
        Originally posted by lshen View Post
        Is this related to this: "BWA patch to generate read group"

        http://www.broadinstitute.org/gsa/wi...ate_read_group
        Hello-

        I've never used patch before. It told me 9 of 9 hunks (and then in subsequent attempts 7 of 7 hunks) failed. When I tried recompiling I got the following errors:

        make[1]: Entering directory `/home/arup/software/bwa-0.5.8c'
        make[1]: Nothing to be done for `lib'.
        make[1]: Leaving directory `/home/arup/software/bwa-0.5.8c'
        make[1]: Entering directory `/home/arup/software/bwa-0.5.8c/bwt_gen'
        make[1]: Nothing to be done for `lib'.
        make[1]: Leaving directory `/home/arup/software/bwa-0.5.8c/bwt_gen'
        gcc -c -g -Wall -O2 -m64 -DHAVE_PTHREAD bntseq.c -o bntseq.o
        In file included from bntseq.c:32:
        bntseq.h:87: error: conflicting types for ‘read_group_t’
        bntseq.h:74: error: previous declaration of ‘read_group_t’ was here
        bntseq.h:100: error: conflicting types for ‘read_group_t’
        bntseq.h:87: error: previous declaration of ‘read_group_t’ was here
        make: *** [bntseq.o] Error 1

        Any suggestions?

        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
        17 views
        0 reactions
        Last Post SEQadmin2  
        Started by SEQadmin2, Yesterday, 10:48 AM
        0 responses
        18 views
        0 reactions
        Last Post SEQadmin2  
        Started by SEQadmin2, 10-15-2026, 10:52 AM
        0 responses
        36 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...