I wanted to generate bisulfite alignments with gmapR, but cannot get it to work. I can generate a normal alignment similar to how it is described in the documentation.
Running gsnap on the command line, you normally have to run cmetindex in order to prepare a normal genomic index for bisulfite alignments. Do you need to do this within gmapR as well?
Looking to the code-base, there are empty wrappers for both cmetindex and atoiindex. They are not visible within R. Is there a plan to add this functionality? Or am I just missing something obvious?
Hey!
Well I'm working on my master thesis under supervision of Dr. Nordström, and I got your reply by email two days ago.
Actually I tried calling gmapR:::cmetindex(genome) and the result was like this:
Error in as.character.default(X[[i]], ...) :
no method for coercing this S4 class to a vector
Any advice?
Thanks in advance
Best,
Amer
gmapR 1.21.1 (devel) should resolve this issue by exporting cmetindex and adding the missing coercion.