Seqanswers Leaderboard Ad

Collapse

Announcement

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

  • BBDuk primer trimming on MiSeq 16S data_primers with deletion errors not trimmed

    Hi,

    I am trying to figure out the best way to trim primers from MiSeq 16S amplicon data with BBduk. I have already filtered phix and trimmed adapters when the fastq file was interleaved. Then I deinterleaved the file and trimmed primers. My basic approach is below. This script is for trimming 515F from the forward reads, and i have a similar approach to trimming 806R from the reverse reads.

    bbduk.sh in=SingleFileTest/Deinterleaved_reads/forward_reads.fastq
    out=SingleFileTest/BBDUKPrimerTrim/forward_reads_PrimerTrimmed.fastq
    literal=GTGCCAGCMGCCGCGGTAA ktrim=l hdist=2 k=19

    However, after running this, not all sequences in a file are trimmed. For example, I did this on a fastq file containing data from a single sample; it started with 107179 forward reads, clipped 515F from 104227 reads, and then the resulting file has all 107179 reads with most but not all clipped. I managed to figure out how to isolate some of the unclipped reads from the resulting fastq and it seems that primers on reads that were not clipped tended to have a missing base in their middles. For example, instead of the primer being "GTGCCAGCMGCCGCGGTAA", it was "GTGCCAGCGCCGCGGTAA" and another was "GTGCCGCAGCCGCGGTAA". Here they are aligned just to make the issue more clear.


    GTGCCAGCMGCCGCGGTAA
    GTGCCAGC GCCGCGGTAA
    GTGCC GCAGCCGCGGTAA


    I guess it is also possible that there could be primers with extra bases that are also not trimmed, although I have not found any of these yet. Does anyone have any thoughts on how to make sure the clipping catches all these primers with errors, also? I figured out a way to filter the sequences with the remaining primer errors out of the files that all the correct primers were trimmed from. However, that makes it so the matching pair of deinterlieved files has different numbers of relsulting sequences, which is obviously a problem when joining reads. Any help would be greatly appreciated. Also, is there an approach to primer trimming that could be done prior to deinterleaving that I am somehow spacing out on?

    Thanks for the help
    Last edited by PeatMaster; 04-11-2016, 10:09 AM.

  • #2
    Any input?

    Hi, I'm curious if anyone has any input on the post I made a couple weeks ago. I would be grateful for some advice.

    To clarify my main questions:

    1) What is the best way to remove primers using BBDuk

    2) How can I deal with primer sequences sometimes missing a base? My current method does not catch these. Should they just be thrown out because they are likely errors?

    Thanks

    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
    13 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
    53 views
    0 likes
    Last Post seqadmin  
    Started by seqadmin, 03-21-2024, 07:32 AM
    0 responses
    69 views
    0 likes
    Last Post seqadmin  
    Working...
    X