I try to run htseq-count from my MacOs. I am using python3.6. When I type the command line
htseq-count --stranded=no file.bam file.gft
hstseq starts the run and after processing the gtf file, it gave me this error:
Error occurred when reading beginning of SAM/BAM file
'utf-8' codec can't decode byte 0x8b in position 1: invalid start byte
[Exception type: UnicodeDecodeError, reaised in codecs.py:321]
Hi,
I try to run htseq-count from my MacOs. I am using python3.6. When I type the command line htseq-count --stranded=no file.bam file.gft hstseq starts the run and after processing the gtf file, it gave me this error: Error occurred when reading beginning of SAM/BAM file 'utf-8' codec can't decode byte 0x8b in position 1: invalid start byte [Exception type: UnicodeDecodeError, reaised in codecs.py:321]
The bam file is sorted by name
Any idea how to solve this?