FelixKrueger / Bismark

A tool to map bisulfite converted sequence reads and determine cytosine methylation states
http://felixkrueger.github.io/Bismark/
GNU General Public License v3.0
386 stars 101 forks source link

Bismark calculate bs rate #287

Closed soleilll closed 4 years ago

soleilll commented 4 years ago

Hello! I have some problem when i calculate the bs rate.I combined the genome.fa and oligo.fa.Then make index and bismark mapped.I try to extract the reads mapped to the oligo.fa,but there were no reads succeeded.So i can't get the bs rate(C/C+T). Is the oligo 60bp too short to map? Can you help me with the problem?Thank you very much!

FelixKrueger commented 4 years ago

Hi @soleilll

I assume the oligo sequence you have is an oligo you spiked into your experiment before doing the bisulfite conversion, e.g. the 5mC/5hmC oligos CEGX used to distribute?

Generally, if you use Bismark in end-to-end mode, which is the default, then you can only align to a 60bp oligo sequence if the read length in your experiment was 58bp or shorter. Longer reads can by definition not map fully. You have a few options here:

You don't have to repeat the alignments to the 'genome+oligo' reference, but you can just index the oligo sequence itself. Alignments to just this sequence should be lightning fast.

Let me know how you get on.

soleilll commented 4 years ago

Hi@FelixKrueger

yes, is oligos used to distribute.

I have tried to add the --local parameter, but it said "Unknown option: local". Then i use bowtie2 to map my RNAseq data to test the setting --local, it works well. So i wonder is there any problems when bismark calling the bowtie2?

I'll try the other two options later.

Thank you very much!!!

FelixKrueger commented 4 years ago

Which version of Bismark are you using? Try upgrading to the latest version (v0.22.2), or clone the development branch.