nboley / idr

IDR
GNU General Public License v2.0
164 stars 45 forks source link

Issue with Clip-seq data #26

Open BennyStrobes opened 7 years ago

BennyStrobes commented 7 years ago

I have downloaded clip_seq data narrow Peak files from ENCODE and am trying to perform IDR directly on them.

I call the command:

idr --samples rep1.peak rep2.peak -i 0.05 --rank p.value --input-file-type narrowPeak

I first get the warning:

'FutureWarning: comparison to None will result in an elementwise object comparison in the future. if localIDRs == None or IDRs == None:'

Then immediately get the error:

' mean(x.summit-x.start for x in m_pk.pks[key+1]) TypeError: unsupported operand type(s) for -: 'NoneType' and 'int''

I have tested these same commands on traditional chip-seq data and on the example data provided by IDR. Does anyone have any suggestions?

byee4 commented 4 years ago

This is years late, but in case anyone stumbles upon this I've hit this error too. Dropping to IDR v2.0.2 seemed to fix things. Also in my experience, warning appears to be related to the numpy version (I've tried with 1.13.0 and got an error, while 1.11 gives that same warning).