-
Notifications
You must be signed in to change notification settings - Fork 20
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
BWA is not supported [as BWA does not allow Ns in the index] #19
Comments
Hi @RoseString, Thanks for your comments. I have personally not used BWA before (we seem to be one of the few places in the UK using Bowtie2...), but I imagine that BWA output should work with SNPsplit as well as long as it contains an
If you are familiar with BWA and could look into whether there are any options to output the I am afraid supporting soft-clipping would be a major addition to the code, and I can't see this happening any time soon. Cheers, Felix |
Hi @FelixKrueger , Sorry for the delayed reply. I got really busy last few days.. Thanks for your willingness to help! Below is some info for a test run. The bwa mem command I used was : Here are some example lines from this run. It seems MD:Z: field is automatically turned on, but other attributes like NH and HI are missing? I don't know if that's causing the issues. Thanks again!
|
Thanks for that. I'll be going skiing soon so I'm not exactly sure when I will get to this. But I won't forget about it! Cheers, Felix |
Hi @RoseString , I just had a look at this issue again. First, I indexed a CAST/B6 genome with
Which I found very odd, as it seems to suggest that no reads covered any of the N-masked positions at all. I then tried the same thing with Bowtie2, and this is the result:
So with Bowtie 2 I get ~50% allele-specific reads, but with BWA I get 0% for the exact same data! I then did some quick Googling how BWA handles So I am afraid the answer to your original question is probably: |
Thank you so much @FelixKrueger for looking into this in such details! It also sounds odd to me that BWA replaces Ns with random bases during indexing. I really appreciate the time you put into this! |
Hi @FelixKrueger ,
Thank you for the great tool! It is a great help to my research.
I have a question. Is it possible to add BWA support? Our lab is interested in doing population genetics with split reads. Basically, we will follow the GATK pipeline which recommends using BWA for read mapping. I have tried running bwa (with soft-clipping option off) followed by SNPsplit, but it failed. So I guess BWA output is not yet supported.
Also I'm wondering in a future release if we'll be able to run the tool with soft-clipping on? That would increase the mapping efficiency.
Thank you very much!
The text was updated successfully, but these errors were encountered: