# HG changeset patch # User alenail # Date 1460671218 14400 # Node ID b9b2be216c05c5b386f389045f0f862d03f171f7 # Parent d7baa700a9306cb22cba515aead0f141e8ac83fd Uploaded diff -r d7baa700a930 -r b9b2be216c05 pieplot_macs/pieplots_macs.py --- 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