Running macs14 and got through most of the process including BEDgraph generation then received the following error (parameters included below). Any ideas?
INFO @ Mon, 12 Mar 2012 19:19:31: #3 save the shifted and merged tag counts into wiggle file...
Traceback (most recent call last):
File "/usr/bin/macs14", line 358, in <module>
main()
File "/usr/bin/macs14", line 159, in main
peakdetect.call_peaks()
File "/usr/lib/python2.6/dist-packages/MACS14/PeakDetect.py", line 80, in call_peaks
self.peaks = self.__call_peaks_w_control ()
File "/usr/lib/python2.6/dist-packages/MACS14/PeakDetect.py", line 267, in __call_peaks_w_control
zwig_write(self.control,self.opt.wig_dir_ctl,self.zwig_ctl,self.d,log=
self.info,space=
self.opt.space,single=self.opt.single_profile)
File "/usr/lib/python2.6/dist-packages/MACS14/OutputWriter.py", line 64, in zwig_write
os.makedirs (subdir)
File "/usr/lib/python2.6/os.py", line 157, in makedirs
mkdir(name, mode)
OSError: [Errno 17] File exists: 'peaks1_MACS_bedGraph/control/'
MACS called as follows:
$macs14 -t ChIP.sam -c gDNA_control.sam -n peaks1 -f SAM -g hs -m 5,30 -w -B --verbose 3