Seqanswers Leaderboard Ad

Collapse

Announcement

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

  • bbmerge mismatched

    Hi,
    While merging 16S pair-ended miseq data (2x250) i would like to disable ambiguous bases. BBmerge documentation states the following "When there is a mismatch, the base chosen is the one with the higher quality value, or N if they are equal". I have at most 1000 sequences in this case out 80000 that are assigned an "N" so i will like to remove those.

    I´m just wondering if it is possible with bbmerge to discard reads that fall into this category so i don´t get ambiguous bases, neither i want to choose between one base or the other, simply discard merged reads with N.
    Note that my R1 and R2 reads do not contain ambiguous bases as i have cleaned them before merging.

    Thanks,

  • #2
    Why not discard the reads after merging. Using the BBTools 'reformat.sh' program the option 'maxns=0' should do what you want.

    Comment


    • #3
      Originally posted by westerman View Post
      Why not discard the reads after merging. Using the BBTools 'reformat.sh' program the option 'maxns=0' should do what you want.
      +1

      N's after merging are a special case, though, since they only encompass reads that had differing bases with the exact same quality value. If you want to be really strict, you could set "maxratio=0" to forbid any merges in which any bases differ. I'm not sure if that would ever be a good idea, though. To adjust stringency, I recommend using the presets "vloose, loose, default, strict, vstrict" which are more robust in my testing than modifying any individual variable.

      Comment


      • #4
        thanks for the tips

        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