YeoLab / clipper

A tool to identify CLIP-seq peaks
Other
64 stars 41 forks source link

ReadsToWiggle doesn't properly select read start and read stop #22

Open gpratt opened 10 years ago

gpratt commented 10 years ago

The code is here:

readsToWiggle.pyx read_start = read.positions[0] read_stop = read.positions[-1]

This will only work for positive strands, negative strands will get the END of the read. Fix is easy, just need to decide if it is easier to swap out to htseq instead of re-writing.

mlovci commented 10 years ago

does htseq have the "start/middle/end" option?

gpratt commented 10 years ago

I'll wrap htseq a bit, but I like it more because it keeps read info for a bit longer, and is fairly fast.

I still don't use junction counting. Did you add in anything related to that with respect to clipper?