Macs Raises Error: No Such File Or Directory
0
0
Entering edit mode
11.0 years ago
Nick ▴ 290

I am trying to run macs14 with sam files from paired-end data + control. Macs14 returns "No such file":

sb7904313:line2 $ macs14 -t /Volumes/Data/G6L2_G6L3/s5/clean_paired_sample.sam -c /Volumes/Data/G6L2_G6L3/s11/clean_paired_sample.sam 
-bash: macs14 -t /Volumes/Data/G6L2_G6L3/s5/clean_paired_sample.sam -c /Volumes/Data/G6L2_G6L3/s11/clean_paired_sample.sam : No such file or directory

Yet the files exist:

sb7904313:line2 $ ls -all /Volumes/Data/G6L2_G6L3/s5/clean_paired_sample.sam
-rw-r--r--  1 nn  staff  24776263204 28 Nov 11:51 /Volumes/Data/G6L2_G6L3/s5/clean_paired_sample.sam
sb7904313:line2 $ ls -all /Volumes/Data/G6L2_G6L3/s11/clean_paired_sample.sam
-rw-r--r--  1 nn  staff  14223812120 28 Nov 12:19 /Volumes/Data/G6L2_G6L3/s11/clean_paired_sample.sam

Macs14 seems to be correctly installed:

sb7904313:line2 $ macs14 --version
macs14 1.4.2 20120305

I am just stumped. Can you give advice?

macs paired-end • 3.1k views
ADD COMMENT
1
Entering edit mode

Note how your error comes from bash not not macs14 (that is python script and would raise a python traceback), the alternative is that you are running in a place where the tool does not have write permissions etc

ADD REPLY
0
Entering edit mode

You are right - it seems that the permissions on my mac got corrupted. Running macs on my ubuntu laptop worked as expected.

ADD REPLY

Login before adding your answer.

Traffic: 1629 users visited in the last hour
Help About
FAQ
Access RSS
API
Stats

Use of this site constitutes acceptance of our User Agreement and Privacy Policy.

Powered by the version 2.3.6