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

Error in step A: read group line contained literal <tab> #3

Open
sanderdebacker opened this issue Apr 22, 2022 · 2 comments
Open

Error in step A: read group line contained literal <tab> #3

sanderdebacker opened this issue Apr 22, 2022 · 2 comments

Comments

@sanderdebacker
Copy link

When running the process_reseq_1.0.py script, the following error occurs:

Line : 677 - Error in step A (bwa-mem): [E::bwa_set_rg] the read group line contained literal <tab> characters -- replace with escaped tabs: \t

Does anyone know whatever causes this error and how to resolve it?

@guiguimartin
Copy link
Member

Maybe this is linked to a new version of BWA installed. Which version have you installed? On our computer we use: bwa/0.7.15 and it works fine.

@sanderdebacker
Copy link
Author

Solution that worked for me (with bwa-0.7.17).

Replace line 657 in the /utilsSR/utilsSR.py script to:
rg_tag = '@RG"\\t"ID:'+ACC_ID+'"\\t"SM:'+ACC_ID+'"\\t"LB:'+ACC_ID+'"\\t"PU:whatever"\\t"PL:ILLUMINA'

Original:
rg_tag = '@RG"\t"ID:'+ACC_ID+'"\t"SM:'+ACC_ID+'"\t"LB:'+ACC_ID+'"\t"PU:whatever"\t"PL:ILLUMINA'

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