Seqanswers Leaderboard Ad

Collapse

Announcement

Collapse
No announcement yet.
X
 
  • Filter
  • Time
  • Show
Clear All
new posts

  • SAM validation errors

    Hi,

    I need some help understanding these errors when I use picard to validate a SAM/BAM file:


    $java -jar picard-tools-1.50/ValidateSamFile.jar I=somebam.bam
    ERROR: Read groups is empty
    ERROR: Record 38, Read name V15-13:3:73:1694:1074, CIGAR should have zero elements for unmapped read.
    ERROR: Record 37, Read name V15-13:3:73:1694:1074, Mate negative strand flag does not match read negative strand flag of mate

    What does this error mean? I understand why an unmapped read should have zero elements in the CIGAR string, but reads at records 37 and 38 seem to be mapped. Can someone help me understand this error? These are the corresponding records from the SAM file:

    V15-13:3:73:1694:1074 89 chr1 325709 0 69S46M = 325709 0 GTGGCTGACTATGGAAGCCCAAGTCTTCCTCAAATCCGGCTTTTGCCCAACTTCTGACTACTGTCGGACTCTACAGGTCAGCCTCTGCCTCACAGTGGACCCTCCAGACCCAGAT ######################################################################CA,ECEA<EC>AA+BAABB+EC4EGGGGDD<D8BFGDDGGGGGEG XC:i:46 XT:A:R NM:i:0 SM:i:0 AM:i:0 X0:i:5 X1:i:13 XM:i:0 XO:i:0 XG:i:0 MD:Z:46

    V15-13:3:73:1694:1074 181 chr1 325709 0 58M57S = 325709 0 TTCTGGCAGGAGGACTTTTGGCGCCGACATTGGCCGCCAGGCGCTAGACAGGCCCTGGGCCAAAAAAGGCTGTTGTTAGGCAGCGGTTGTGCCGGTGGCCCCAGCCAAGAGGAAG ##########################################################??37B<?35991*9773,+>8@=7>228?B,B775''=-B,BDDGG?EB:F=?@BEE XC:i:58

    Thanks!
    -- Ashwatha.

  • #2
    READ: V15-13:3:73:1694:1074
    FLAG: 89
    (read paired, mate unmapped, read reverse strand, first in pair)



    RNAME: chr1

    MRNM: = (? that should not be)

    READ: V15-13:3:73:1694:1074 (mate)
    FLAG: 181
    (read paired, read unmapped, read reverse strand, mate reverse strand, second in pair)

    RNAME: chr1 (? but this read in not mapped)


    you can fix them using FixMateInformation of Picard, otherwise use VALIDATION_STRINGENCY=SILENT

    Comment


    • #3
      Thank you for the help.

      Comment

      Latest Articles

      Collapse

      • seqadmin
        Strategies for Sequencing Challenging Samples
        by seqadmin


        Despite advancements in sequencing platforms and related sample preparation technologies, certain sample types continue to present significant challenges that can compromise sequencing results. Pedro Echave, Senior Manager of the Global Business Segment at Revvity, explained that the success of a sequencing experiment ultimately depends on the amount and integrity of the nucleic acid template (RNA or DNA) obtained from a sample. “The better the quality of the nucleic acid isolated...
        03-22-2024, 06:39 AM
      • seqadmin
        Techniques and Challenges in Conservation Genomics
        by seqadmin



        The field of conservation genomics centers on applying genomics technologies in support of conservation efforts and the preservation of biodiversity. This article features interviews with two researchers who showcase their innovative work and highlight the current state and future of conservation genomics.

        Avian Conservation
        Matthew DeSaix, a recent doctoral graduate from Kristen Ruegg’s lab at The University of Colorado, shared that most of his research...
        03-08-2024, 10:41 AM

      ad_right_rmr

      Collapse

      News

      Collapse

      Topics Statistics Last Post
      Started by seqadmin, 03-27-2024, 06:37 PM
      0 responses
      12 views
      0 likes
      Last Post seqadmin  
      Started by seqadmin, 03-27-2024, 06:07 PM
      0 responses
      11 views
      0 likes
      Last Post seqadmin  
      Started by seqadmin, 03-22-2024, 10:03 AM
      0 responses
      52 views
      0 likes
      Last Post seqadmin  
      Started by seqadmin, 03-21-2024, 07:32 AM
      0 responses
      68 views
      0 likes
      Last Post seqadmin  
      Working...
      X