Mercurial > repos > alenail > chipsequtil
comparison chipsequtil/pieplot_macs/pieplots_macs.py @ 29:5c1e5d771216 draft
Uploaded
author | alenail |
---|---|
date | Thu, 14 Apr 2016 09:35:53 -0400 |
parents | 63dace20719b |
children |
comparison
equal
deleted
inserted
replaced
28:aec507b81d10 | 29:5c1e5d771216 |
---|---|
15 ''' | 15 ''' |
16 | 16 |
17 __author__='Renan Escalante' | 17 __author__='Renan Escalante' |
18 __email__='renanec@mit.edu' | 18 __email__='renanec@mit.edu' |
19 | 19 |
20 import pandas as pd | |
20 import matplotlib | 21 import matplotlib |
21 matplotlib.use('pdf') | 22 matplotlib.use('pdf') |
22 from matplotlib import pyplot as plt | 23 from matplotlib import pyplot as plt |
23 matplotlib.rcParams['pdf.fonttype']=42 | 24 matplotlib.rcParams['pdf.fonttype']=42 |
24 matplotlib.rcParams['font.size']=14 | 25 matplotlib.rcParams['font.size']=14 |
25 import sys | 26 import sys |
26 from argparse import ArgumentParser | 27 from argparse import ArgumentParser |
27 import pandas as pd | |
28 | 28 |
29 def map_peaks(gene,peak,outfile,macsFlag): | 29 def map_peaks(gene,peak,outfile,macsFlag): |
30 genefile = open(gene, 'r') | 30 genefile = open(gene, 'r') |
31 peakfile = open(peak, 'r') | 31 peakfile = open(peak, 'r') |
32 | 32 |