File "/usr/local/lib/python2.7/dist-packages/clipper-0.2.0-py2.7-linux-x86_64.egg/clipper/src/peakfinder.py", line 695, in call_main
main(options)
File "/usr/local/lib/python2.7/dist-packages/clipper-0.2.0-py2.7-linux-x86_64.egg/clipper/src/peakfinder.py", line 585, in main
jobs.append(func_star(job))
File "/usr/local/lib/python2.7/dist-packages/clipper-0.2.0-py2.7-linux-x86_64.egg/clipper/src/peakfinder.py", line 146, in func_star
return call_peaks(*varables)
File "/usr/local/lib/python2.7/dist-packages/clipper-0.2.0-py2.7-linux-x86_64.egg/clipper/src/call_peak.py", line 966, in call_peaks
subset_reads = list(bam_fileobj.fetch(reference=str(interval.chrom), start=interval.start, end=interval.stop))
File "/usr/local/lib/python2.7/dist-packages/clipper-0.2.0-py2.7-linux-x86_64.egg/clipper/src/bam_helpers.py", line 25, in fetch
yield SAM_Alignment.from_pysam_AlignedRead( pa, sf )
File "_HTSeq.pyx", line 1234, in HTSeq._HTSeq.SAM_Alignment.from_pysam_AlignedRead (src/_HTSeq.c:23901)
File "_HTSeq.pyx", line 771, in HTSeq._HTSeq.SequenceWithQualities.__init__ (src/_HTSeq.c:15627)
TypeError: object of type 'NoneType' has no len()
The data was mapped with STAR and here is a small input file for example if you have any ideas why it wouldn't work?