Hi, I think you are having the same problem that I originally had when I started using htseq-count: namely using the wrong input to run DESeq.
htseq-count writes the count table directly into STDOUT, while the "-o" option creates an additional sam file, which in most cases you won't need.
If you want htseq-count to write a separate text file for your counts, you can use "> yourfilename.txt".
So you should change "-o" to ">" in your script.
Let me know if it worked.
|