clipOverlap from BamUtil modifies CIGAR string => error in GATK
1
0
Entering edit mode
3.3 years ago
Juke34 8.6k

Hi,

I have a problem with gatk remove_duplicates that throws the error No real operator (M|I|D|N) in CIGAR after using clipOverlap from BamUtil. Without the clipOverlap step I do not have the problem within GATK. So the problem is obvisouly introduced by clipOverlap. Does Someone know how to fix that?

My command is as follow: bam clipOverlap --storeOrig CG --poolSize 50000000 --in $bam --out ${bam}_ovClipped.bam

rna-seq • 879 views
ADD COMMENT
0
Entering edit mode
3.1 years ago
lechu ▴ 20

It's only a guess, but maybe deduplicating before clipping would solve the problem...?

ADD COMMENT
0
Entering edit mode

I was removing the duplicates before this step if it is what you mean, with MarkDuplicates

ADD REPLY
0
Entering edit mode

Then you should rephrase your question, because not matter how many times I read it, it seems to imply the opposite. Maybe you are using wrong SAM version (1.3 vs 1.4)? Since the error message suggest sth is wrong with you CIGARs, maybe you can update you question with a short excerpt from your BAM files before and after being processed with BamUtils.

ADD REPLY

Login before adding your answer.

Traffic: 1393 users visited in the last hour
Help About
FAQ
Access RSS
API
Stats

Use of this site constitutes acceptance of our User Agreement and Privacy Policy.

Powered by the version 2.3.6