nboley / idr

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

idr --samples peak1 peak2 : Number of peaks passing IDR cutoff of 0.05 - 0/50537 (0.0%) #56

Open AndHerr opened 3 years ago

AndHerr commented 3 years ago

Hi,

I am just running the manual code: idr --samples peak1 peak2 and this is the output:

Initial parameter values: [0.10 1.00 0.20 0.50] Final parameter values: [1.57 1.26 0.89 0.41] Number of reported peaks - 50537/50537 (100.0%)

Number of peaks passing IDR cutoff of 0.05 - 0/50537 (0.0%)

I found the same issue using my own peaks. Which can be the problem? Thank you in advance, Andrés

AndHerr commented 3 years ago

Okey, I solved it.

It's the same issue someone mentioned in another question about checking a boolean array, easily solved with.

if (localIDRs == None).any() or (IDRs == None).any():

Thanks, Andrés