Skip to content
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

aligning to CTOT+CTOB -- equivalent of bismark --pbat #19

Open
avilella opened this issue Aug 5, 2015 · 5 comments
Open

aligning to CTOT+CTOB -- equivalent of bismark --pbat #19

avilella opened this issue Aug 5, 2015 · 5 comments

Comments

@avilella
Copy link

avilella commented Aug 5, 2015

I understand that bwa-meth aligns to the c2t converted reference. Would it be possible to change bwa-meth also to align to the g2a converted reference?

I believe this is what bismark calls "--pbat" option.

If not, are there any other tools out there that will wrap up "bwa mem" for bisulfite sequencing that may have this option added?

@brentp
Copy link
Owner

brentp commented Aug 5, 2015

I don't have the cycles to add this now, but this should be reasonable to add, see the function convert_fasta. I think you'd convert the complement of the reference and the reads as well.

@Shicheng-Guo
Copy link

Yes. Just get the complement human reference and build G->A index. The problem is how to integrate this function in the main-pipeline.

@avilella
Copy link
Author

As an alternative, I found a solution to this when trying to align data to
the other two strands:

The solution is to reverse complement the fastq files, then align to
bwa-meth.

I use github.com/lh3/seqtk for the revcom operation,

Hope it helps,

A.

On Fri, Nov 11, 2016 at 8:22 AM, Shicheng Guo notifications@github.com
wrote:

Yes. Just get the complement human reference and build G->A index. The
problem is how to integrate this function in the main-pipeline.


You are receiving this because you authored the thread.
Reply to this email directly, view it on GitHub
#19 (comment), or mute
the thread
https://github.com/notifications/unsubscribe-auth/AAJpN_Yl-6xRu3PoA-SceadoFTg-_Dgoks5q9CWvgaJpZM4Fl89h
.

@Shicheng-Guo
Copy link

Shicheng-Guo commented Nov 11, 2016

I don't think it is a good way since the uncertainty is too high for this way. I think it is still long way to make bwa-meth popular. I admit that bwa-meth is really faster than other tools

@avilella
Copy link
Author

My solution won't work if you have a non-directional sample. Is your data
directional?

I agree the limitation remains in the bwa-meth step, but if you sample is
directional, you can still make it work...

A.

On Fri, Nov 11, 2016 at 9:01 AM, Shicheng Guo notifications@github.com
wrote:

I don't think it is a good way since the uncertainty is too high for this
way. I think it is still long way to make bwa-meth popular.


You are receiving this because you authored the thread.
Reply to this email directly, view it on GitHub
#19 (comment), or mute
the thread
https://github.com/notifications/unsubscribe-auth/AAJpN3jzf6zmP_4lrzjGyWMoIM2Dn4cBks5q9C8HgaJpZM4Fl89h
.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants