cat raw.tsv
Q k F0 f1 F1
0 21 964 0 271790
0 27 952 0 247142
0 33 954 0 222535
0 39 938 0 198291
0 45 976 0 174626
0 51 978 2 151616
0 57 916 6 129282
0 63 902 10 107766
0 69 926 14 87280
0 75 908 24 67707
KmerStreamEstimate.py raw.tsv
Q k F0 f1 F1 F0-f1 G e lambda
Traceback (most recent call last):
File "/home/linuxbrew/.linuxbrew/bin/KmerStreamEstimate.py", line 43, in <module>
x,e = EMfit2(F0,f1,F1,int(k))
File "/home/linuxbrew/.linuxbrew/bin/KmerStreamEstimate.py", line 26, in EMfit2
e = brentq(func, 0, 1)
File "/home/linuxbrew/.linuxbrew/Cellar/python/2.7.12_1/lib/python2.7/site-packages/scipy/optimize/zeros.py", line 442, in brentq
r = _zeros._brentq(f,a,b,xtol,rtol,maxiter,args,full_output,disp)
ValueError: f(a) and f(b) must have different signs
Error on a 1K amplicon: