Hi,
I have a Bisulfite converted sample that includes 2 genomes. One is wheat and other is fungi, for which I have separate assembled genomes. I am wondering how to deal with this of data. Also, to provide more information, the wheat assembled genome is not Bisulfite converted. Can you use Bismark to align againest and unconverted geonme?
Thank you in advance for all your help, Mia
To my knowledge Bismark will convert the genome to a bisulphite for you when you build the index. It has the option to do this for both strands of the genome (5' -> 3' and 3' -> 5'), which i'm told is only needed if your sequencing was generated using a non-strand-specific protocol. Else the standard 5' -> 3' or "sense" conversion is all that is needed. If that is the case, I highly recommend you do not use Bismark as it is slow and in my hands prone to errors. BWA-meth only does the sense-strand conversion, but is significantly faster than Bismark and produces "cleaner" output files. I'd personally recommend BWA-meth over Bismark any day.
Also, I recently attended a workshop on WGBS in Freiburg where it was mentioned that some special considerations are required for plants. I do not work with plants, so I forgot what those special considerations were, but hopefully the man who taught me can teach you when he sees this post :) It might have only been relevant for the analysis of the data, not the mapping... mrgh. Sorry i can't be of more help :-/
John,
I really appreciate the information you provided and I will look into BWA-meth. Also, can you provide me with the name of the workshop in Freiburg?
Thanks, Mia
Hi John,
I have installed bwa-meth. However, when I am trying to align the samples to I get the following error:
I am wondering if you have had this issue before?
Thanks, Mia
Hmm.. I haven't and i'm not totally sure what it means. I've looked at the latest BWAmeth code on github and it doesn't have this specific line of code. It's similar but different. Instead of out.write it's now sys.stdout.write. Perhaps this was changed to fix the problem you are having? ~O~
What version of BWAmeth are you using?
John,
I downloaded the bwa-meth.0.10 according to the install instructions on the github site.
ah, apparently that hasn't been updated since 2014 :/ In Sep 13, 2016 a new version came out, 0.2.0.
The toolshed part is still OK, but the part where you "wget https://github.com/brentp/bwa-meth/archive/v0.10.tar.gz", instead of doing that just click the green "Clone or Download" button and you'll get the latest tar.gz file, whatever that's called, and the rest of the installation instructions should be the same, but apply it to the new file you download from github
John,
Downloading and installing the new version did the trick. Thanks a lot for your help.
Mia
Interesting - in my hands I have found the opposite. BWA-meth seems to be much more permissive with its alignments than Bismark, which has caused all kinds of weird post-alignment artefacts for me in the past. In contrast I've found Bismark to be more reliable on the whole (though the underlying Bowtie2 aligner is slower than BWA). What kind of errors have you had?
Could you elaborate on this? I thought that they produced pretty similar output..
Disclaimer: I used to work with the Bismark author ;) But I am genuinely curious as I've been playing with both tools recently..