Seqanswers Leaderboard Ad

Collapse

Announcement

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

  • count duplicates in bam files

    Hi,

    I would like to count duplicates in bam files. I am comparing two mapping tools and looking at the total counts. Typically, it should be the same
    value. My assumption is that BWA mem counts duplicates.

    What I did:

    1) convert sam -> bam file
    2) sort bam file
    3) use the Picard tool MarkDuplicates.jar
    4) use the BuildBamIndex.jar

    Mapped Reads (CLC) 6,876,285
    Mapped Reads (BWA) 6,375,889
    Unmapped Reads (CLC) 231,927
    Unmapped Reads (BWA) 7,367,30
    Total count (CLC) 7,108,212
    Total count (BWA) 7,112,619

    What would be the next step ? I ve tried to use the .bai files ... but do they have information about the number of duplicates ?

    Do you have any suggestions ?

    Best,
    Flo

  • #2
    If you are just looking to get the total number of duplicates you could run Qualimap on your bam files. You will get all sorts of additional info as well.

    This thread has some other suggestions: http://seqanswers.com/forums/showthread.php?t=23493

    Comment


    • #3
      Doesn't the metrics file produced by MarkDuplicates.jar already contain the information the duplicate counts?

      Comment


      • #4
        Doh! A file name is required for Metrics file so @Flo89 must have provided it when running MarkDuplicates.

        Comment


        • #5
          Hi guys,

          Thank you very much. I am not familiar with this mapping stuff. So, I guess it was an easy question for you guys.

          Best,
          Flo

          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, Yesterday, 11:49 AM
          0 responses
          15 views
          0 likes
          Last Post seqadmin  
          Started by seqadmin, 04-24-2024, 08:47 AM
          0 responses
          16 views
          0 likes
          Last Post seqadmin  
          Started by seqadmin, 04-11-2024, 12:08 PM
          0 responses
          62 views
          0 likes
          Last Post seqadmin  
          Started by seqadmin, 04-10-2024, 10:19 PM
          0 responses
          60 views
          0 likes
          Last Post seqadmin  
          Working...
          X