Seqanswers Leaderboard Ad

Collapse

Announcement

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

  • MarkDuplicates in picard

    Hello all,

    What's the metrics file output from Markduplicates function in picard?

    Can I get how many reads marked as duplicates in this file?


    Thanks

  • #2
    Yes it tells you the number of reads that have been marked as duplicates, as well as the total number of reads. But note that reads that Picard marks as duplicates do not necessarily have identical sequence they just map to the same chromosomal location.

    Comment


    • #3
      Originally posted by mard View Post
      Yes it tells you the number of reads that have been marked as duplicates, as well as the total number of reads. But note that reads that Picard marks as duplicates do not necessarily have identical sequence they just map to the same chromosomal location.
      Thanks. How to pick up the duplicates to remove? keep the best alignment one if they do not have identical sequences?

      Here is what I got from picard :


      ## METRICS CLASS net.sf.picard.sam.DuplicationMetrics
      LIBRARY UNPAIRED_READS_EXAMINED READ_PAIRS_EXAMINED UNMAPPED_READS UNPAIRED_READ_DUPLICATES READ_PAIR_DUPLICATES READ_
      PAIR_OPTICAL_DUPLICATES PERCENT_DUPLICATION ESTIMATED_LIBRARY_SIZE
      Unknown Library 27221401 548559917 190908169 14563968 58165860 0 0.11642 2400441897

      ## HISTOGRAM java.lang.Double
      BIN VALUE
      1.0 1
      2.0 1.795707
      3.0 2.428856
      4.0 2.932657
      5.0 3.333535
      6.0 3.652516
      7.0 3.906332
      8.0 4.108295

      What is this histogram about?

      My original bam file has 657624702 paired reads, so 2*657624702 in total. After remove duplicates, bam file has 1184353716 reads in total. So suppose,
      2*657624702 - 1184353716 = 130895688 reads removed.

      I couldn't get this number from picard output M file, any help?

      Thanks

      Comment


      • #4
        The reason for the histogram is one of the FAQ on their wiki.
        Download picard for free. A set of tools for working with high-throughput sequencing data. A set of tools (in Java) for working with next generation sequencing data in the SAM/BAM format. Note that development has moved to GitHub at https://github.com/broadinstitute/picard and support is available on the GATK forum at http://gatkforums.broadinstitute.org/categories/ask-the-team


        The reason that you couldn't get that number is because for read pair duplicates, they divide the actual number of duplicates in half before reporting it. So in your case, 2 * 58165860 (value under paired_read_duplicates) = 130895688, which was the number of duplicates you were missing. =)

        Comment

        Latest Articles

        Collapse

        • seqadmin
          Best Practices for Single-Cell Sequencing Analysis
          by seqadmin



          While isolating and preparing single cells for sequencing was historically the bottleneck, recent technological advancements have shifted the challenge to data analysis. This highlights the rapidly evolving nature of single-cell sequencing. The inherent complexity of single-cell analysis has intensified with the surge in data volume and the incorporation of diverse and more complex datasets. This article explores the challenges in analysis, examines common pitfalls, offers...
          Today, 07:15 AM
        • seqadmin
          Latest Developments in Precision Medicine
          by seqadmin



          Technological advances have led to drastic improvements in the field of precision medicine, enabling more personalized approaches to treatment. This article explores four leading groups that are overcoming many of the challenges of genomic profiling and precision medicine through their innovative platforms and technologies.

          Somatic Genomics
          “We have such a tremendous amount of genetic diversity that exists within each of us, and not just between us as individuals,”...
          05-24-2024, 01:16 PM

        ad_right_rmr

        Collapse

        News

        Collapse

        Topics Statistics Last Post
        Started by seqadmin, Today, 08:18 AM
        0 responses
        8 views
        0 likes
        Last Post seqadmin  
        Started by seqadmin, Today, 08:04 AM
        0 responses
        10 views
        0 likes
        Last Post seqadmin  
        Started by seqadmin, 06-03-2024, 06:55 AM
        0 responses
        13 views
        0 likes
        Last Post seqadmin  
        Started by seqadmin, 05-30-2024, 03:16 PM
        0 responses
        27 views
        0 likes
        Last Post seqadmin  
        Working...
        X