Unconfigured Ad

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

    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
              Advanced Sequencing Platforms Tackle Neuroscience’s Toughest Genomics Problems
              by SEQadmin2



              Genomics studies in neuroscience face a special challenge due to the brain’s complexity and scarcity of samples. Mapping changes in cell type and state using conventional next-generation sequencing methods remains challenging. Advances in technologies like single-cell sequencing, spatial transcriptomics, and long-read sequencing have opened the door to deeper studies of the brain and diseases like Alzheimer’s, amyotrophic lateral sclerosis (ALS), and schizophrenia.
              ...
              07-09-2026, 11:10 AM
            • SEQadmin2
              Cancer Drug Resistance: The Lingering Barrier to Rising Survival
              by SEQadmin2



              Cancer survival rates have significantly increased in the last few decades in the United States, reaching a combined 70% 5-year survival rate by 2021. Behind this number, there are years of research to find new therapies, drug targets, and early detection methods. But there is one core challenge that keeps slowing down these advances, and it’s about drug resistance.

              There is no single reason why many patients don’t respond to treatment as expected. Cancer is...
              07-08-2026, 05:17 AM
            • GATTACAT
              Reply to Nine Things a Sample Prep Scientist Thinks About Before Sequencing
              by GATTACAT
              Love this - good data definitely starts from good input, and poor input can only give relatively poor data. I particularly like the mention of Nanodrop/absorbance based methods for quantification. It's such a toss up if you'll get an accurate reading or what amounts to a randomly generated number, and a lot of library/sequencing related issues can be traced back to poor quant.
              07-01-2026, 11:43 AM

            ad_right_rmr

            Collapse

            News

            Collapse

            Topics Statistics Last Post
            Started by SEQadmin2, 07-13-2026, 10:26 AM
            0 responses
            25 views
            0 reactions
            Last Post SEQadmin2  
            Started by SEQadmin2, 07-09-2026, 10:04 AM
            0 responses
            35 views
            0 reactions
            Last Post SEQadmin2  
            Started by SEQadmin2, 07-08-2026, 10:08 AM
            0 responses
            22 views
            0 reactions
            Last Post SEQadmin2  
            Started by SEQadmin2, 07-07-2026, 11:05 AM
            0 responses
            34 views
            0 reactions
            Last Post SEQadmin2  
            Working...