Unconfigured Ad

Collapse
X
 
  • Filter
  • Time
  • Show
Clear All
new posts
  • mingkunli
    Member
    • Jan 2009
    • 42

    output all possible match using bwa

    I am moving from bowtie to bwa, as bwa considers gap while doing mapping.
    But i don't know how to get all the possible hits for a single read on the reference genome(besides the perfect one), like using -a with bowtie. I tried -N, but it does't work. Although X1 in the sam file can give me the number of suboptimal hits, I need the details of the hit like the optimal one.
    Anyone can give me some clue, if bwa can't do this, what else can?

    ok, I got the result myself, after .sai, using bwa samse -n INT to display maximum n match for each read
    Last edited by mingkunli; 09-04-2009, 07:16 AM.
  • nilshomer
    Nils Homer
    • Nov 2008
    • 1283

    #2
    Originally posted by mingkunli View Post
    I am moving from bowtie to bwa, as bwa considers gap while doing mapping.
    But i don't know how to get all the possible hits for a single read on the reference genome(besides the perfect one), like using -a with bowtie. I tried -N, but it does't work. Although X1 in the sam file can give me the number of suboptimal hits, I need the details of the hit like the optimal one.
    Anyone can give me some clue, if bwa can't do this, what else can?

    ok, I got the result myself, after .sai, using bwa samse -n INT to display maximum n match for each read
    I think you are looking for the -e option. Set this to the maximum length indel you want detect. My experience shows BWA has difficulty with longer indels (>10bp).

    A solution to the indel problem as well as getting "all hits" is to use BFAST, admittedly my own software. I feel like I am doing a lot of self-promotion of late but I guess it is because I am passionate about my solution.

    Nils

    Comment

    • mingkunli
      Member
      • Jan 2009
      • 42

      #3
      :)
      Thanks for reminding me of the -e option. I will try your BFAST if longer than 10bp indels are expected in my reads.

      Comment

      Latest Articles

      Collapse

      ad_right_rmr

      Collapse

      News

      Collapse

      Topics Statistics Last Post
      Started by SEQadmin2, Today, 10:09 AM
      0 responses
      9 views
      0 reactions
      Last Post SEQadmin2  
      Started by SEQadmin2, Yesterday, 08:59 AM
      0 responses
      16 views
      0 reactions
      Last Post SEQadmin2  
      Started by SEQadmin2, 06-02-2026, 12:03 PM
      0 responses
      24 views
      0 reactions
      Last Post SEQadmin2  
      Started by SEQadmin2, 06-02-2026, 11:40 AM
      0 responses
      20 views
      0 reactions
      Last Post SEQadmin2  
      Working...