SciLifeLab / TIDDIT

TIDDIT - structural variant calling
Other
71 stars 13 forks source link

FORMAT/LQ value always the same #93

Closed fgvieira closed 2 years ago

fgvieira commented 2 years ago

FORMAT/LQ is specified as two Floats in the header but it seems the values are always equal (LQ:0.465656,0.465656). Is this expected? Or are they different in some edge cases? thanks,

J35P312 commented 2 years ago

No! It is not supposed to be the same!

I had a look:

sample_data[sample]={} sample_data[sample]={"covA":coverageA,"QA":frac_low_qA,"discA":n_discsA,"splitA":n_splitsA,"refRA":crossing_r_A,"refFA":crossing_f_A} sample_data[sample].update({"covB":coverageB,"QB":frac_low_qA,"discB":n_discsB,"splitB":n_splitsB,"refRB":crossing_r_B,"refFB":crossing_f_B})

I will fix it next week, thanks for the bug hunting ;P.

J35P312 commented 2 years ago

Now it is fixed!