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
        Essential Discoveries and Tools in Epitranscriptomics
        by seqadmin




        The field of epigenetics has traditionally concentrated more on DNA and how changes like methylation and phosphorylation of histones impact gene expression and regulation. However, our increased understanding of RNA modifications and their importance in cellular processes has led to a rise in epitranscriptomics research. “Epitranscriptomics brings together the concepts of epigenetics and gene expression,” explained Adrien Leger, PhD, Principal Research Scientist...
        04-22-2024, 07:01 AM
      • seqadmin
        Current Approaches to Protein Sequencing
        by seqadmin


        Proteins are often described as the workhorses of the cell, and identifying their sequences is key to understanding their role in biological processes and disease. Currently, the most common technique used to determine protein sequences is mass spectrometry. While still a valuable tool, mass spectrometry faces several limitations and requires a highly experienced scientist familiar with the equipment to operate it. Additionally, other proteomic methods, like affinity assays, are constrained...
        04-04-2024, 04:25 PM

      ad_right_rmr

      Collapse

      News

      Collapse

      Topics Statistics Last Post
      Started by seqadmin, 04-11-2024, 12:08 PM
      0 responses
      59 views
      0 likes
      Last Post seqadmin  
      Started by seqadmin, 04-10-2024, 10:19 PM
      0 responses
      57 views
      0 likes
      Last Post seqadmin  
      Started by seqadmin, 04-10-2024, 09:21 AM
      0 responses
      53 views
      0 likes
      Last Post seqadmin  
      Started by seqadmin, 04-04-2024, 09:00 AM
      0 responses
      56 views
      0 likes
      Last Post seqadmin  
      Working...
      X