Unconfigured Ad

Collapse
X
 
  • Time
  • Show
Clear All
new posts
  • slowsmile
    Member
    • May 2011
    • 22

    #1

    mate alignment error when running ValidateSamFile in Picard

    Dear All
    I am trying to identify snps using GATK tool. Their manual suggested that I shall try to validate my bam files before entering the analytic pipeline.

    My samples are 100 nucleotides long (first 3 sites trimmed) paired reads.

    I generated bam files for each sample using tophat 1.33 and I sorted each bam file (one file per sample) using picard ReorderSam.jar,

    After that I added read group information using Picard AddOrReplaceReadGroups.jar.

    Then I ran a ValidateSamFile.jar to check whether these bam files are suitable in GATK pipeline. However, I got a lot of errors like this.

    ERROR: Record 21368, Read name HWI-ST978:1370AHMACXX:5:1308:13890:200017, Mate alignment does not match alignment start of mate
    ERROR: Record 21368, Read name HWI-ST978:1370AHMACXX:5:1308:13890:200017, Mate negative strand flag does not match read negative strand flag of mate
    ERROR: Record 21377, Read name HWI-ST978:1370AHMACXX:5:1308:13890:200017, Mate alignment does not match alignment start of mate
    ERROR: Record 21377, Read name HWI-ST978:1370AHMACXX:5:1308:13890:200017, Mate negative strand flag does not match read negative strand flag of mate
    ERROR: Record 21477, Read name HWI-ST978:1370AHMACXX:5:1306:2629:199972, Mate alignment does not match alignment start of mate
    ERROR: Record 21477, Read name HWI-ST978:1370AHMACXX:5:1306:2629:199972, Mate negative strand flag does not match read negative strand flag of mate
    ERROR: Record 21481, Read name HWI-ST978:1370AHMACXX:5:1306:2629:199972, Mate alignment does not match alignment start of mate
    ERROR: Record 21481, Read name HWI-ST978:1370AHMACXX:5:1306:2629:199972, Mate reference index (MRNM) does not match reference index of mate
    ERROR: Record 21490, Read name HWI-ST978:1370AHMACXX:5:2108:3190:30134, Mate alignment does not match alignment start of mate
    ERROR: Record 21490, Read name HWI-ST978:1370AHMACXX:5:2108:3190:30134, Mate negative strand flag does not match read negative strand flag of mate
    Can anyone tell me where the problem is? Why do I have so many unmatched pairs identified at this step. Should I delete them before the analysis?

    Thanks a lot.
  • gormleymp
    Member
    • Feb 2012
    • 19

    #2
    I am seeing the same errors. Does anyone have any insight into this?

    Comment

    • sciencewu
      Member
      • Dec 2010
      • 12

      #3
      I also encounter this problem, and now I am using the picard/FixMateInformation.jar to fix it, maybe you can try

      Comment

      • tatumdmortimer
        Junior Member
        • Jan 2013
        • 4

        #4
        I am also seeing these errors. I tried using Picard's FixMateInformation, but it did not resolve the errors. They seem to be appearing after I use Picard's MarkDuplicates. Is anyone else having this problem/know how to fix it?

        Comment

        • yeyeming
          Junior Member
          • Nov 2010
          • 7

          #5
          Originally posted by tatumdmortimer View Post
          I am also seeing these errors. I tried using Picard's FixMateInformation, but it did not resolve the errors. They seem to be appearing after I use Picard's MarkDuplicates. Is anyone else having this problem/know how to fix it?
          I ValidateSamFile before MarkDuplicates, these errors still occur.

          Has anyone solved this problem?

          Comment

          • raphael123
            Member
            • Dec 2013
            • 37

            #6
            Same

            I have the exact same problem tat I can't solve ...
            Maybe it have a link but I also have an exception when trying the CollectGcBiasMetrics command

            Code:
            Exception in thread "main" java.lang.ArrayIndexOutOfBoundsException: 142549452
            	at net.sf.picard.analysis.CollectGcBiasMetrics.doWork(CollectGcBiasMetrics.java:152)
            	at net.sf.picard.cmdline.CommandLineProgram.instanceMain(CommandLineProgram.java:179)
            	at net.sf.picard.analysis.CollectGcBiasMetrics.main(CollectGcBiasMetrics.java:95)

            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-22-2026, 11:13 AM
            0 responses
            27 views
            0 reactions
            Last Post SEQadmin2  
            Started by SEQadmin2, 10-22-2026, 10:48 AM
            0 responses
            20 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
            43 views
            0 reactions
            Last Post SEQadmin2  
            Working...