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

Edit suggested: Escape tab characters to resolve BWA error #18

Closed
pvishwa2 opened this issue Feb 2, 2019 · 1 comment
Closed

Edit suggested: Escape tab characters to resolve BWA error #18

pvishwa2 opened this issue Feb 2, 2019 · 1 comment

Comments

@pvishwa2
Copy link

pvishwa2 commented Feb 2, 2019

"@RG\tID:" + self.name + "\tSM:" + self.name + "\tPL:ILLUMINA",

That line seems to be giving me some issue in the BWA step. Not sure if I'm the only one.
MY command line interprets the statement with tab characters when calling, and that throws up the " [E::bwa_set_rg] the read group line contained literal characters -- replace with escaped tabs: \t" error.

I fixed my version by doubling up the escape characters, so the line is this instead:
"@RG\\tID:" + self.name + "\\tSM:" + self.name + "\\tPL:ILLUMINA",

@pvishwa2 pvishwa2 closed this as completed Feb 3, 2019
@alantsangmb
Copy link

I encounter this problem too, and your method helps by adding the backslash escape character. Thanks.

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

2 participants