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
          Current Approaches to Protein Sequencing
          by seqadmin


          Proteins are often described as the workhorses of the cell, and identifying their sequences is key to understanding their role in biological processes and disease. Currently, the most common technique used to determine protein sequences is mass spectrometry. While still a valuable tool, mass spectrometry faces several limitations and requires a highly experienced scientist familiar with the equipment to operate it. Additionally, other proteomic methods, like affinity assays, are constrained...
          04-04-2024, 04:25 PM
        • 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

        ad_right_rmr

        Collapse

        News

        Collapse

        Topics Statistics Last Post
        Started by seqadmin, 04-11-2024, 12:08 PM
        0 responses
        18 views
        0 likes
        Last Post seqadmin  
        Started by seqadmin, 04-10-2024, 10:19 PM
        0 responses
        22 views
        0 likes
        Last Post seqadmin  
        Started by seqadmin, 04-10-2024, 09:21 AM
        0 responses
        17 views
        0 likes
        Last Post seqadmin  
        Started by seqadmin, 04-04-2024, 09:00 AM
        0 responses
        48 views
        0 likes
        Last Post seqadmin  
        Working...
        X