Seqanswers Leaderboard Ad

Collapse

Announcement

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

  • BWA and screening illumina reads for contaminant

    I'm trying to hash out a set of parameters for bwa that I can use to screen illumina 75mer & 100mer reads for contaminant. I'm expecting a large volume of environmental data, and I want to clean the incoming data by filtering out certain organisms.

    I'm worried that the default parameters for bwa may prove too stringent. But I'm not sure which parameters to relax without introducing too many false positives into my results.

    I have a set of data spiked with contaminant to use for testing, but I don't really know where to start. The bwa man page says setting an INT value for '-n' sets the "maximum edit distance", and that seems to set the max number of mismatches allowed. And I can watch results shift as I vary that number, and in most cases it seems to make sense. But that seems at odds with the arguments '-k' & '-l' with are supposed to set the seedlength (which is by default 'inf' which I guess implies the full length of my query), and the max "edit distance" (mismatches?) in the seed (default is 2). But I can vary the '-n' value and allow more than 2 mismatches even though I'm using the default settings for '-k' & '-l' (which should kill the read if there are more than 2 mismatches?)

    Is there any more detailed discussion of parameter suggestions for real world problems? I'm pretty old school, and BLAST had that wonderful oreilly blast book that had a number of examples that gave you a starting point for different tasks, then I could tweak values from there. But I feel kinda lost with BWA. Can anyone suggest another resource beyond the man page & the bwt paper that might help me out?

  • #2
    I am not familiar with metagenomics analysis, but probably you would like to try "bwa bwasw" if you think "bwa aln" is too stringent. Bwasw simply gives you high-scoring local hits (kind of like blast/ssaha2) rather than require the full read to be aligned (bwa aln requires this). I do not know if this meets your goal. BTW, be aware that the total length of your database sequence must smaller than 4GB. If you want to align against the nt database, split it first.

    Comment


    • #3
      I have the same question:
      I guess in BWA input, "-l 25 -k 2" means that if there are more than 2 mismatches (or differences from the reference sequence) in the first 25 base (called seed?) of a read, the read will be considered as failed to map.

      Dr. Liheng, is this right?
      Last edited by nilshomer; 04-22-2010, 06:52 PM.

      Comment


      • #4
        Originally posted by jmartin View Post
        I'm trying to hash out a set of parameters for bwa that I can use to screen illumina 75mer & 100mer reads for contaminant. I'm expecting a large volume of environmental data, and I want to clean the incoming data by filtering out certain organisms.

        I'm worried that the default parameters for bwa may prove too stringent. But I'm not sure which parameters to relax without introducing too many false positives into my results.

        I have a set of data spiked with contaminant to use for testing, but I don't really know where to start. The bwa man page says setting an INT value for '-n' sets the "maximum edit distance", and that seems to set the max number of mismatches allowed. And I can watch results shift as I vary that number, and in most cases it seems to make sense. But that seems at odds with the arguments '-k' & '-l' with are supposed to set the seedlength (which is by default 'inf' which I guess implies the full length of my query), and the max "edit distance" (mismatches?) in the seed (default is 2). But I can vary the '-n' value and allow more than 2 mismatches even though I'm using the default settings for '-k' & '-l' (which should kill the read if there are more than 2 mismatches?)

        Is there any more detailed discussion of parameter suggestions for real world problems? I'm pretty old school, and BLAST had that wonderful oreilly blast book that had a number of examples that gave you a starting point for different tasks, then I could tweak values from there. But I feel kinda lost with BWA. Can anyone suggest another resource beyond the man page & the bwt paper that might help me out?
        In my recent experiments, I tried both BWA SW (default option) and BLASTN (1e-5) to filter out 454 reads from certain organism. It seems the reported number is very close.

        Comment

        Latest Articles

        Collapse

        • seqadmin
          Strategies for Sequencing Challenging Samples
          by seqadmin


          Despite advancements in sequencing platforms and related sample preparation technologies, certain sample types continue to present significant challenges that can compromise sequencing results. Pedro Echave, Senior Manager of the Global Business Segment at Revvity, explained that the success of a sequencing experiment ultimately depends on the amount and integrity of the nucleic acid template (RNA or DNA) obtained from a sample. “The better the quality of the nucleic acid isolated...
          03-22-2024, 06:39 AM
        • seqadmin
          Techniques and Challenges in Conservation Genomics
          by seqadmin



          The field of conservation genomics centers on applying genomics technologies in support of conservation efforts and the preservation of biodiversity. This article features interviews with two researchers who showcase their innovative work and highlight the current state and future of conservation genomics.

          Avian Conservation
          Matthew DeSaix, a recent doctoral graduate from Kristen Ruegg’s lab at The University of Colorado, shared that most of his research...
          03-08-2024, 10:41 AM

        ad_right_rmr

        Collapse

        News

        Collapse

        Topics Statistics Last Post
        Started by seqadmin, Yesterday, 06:37 PM
        0 responses
        10 views
        0 likes
        Last Post seqadmin  
        Started by seqadmin, Yesterday, 06:07 PM
        0 responses
        9 views
        0 likes
        Last Post seqadmin  
        Started by seqadmin, 03-22-2024, 10:03 AM
        0 responses
        49 views
        0 likes
        Last Post seqadmin  
        Started by seqadmin, 03-21-2024, 07:32 AM
        0 responses
        67 views
        0 likes
        Last Post seqadmin  
        Working...
        X