Commit 87ee66e7 authored by Mathieu Giraud's avatar Mathieu Giraud Committed by Vidjil Team

latex.py: takes the number of segmented reads for the ratios

parent bd7efed6
......@@ -25,10 +25,13 @@ def main():
data = fuse.ListWindows()
data.load(i, False, verbose = args.verbose)
print '%% ', i
print '%% ', data.d["reads"]
segmented_reads = data.d['reads'].d['segmented'][0]
out = []
for w in data:
if w.d['reads'][0] >= args.min:
out += [(-w.d['reads'][0], w.latex())]
out += [(-w.d['reads'][0], w.latex(base=segmented_reads))]
for bla, ltx in sorted(out[:args.top]):
print ltx
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment