Unconfigured Ad

Collapse
X
 
  • Time
  • Show
Clear All
new posts
  • Sam64
    Member
    • Jun 2011
    • 15

    #1

    BWA aln _ option for number of mismatch ???

    Hi,
    What is the option which allows to select the number of mismatch accepted in a read? Please, anybody could help me by giving an example ?
    Regards,
    Sam64
  • cjp
    Member
    • Jun 2011
    • 58

    #2
    Maybe you can only do it in the seeded alignment.


    % bwa aln

    Usage: bwa aln [options] <prefix> <in.fq>

    Options: -n NUM max #diff (int) or missing prob under 0.02 err rate (float) [0.04]
    -o INT maximum number or fraction of gap opens [1]
    -e INT maximum number of gap extensions, -1 for disabling long gaps [-1]
    -i INT do not put an indel within INT bp towards the ends [5]
    -d INT maximum occurrences for extending a long deletion [10]
    -l INT seed length [32]
    -k INT maximum differences in the seed [2]
    -m INT maximum entries in the queue [2000000]
    -t INT number of threads [1]
    -M INT mismatch penalty [3]
    -O INT gap open penalty [11]
    -E INT gap extension penalty [4]
    -R INT stop searching when there are >INT equally best hits [30]
    -q INT quality threshold for read trimming down to 35bp [0]
    -c input sequences are in the color space
    -L log-scaled gap penalty for long deletions
    -N non-iterative mode: search for all n-difference hits (slooow)
    -f FILE file to write output to instead of stdout

    The -n option maybe what you want here - if you set it to an integer.

    Also:

    -k is for the number of mis-matches in the seed alignment and -l is for the length of the seed alignment, - so maybe you can change -l to the length of your read and -k to whatever you want. Otherwise try lowering -M to get less of a penalty for mis-matches.

    Chris

    Comment

    • Sam64
      Member
      • Jun 2011
      • 15

      #3
      Thank you for your post
      It helped me a lot

      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...
        Today, 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
      22 views
      0 reactions
      Last Post SEQadmin2  
      Started by SEQadmin2, 10-28-2026, 09:51 AM
      0 responses
      14 views
      0 reactions
      Last Post SEQadmin2  
      Started by SEQadmin2, 10-22-2026, 11:13 AM
      0 responses
      67 views
      0 reactions
      Last Post SEQadmin2  
      Started by SEQadmin2, 10-22-2026, 10:48 AM
      0 responses
      47 views
      0 reactions
      Last Post SEQadmin2  
      Working...