Mercurial > repos > artbio > small_rna_maps
diff small_rna_maps.py @ 4:ba3ce7ee5b18 draft
"planemo upload for repository https://github.com/ARTbio/tools-artbio/tree/master/tools/small_rna_maps commit 51dc6c56c7d95fc229ffee958354211cd454fd36"
author | artbio |
---|---|
date | Sun, 09 May 2021 17:08:12 +0000 |
parents | 5f77e7dec4ea |
children |
line wrap: on
line diff
--- a/small_rna_maps.py Sun Oct 06 21:10:51 2019 -0400 +++ b/small_rna_maps.py Sun May 09 17:08:12 2021 +0000 @@ -319,8 +319,8 @@ Strandbias = round(strandness['F'] / float(Strandbias), 2) else: Strandbias = 2 - Mean = numpy.mean(sizeness.values()) - StDev = numpy.std(sizeness.values()) + Mean = numpy.mean(list(sizeness.values())) + StDev = numpy.std(list(sizeness.values())) for size in sizeness: if StDev: sizeness[size] = (sizeness[size] - Mean) / StDev