Mercurial > repos > petr-novak > dante
comparison coverage2gff.py @ 16:0e820310d4dc draft
Uploaded
author | petr-novak |
---|---|
date | Wed, 04 Sep 2019 06:45:18 -0400 |
parents | 3151a72a6671 |
children |
comparison
equal
deleted
inserted
replaced
15:3151a72a6671 | 16:0e820310d4dc |
---|---|
34 def read_coverage(profile): | 34 def read_coverage(profile): |
35 with open(profile) as p: | 35 with open(profile) as p: |
36 d = {} | 36 d = {} |
37 for name, prof in zip(p, p): | 37 for name, prof in zip(p, p): |
38 d[name[1:].strip()] = [int(i) for i in prof.split()] | 38 d[name[1:].strip()] = [int(i) for i in prof.split()] |
39 print(d, file=sys.stderr) | |
40 return d | 39 return d |
41 | 40 |
42 | 41 |
43 def main(): | 42 def main(): |
44 args = parse_args() | 43 args = parse_args() |