Mercurial > repos > miller-lab > genome_diversity
diff dpmix_plot.py @ 9:22fe0154fa54
added support for heterochromatic regions
author | Richard Burhans <burhans@bx.psu.edu> |
---|---|
date | Tue, 10 Jul 2012 11:41:22 -0400 |
parents | 2c498d40ecde |
children |
line wrap: on
line diff
--- a/dpmix_plot.py Wed Jun 20 14:02:30 2012 -0400 +++ b/dpmix_plot.py Tue Jul 10 11:41:22 2012 -0400 @@ -119,6 +119,8 @@ return make_split_rectangle(p1, p2, 'r', 'g') elif state == 2: return [ make_rectangle(p1, p2, 'g') ] + elif state == 3: + return [ make_rectangle(p1, p2, '#c7c7c7') ] else: print >> sys.stderr, "Unknown state: {0}: {1} {2} {3} {4}".format(state, chrom, p1, p2, state, individual) sys.exit(1)