Mercurial > repos > artbio > repenrich
comparison RepEnrich.py @ 10:6f4143893463 draft
planemo upload for repository https://github.com/ARTbio/tools-artbio/tree/master/tools/repenrich commit e3881f05134c6f50889d0376d27e1c232251f8b3
author | artbio |
---|---|
date | Tue, 05 Feb 2019 17:20:55 -0500 |
parents | d1f7ab78f7b5 |
children | 89e05f831259 |
comparison
equal
deleted
inserted
replaced
9:db32bb7bda01 | 10:6f4143893463 |
---|---|
398 numpy.divide(float(count), float(splits))) | 398 numpy.divide(float(count), float(splits))) |
399 # building categorized table of repeat element enrichment... | 399 # building categorized table of repeat element enrichment... |
400 repcounts = {} | 400 repcounts = {} |
401 repcounts['other'] = 0 | 401 repcounts['other'] = 0 |
402 for key in counts.keys(): | 402 for key in counts.keys(): |
403 convert(key) | 403 convert(key) |
404 repcounts[repname] = counts[key] | 404 repcounts[repname] = counts[key] |
405 # building the total counts for class enrichment... | 405 # building the total counts for class enrichment... |
406 for key in reptotalcounts.keys(): | 406 for key in reptotalcounts.keys(): |
407 classtotalcounts[repeatclass[key]] += reptotalcounts[key] | 407 classtotalcounts[repeatclass[key]] += reptotalcounts[key] |
408 # building total counts for family enrichment... | 408 # building total counts for family enrichment... |
409 for key in reptotalcounts.keys(): | 409 for key in reptotalcounts.keys(): |