Unconfigured Ad

Collapse
X
 
  • Time
  • Show
Clear All
new posts
  • sschavan
    Junior Member
    • Oct 2012
    • 7

    #16
    Hello Brian,

    Thank you for the detailed explanation, I appreciate your response.

    I was wondering if I can set BBSplit to allow (a) maximum one mismatch and (b) 0 mismatch. If I could set it in this way probably I could use it to separate Mouse and Human reads, at a high stringency level, to start with.

    About the error in filterbyname.sh, the result output (OnlyHumReads_BBv4.sam) was an incomplete file with only two header lines, presumably its truncated output. I am re-running it with -da flag, I will update if that worked for me.

    Thanks,
    SSC

    Comment

    • Brian Bushnell
      Super Moderator
      • Jan 2014
      • 2709

      #17
      BBSplit supports all the flags supported by BBMap, including these:

      Code:
      idfilter=0              Independant of minid; sets exact minimum identity 
                              allowed for alignments to be printed.  Range 0 to 1.
      subfilter=-1            Ban alignments with more than this many substitutions.
      insfilter=-1            Ban alignments with more than this many insertions.
      delfilter=-1            Ban alignments with more than this many deletions.
      indelfilter=-1          Ban alignments with more than this many indels.
      editfilter=-1           Ban alignments with more than this many edits.
      inslenfilter=-1         Ban alignments with an insertion longer than this.
      dellenfilter=-1         Ban alignments with a deletion longer than this.
      Those are postfiltering operations - they take place after alignment, after ambiguity was decided, etc. and just suppress alignments failing the filters.

      You can alternately map with the "semiperfectmode" flag, which will only allow alignments in which there are no mismatches or indels (this is different from "perfectmode" in that semiperfectmode allows a read to go off the end of a contig; perfectmode requires all bases to match the reference). Or, you could use the flag "minid=0.99" which will require 99% identity. These latter options are faster than mapping at default sensitivity, then imposing a specific filter.
      Last edited by Brian Bushnell; 06-15-2015, 12:07 PM.

      Comment

      • sschavan
        Junior Member
        • Oct 2012
        • 7

        #18
        Thank you Brian, this information certainly helps. I will try it out.

        SSC

        Comment

        Latest Articles

        Collapse

        • SEQadmin2
          16S/ITS Profiling vs. Shotgun Metagenomics: What Changes in Your Workflow?
          by SEQadmin2




          NGS has revolutionized clinical microbiology by offering new ways to identify and surveil pathogens without prior knowledge of the target. One popular approach is 16S rRNA and ITS amplicon sequencing, which targets specific microbial markers. But studies are increasingly incorporating shotgun metagenomics, a technique that sequences all DNA from a sample without targeting specific microbial markers. This approach allows more detailed taxonomic classification, detection...
          Yesterday, 06:46 AM
        • SEQadmin2
          Multiomic Liquid Biopsy: What DNA/RNA Panels Reveal That DNA Alone Can’t
          by SEQadmin2



          Tumors contain complex mixtures of cell populations that evolve in response to treatment and host-specific factors. Tissue biopsies provide only static snapshots of a tumor’s state. But what if we could follow that evolution over time using a minimally invasive technique?

          Liquid biopsies can detect tumor-derived material circulating in the bloodstream, providing a way to study treatment response, detect emerging resistance, and discover new biomarkers. Circulating
          ...
          10-14-2026, 09:55 AM

        ad_right_rmr

        Collapse

        News

        Collapse

        Topics Statistics Last Post
        Started by SEQadmin2, 10-28-2026, 09:57 AM
        0 responses
        30 views
        0 reactions
        Last Post SEQadmin2  
        Started by SEQadmin2, 10-28-2026, 09:51 AM
        0 responses
        21 views
        0 reactions
        Last Post SEQadmin2  
        Started by SEQadmin2, 10-22-2026, 11:13 AM
        0 responses
        71 views
        0 reactions
        Last Post SEQadmin2  
        Started by SEQadmin2, 10-22-2026, 10:48 AM
        0 responses
        48 views
        0 reactions
        Last Post SEQadmin2  
        Working...