diff mutation_analysis.py @ 22:d84c9791d8c4 draft

Uploaded
author davidvanzessen
date Tue, 07 Apr 2015 03:52:34 -0400
parents c9f9623f1f76
children 2433a1e110e1
line wrap: on
line diff
--- a/mutation_analysis.py	Thu Apr 02 03:31:23 2015 -0400
+++ b/mutation_analysis.py	Tue Apr 07 03:52:34 2015 -0400
@@ -98,7 +98,7 @@
 
 
 directory = outfile[:outfile.rfind("/") + 1]
-value = 0;
+value = 0
 valuedic = dict()
 for gene in genes:
 	with open(directory + gene + "_value.txt", 'r') as v:
@@ -137,9 +137,4 @@
 			o.write("ID\tRGYWC\tWRCY\tWA\tTW\n")
 			first = False
 			continue
-		print ID
-		print RGYWCount[ID]
-		print WRCYCount[ID]
-		print WACount[ID]
-		print TWCount[ID]
 		o.write(ID + "\t" + str(RGYWCount[ID]) + "\t" + str(WRCYCount[ID]) + "\t" + str(WACount[ID]) + "\t" + str(TWCount[ID]) + "\n")