changeset 7:b9b2be216c05 draft

Uploaded
author alenail
date Thu, 14 Apr 2016 18:00:18 -0400
parents d7baa700a930
children 37b6e6c43ef8
files pieplot_macs/pieplots_macs.py
diffstat 1 files changed, 6 insertions(+), 3 deletions(-) [+]
line wrap: on
line diff
--- a/pieplot_macs/pieplots_macs.py	Thu Apr 14 17:45:12 2016 -0400
+++ b/pieplot_macs/pieplots_macs.py	Thu Apr 14 18:00:18 2016 -0400
@@ -40,28 +40,31 @@
         if words[0] == 'knownGeneID': continue
         chrom = words[2]
 
-
         if macsFlag:
-            print "MacsFlag off"
+            print "macsflag on"
             start = int(words[3])-1
             dist = abs(int(words[12]))
+            print dist
             maptype = words[14]
             if maptype == 'gene':
                 maptype = words[15]
 
         else:
-            print "macsFlag on"
+            print "macsflag off"
             try:
                 start = int(words[3])
                 dist = abs(int(words[15]))
+                print dist
                 maptype = words[16]
                 if maptype == 'gene':
                     maptype = words[17]
             except:
+                print 'trigger except'
                 pass
 
         print "dist:"
         print dist
+        print "that was dist"
 
         if chrom not in peaks:
             #new chrom