Unconfigured Ad

Collapse
X
 
  • Time
  • Show
Clear All
new posts
  • gumbos
    Junior Member
    • Feb 2011
    • 6

    #1

    GATK IndelRealigner error, badly formed genome loc: unknown contig chrM.

    The original fasta file used to generate the alignments has the correct label of >ChrM. When I check the header of the input BAM I find the chrM @SQ line.

    What could cause this?
  • shyam_la
    Member
    • Mar 2012
    • 97

    #2
    Originally posted by gumbos View Post
    The original fasta file used to generate the alignments has the correct label of >ChrM. When I check the header of the input BAM I find the chrM @SQ line.

    What could cause this?
    You really need to provide more info..

    Comment

    • gumbos
      Junior Member
      • Feb 2011
      • 6

      #3
      What more info can I provide? I am trying to run the GATK pipeline following the best practices page. I have generated a SAM using the newest bowtie2 beta. I convert that SAM to a BAM, sort it, index it, then run RealignerTargetCreator, which finishes successfully. I use the intervals file and the same BAM to run IndelRealigner, which runs fine until the very end when it hits chrM, and reports that error.

      INFO 15:50:36,054 TraversalEngine - chr9:55145149 4.13e+07 69.1 m 100.3 s 99.8% 69.2 m 9.1 s
      ......
      ##### ERROR MESSAGE: Badly formed genome loc: Parameters to GenomeLocParser are incorrect:Unknown contig chrM

      So I went back and made sure that the fasta used for the alignment had the correct label, which it does. I checked the SAM file and the @SQ header has chrM, and I checked for some alignments and found chrM in the 3rd position. I checked for the presence of chrMt, as ensembl sometimes does it, anywhere in the SAM and did not find it.

      Comment

      • shyam_la
        Member
        • Mar 2012
        • 97

        #4
        Are you using the same fasta that you used for alignment for the indel realigner? I know it kind of sounds stupid to ask, but everything else seems fine..
        By the way, ensembl "always" does MT. You must be using UCSC references..

        Comment

        • gumbos
          Junior Member
          • Feb 2011
          • 6

          #5
          I am fairly sure I am using the correct reference fasta because it was all done via a shell script. As a test, I went back and took chrM out of the fasta, and it worked. However, I am now stuck on the CountCovariates step. Before I make another post, maybe you know:

          My reference VCF comes from converting the ensembl GVF to VCF with gvf2vcf. I then get the error "The provided VCF file is malformed at approximately line number 4: Empty alleles are not permitted in VCF records". I noticed referring to the table at http://vcftools.sourceforge.net/VCF-poster.pdf that my VCF does not contain the format, sample1 or sample2 columns. Are these required? If so, do you know of where I can get a proper Zebrafish dbSNP VCF? UCSC doesn't have one as far as I can tell, and the dbSNP ftp files do not come in VCF format as far as I can tell.

          Comment

          • alyza
            Junior Member
            • Oct 2012
            • 1

            #6
            I got the same message when I ran the IndelRealigner but my reference file does not include chrM. I then ran the UnifiedGenotyper anyways. Is my vcf file OK even though it gave an error that my file is truncated or corrupt?

            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, 10-15-2026, 10:52 AM
            0 responses
            27 views
            0 reactions
            Last Post SEQadmin2  
            Started by SEQadmin2, 10-14-2026, 05:39 AM
            0 responses
            34 views
            0 reactions
            Last Post SEQadmin2  
            Started by SEQadmin2, 10-13-2026, 09:56 AM
            0 responses
            31 views
            0 reactions
            Last Post SEQadmin2  
            Started by SEQadmin2, 10-09-2026, 11:14 AM
            0 responses
            28 views
            0 reactions
            Last Post SEQadmin2  
            Working...