Previous changeset 6:d7baa700a930 (2016-04-14) Next changeset 8:37b6e6c43ef8 (2016-04-14) |
Commit message:
Uploaded |
modified:
pieplot_macs/pieplots_macs.py |
b |
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 |