I am getting the following error If I use the bam_to_wiggle.py script
Traceback (most recent call last):
File "bam_to_wiggle.py", line 142, in <module>
main(*args, **kwargs)
File "bam_to_wiggle.py", line 68, in main
convert_to_bigwig(wig_file, chr_sizes, config, outfile)
File "bam_to_wiggle.py", line 115, in convert_to_bigwig
subprocess.check_call(cl)
File "/usr/local/lib/python2.7/subprocess.py", line 499, in check_call
retcode = call(*popenargs, **kwargs)
File "/usr/local/lib/python2.7/subprocess.py", line 486, in call
return Popen(*popenargs, **kwargs).wait()
File "/usr/local/lib/python2.7/subprocess.py", line 672, in __init__
errread, errwrite)
File "/usr/local/lib/python2.7/subprocess.py", line 1201, in _execute_child
raise child_exception
OSError: [Errno 2] No such file or directory
The command I am using is:
python bam_to_wiggle.py /data1/goutham/dDocentGATK/alignment/1_method/BAM/sort.sample_EC1.bam -o sort.sample_EC1
The file /usr/local/lib/python2.7/subprocess.py exists