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
          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
        • SEQadmin2
          New Genomics Technologies Take Aim at Long-Standing Limits
          by SEQadmin2


          Researchers using sequencing and genomics tools often have to make trade-offs. They can choose between speed or scale, short reads or long-range information, or targeted panels or a view of the whole transcriptome. New technologies that have been released this year are built to address those tough choices.

          We asked six companies the same four questions to learn about their latest products. The new technologies bring a lot to the table, including rethinking sequencing
          ...
          09-28-2026, 10:25 AM

        ad_right_rmr

        Collapse

        News

        Collapse

        Topics Statistics Last Post
        Started by SEQadmin2, 10-22-2026, 11:13 AM
        0 responses
        43 views
        0 reactions
        Last Post SEQadmin2  
        Started by SEQadmin2, 10-22-2026, 10:48 AM
        0 responses
        33 views
        0 reactions
        Last Post SEQadmin2  
        Started by SEQadmin2, 10-15-2026, 10:52 AM
        0 responses
        44 views
        0 reactions
        Last Post SEQadmin2  
        Started by SEQadmin2, 10-14-2026, 05:39 AM
        0 responses
        45 views
        0 reactions
        Last Post SEQadmin2  
        Working...