I am getting the following types of errors when running htseq-count on a SAM file generated with bbmap.sh
The above SAM file was generated with a command like
The htseq-count command I used was
Any pointers greatly appreciated!
Code:
Error occured when reading beginning of SAM/BAM file. ("Illegal CIGAR string '66='", 'line 81726 of file bb_mapped.sam') [Exception type: ValueError, raised in _HTSeq.pyx:1116]
Code:
bbmap.sh build=2 in=stdin.fq bamscript=bam.sh maxindel=200000 ambiguous=toss \ usejni=t outu=bb_unm apped.sam outm=bb_mapped.sam rpkm=rpkm.txt -Xmx28g
Code:
htseq-count -i gene bb_mapped.sam genome.gff > ! counts.txt
Comment