run htesq-count error
1
0
Entering edit mode
7.0 years ago
yhui_qiu • 0

My htseq-count command is:

htseq-count -s no -o homo_con_samout ../04_align/homo_con.sam $gtf  >con_read_count.log  2>error

The error message is:

Error occured when processing SAM input (line 464 of file ../04_align/homo_con.sam):my_showwarning() takes from 3 to 5 positiona arguments but 6 were given 
[Exception type :TypeError ,raised in warnings.py:99]

How can I fix this error?

rna-seq • 1.6k views
ADD COMMENT
0
Entering edit mode

Can you show us line 464 of the SAM file?

ADD REPLY
0
Entering edit mode

Request you to check the version of python you are using as it can be a probable reason for this error. Please check HTSeq documentation, mentioning its Prequisites and installation.

Similar HTSeq issue is been discussed in one of chinese blog

ADD REPLY
0
Entering edit mode
7.0 years ago
yhui_qiu • 0

I had check the line 464 of the SAM file ,nothing different with other line. When I chang my python version ,it has another wrong message,like this: Error occured when processing SAM input (record #2 in file ../05_sorted_bam/homo_con.bam):my_showwarning() takes from 3 to 5 positional arguments but 6 were given [Exception type : TypeError, raised in warning.py:99]

ADD COMMENT

Login before adding your answer.

Traffic: 2025 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