No such file or directory: 'chip_CR4D_2.bed'
Hello everybody,
I've been trying to use MACS2 as peak caller following the guidelines for ChIP-seq analysis publiched by the ENCODE project. But I get the same error whether if I used the bed format or the tagAlign format as input ( I've tried with .gz compressed files and uncompressed files also).
Here are the details for this issue:
Command used for peak calling :
macs2 callpeak -t chip_CR4D_2.bed -c controlSampleRep0.bed -f BED -n chip_CR4D_2\_VS_controlSample_Rep0 -g mm -p 1e-3 --to-large
Error I get:
Traceback (most recent call last):
File "/opt/python/python-2.7.3/bin/macs2", line 362, in <module>
main()
File "/opt/python/python-2.7.3/bin/macs2", line 45, in main
run( args )
File "/opt/macs/MACS-2.0.10/lib/python2.7/site-packages/MACS2/callpeak.py", line 70, in run
else: (treat, control) = load_tag_files_options (options)
File "/opt/macs/MACS-2.0.10/lib/python2.7/site-packages/MACS2/callpeak.py", line 350, in load_tag_files_options
tp = options.parser(options.tfile[0])
File "cParser.pyx", line 147, in MACS2.IO.cParser.GenericParser.__init__ (MACS2/IO/cParser.c:2625)
File "/opt/python/python-2.7.3/lib/python2.7/gzip.py", line 34, in open
return GzipFile(filename, mode, compresslevel)
File "/opt/python/python-2.7.3/lib/python2.7/gzip.py", line 89, in __init__
fileobj = self.myfileobj = __builtin__.open(filename, mode or 'rb')
IOError: [Errno 2] No such file or directory: 'chip_CR4D_2.bed'
Thanks in advance for your help.
Best wishes
JL--
You received this message because you are subscribed to the Google Groups "MACS announcement" group.
To unsubscribe from this group and stop receiving emails from it, send an email to macs-announcem...@googlegroups.com.
To post to this group, send email to macs-ann...@googlegroups.com.
Visit this group at http://groups.google.com/group/macs-announcement?hl=en.
For more options, visit https://groups.google.com/groups/opt_out.
Traceback (most recent call last):
File "/opt/python/python-2.7.2/bin/macs2", line 362, in <module>
main()
File "/opt/python/python-2.7.2/bin/macs2", line 45, in main
run( args )
File "/opt/python/python-2.7.2/lib/python2.7/site-packages/MACS2/callpeak.py", line 100, in run
treat.separate_dups(treatment_max_dup_tags) # changed 5-29
File "cFixWidthTrack.pyx", line 207, in MACS2.IO.cFixWidthTrack.FWTrackIII.separate_dups (MACS2/IO/cFixWidthTrack.c:5318)
File "cFixWidthTrack.pyx", line 325, in MACS2.IO.cFixWidthTrack.FWTrackIII.separate_dups (MACS2/IO/cFixWidthTrack.c:5191)
UnboundLocalError: local variable 'dup_minus' referenced before assignment
Thanks again for your kind answer
JL