View Single Post
Old 04-20-2012, 06:49 AM   #1
Location: Seattle, WA

Join Date: Sep 2010
Posts: 17
Default errors while using python

Hi there, I am trying to use the tool in DEXseq and have tried several different gtf files but they all seem to get the same error. Not sure what could be causing this (below). Python version maybe? Any suggestions folks have are appreciated. Thanks -Rich

python test.gtf

Traceback (most recent call last):
File "", line 25, in ?
for f in HTSeq.GFF_Reader( gtf_file ):
File "/usr/lib64/python2.4/site-packages/HTSeq-0.5.3p3-py2.4-linux-x86_64.egg/HTSeq/", line 204, in __iter__
for line in FileOrSequence.__iter__( self ):
File "/usr/lib64/python2.4/site-packages/HTSeq-0.5.3p3-py2.4-linux-x86_64.egg/HTSeq/", line 42, in __iter__
if self.fos.lower().endswith( ( ".gz" , ".gzip" ) ):
TypeError: expected a character buffer object
greener is offline   Reply With Quote