Thursday, June 07, 2012

bigWigSummary prefers absolute path

I just got this weird error when I was running bigwigsummary on a bigwig file - it keeps saying:


Can't open ~/scratch/bw/wgEncodeOpenChromChipMcf7Pol2Aln_2Reps.norm5.rawsignal.bw to read
No such file or directory

But obviously the file is there with permission of 755 (-rwxr-xr-x).

Finally by taking Brian's suggestion, I used absolute path, instead of relative path with tilde (e.g. ~ ), the error disappeared.

Don't know if this is required by the code itself or just an usual difference between ~ and /home.

No comments:

Post a Comment