limit fstBC to 30bp in Python3 ver.
[GalaxyCodeBases.git] / tools / lh3misc / crap / prob2qq.lua
blob85f80492924e7064206be40610a3e8d20c2392af
1 #!/usr/bin/env luajit
3 local a = {}
4 for l in io.lines() do
5 a[#a+1] = tonumber(l);
6 end
7 table.sort(a);
8 for i = 1, #a do
9 local x = (a[i] == 0 and 1e-20) or a[i];
10 print(-math.log10(i/#a), -math.log10(a[i]))
11 end