Unconfigured Ad

Collapse
X
 
  • Filter
  • Time
  • Show
Clear All
new posts
  • amsci8
    Junior Member
    • Jun 2012
    • 3

    Mark duplicates after fastq trimming?

    Hello!
    I am fairly new to bioinformatics and have a question about using Picard Mark Duplicates after trimming Illumina sequence reads.

    (I could not find the exact answer to my question, but I apologize if this a repeat question. Also, I originally posted this question as a reply to a really old thread (linked below), but thought perhaps it was more appropriate/helpful to start a new thread. I could not figure out how to delete my original post.)

    I am using Trimmomatic to trim low quality bases and adapters from paired end whole genome DNA re-sequencing data (fastq files). I am aligning this data to a reference and will ultimately use the GATK to call snps.

    My question is: Does anyone know how Picard Mark Duplicates knows which bases were trimmed from a read? If you trim bases from the 5' end of the read, how does Picard know that? Hoes does it know what the original 5' mapping position would have been, and thus which reads are potentially pcr duplicates? See link and quoted comment from user xguo below.

    Thank you!
    Amanda


    Originally Posted by xguo on this old thread:
    Discussion of next-gen sequencing related bioinformatics: resources, algorithms, open source efforts, etc


    " The following is what I found from samtools-help list:

    "Essentially what Picard does (for pairs; single-end data is also handled) is to find the 5' coordinates and mapping orientations of each read pair. When doing this it takes into account all clipping that has taking place as well as any gaps or jumps in the alignment. You can thus think of it as determining "if all the bases from the read were aligned, where would the 5' most base
    have been aligned". It then matches all read pairs that have identical 5' coordinates and orientations and marks as duplicates all but the "best" pair. "Best" is defined as the read pair having the highest sum of base qualities as bases with Q >= 15." "
  • jflowers
    Member
    • Oct 2011
    • 42

    #2
    If you conduct trimming at the fastq stage, then MarkDuplicates may not identify duplicates because the end coordinates of mapped duplicate read pairs may no longer match.

    It appears that the GATK team no longer recommends read-trimming and considers it a "legacy practice":

    Comment

    Latest Articles

    Collapse

    • 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
    • SEQadmin2
      Nine Things a Sample Prep Scientist Thinks About Before Sequencing
      by SEQadmin2


      I’m not a sequencing expert. I’m a purification scientist who uses NGS to evaluate workflows my group develops. With this perspective, we think about the sample first and the NGS workflow second. The sequencer is an exceptionally honest reporter, but it can only report on what you give it, so whether you get clean, interpretable data from an NGS workflow is largely determined before you begin.

      Here are nine questions we think about, in roughly the order they matter, before...
      06-18-2026, 07:11 AM

    ad_right_rmr

    Collapse

    News

    Collapse

    Topics Statistics Last Post
    Started by SEQadmin2, 07-02-2026, 11:08 AM
    0 responses
    9 views
    0 reactions
    Last Post SEQadmin2  
    Started by SEQadmin2, 06-30-2026, 05:37 AM
    0 responses
    13 views
    0 reactions
    Last Post SEQadmin2  
    Started by SEQadmin2, 06-26-2026, 11:10 AM
    0 responses
    20 views
    0 reactions
    Last Post SEQadmin2  
    Started by SEQadmin2, 06-17-2026, 06:09 AM
    0 responses
    54 views
    0 reactions
    Last Post SEQadmin2  
    Working...