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 "unrecognized CIGAR operator" when run gemBS map #66

Open
fyymxb opened this issue Nov 14, 2019 · 1 comment
Open

error "unrecognized CIGAR operator" when run gemBS map #66

fyymxb opened this issue Nov 14, 2019 · 1 comment

Comments

@fyymxb
Copy link

fyymxb commented Nov 14, 2019

Hello,
For some data sets, I occasionally met error error "unrecognized CIGAR operator" when run gemBS map.
The debug imformation is as follows:
Bisulfite Mapping...
2019-11-14 10:16:56,579 DEBUG: Using bundled binary : /home/XUB/.local/lib/python3.6/site-packages/gemBS/gemBSbinaries/gem-mapper
2019-11-14 10:16:56,580 DEBUG: Using bundled binary : /home/XUB/.local/lib/python3.6/site-packages/gemBS/gemBSbinaries/readNameClean
2019-11-14 10:16:56,580 DEBUG: Using bundled binary : /home/XUB/.local/lib/python3.6/site-packages/gemBS/bin/samtools
2019-11-14 10:16:56,581 INFO: Starting:
/home/XUB/.local/lib/python3.6/site-packages/gemBS/gemBSbinaries/gem-mapper -I ./../indexes/ucsc.hg19.BS.gem --i1 /public/data/cfNDA-methylation/20190929_HTLM5DSXX-X101SC19090311-Z01_Result/Rawdata/ori-lib6-18-cfDNA_L3_1.fq.gz --i2 /public/data/cfNDA-methylation/20190929_HTLM5DSXX-X101SC19090311-Z01_Result/Rawdata/ori-lib6-18-cfDNA_L3_2.fq.gz -p --bisulfite-conversion inferred-C2T-G2A -t 48 --report-file ./mapping/18_cfDNA/18.json -r @rg\tID:18\tSM:\tBC:18_cfDNA\tPU:18 | /home/XUB/.local/lib/python3.6/site-packages/gemBS/gemBSbinaries/readNameClean | /home/XUB/.local/lib/python3.6/site-packages/gemBS/bin/samtools sort -T ./mapping/18_cfDNA/18 -@ 48 -o ./mapping/18_cfDNA/18_cfDNA.bam -
2019-11-14 10:16:56,581 DEBUG: Setting process log file to ./mapping/18_cfDNA/gem_mapper_18.err
2019-11-14 10:16:56,581 DEBUG: Starting subprocess
2019-11-14 10:16:56,585 DEBUG: Setting process log file to ./mapping/18_cfDNA/gem_mapper_18.err
2019-11-14 10:16:56,586 DEBUG: Setting process input to parent output
2019-11-14 10:16:56,586 DEBUG: Starting subprocess
2019-11-14 10:16:56,590 DEBUG: Setting process log file to ./mapping/18_cfDNA/gem_mapper_18.err
2019-11-14 10:16:56,590 DEBUG: Setting process input to parent output
2019-11-14 10:16:56,590 DEBUG: Starting subprocess
2019-11-14 11:17:29,856 DEBUG: Process '/home/XUB/.local/lib/python3.6/site-packages/gemBS/bin/samtools' finished with 1
2019-11-14 11:17:29,857 ERROR: Process '/home/XUB/.local/lib/python3.6/site-packages/gemBS/bin/samtools' finished with 1
2019-11-14 11:17:29,858 ERROR: [E::sam_parse1] unrecognized CIGAR operator
2019-11-14 11:17:29,858 ERROR: [W::sam_read1] Parse error at line 537509071
2019-11-14 11:17:29,858 ERROR: samtools sort: truncated file. Aborting
The version of gemBS is 3.3.3.
But for some other data sets, it can be mapped successfully.

Bo

@heathsc
Copy link
Owner

heathsc commented Nov 14, 2019 via email

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