Mercurial > repos > davidvanzessen > mutation_analysis
comparison mutation_analysis.py @ 33:ac9a4307861a draft
Uploaded
author | davidvanzessen |
---|---|
date | Thu, 16 Apr 2015 09:36:19 -0400 |
parents | 2a7343e4be5a |
children | 7377bf7e632d |
comparison
equal
deleted
inserted
replaced
32:2a7343e4be5a | 33:ac9a4307861a |
---|---|
166 for ID in IDlist: | 166 for ID in IDlist: |
167 if first: | 167 if first: |
168 o.write("ID\tRGYWC\tWRCY\tWA\tTW\n") | 168 o.write("ID\tRGYWC\tWRCY\tWA\tTW\n") |
169 first = False | 169 first = False |
170 continue | 170 continue |
171 o.write(ID + "\t" + str(int(RGYWCount[ID])) + "\t" + str(int(WRCYCount[ID])) + "\t" + str(int(WACount[ID])) + "\t" + str(int(TWCount[ID])) + "\n") | 171 o.write(ID + "\t" + str(round(RGYWCount[ID], 2)) + "\t" + str(round(WRCYCount[ID], 2)) + "\t" + str(round(WACount[ID], 2)) + "\t" + str(round(TWCount[ID], 2)) + "\n") |