Running bigWigToWig using Anaconda in a Linux System
1
0
Entering edit mode
2.3 years ago

Hi,

I've been trying to convert a .bw file to a wig file using bigWigtoWig. When I run the command my error is:

Permission denied mustOpenFd: Can't open dm6.27way.phastCons.bw to read

The code I used:

bigWigToWig dm6.27way.phastCons.bw out.wig -chrom=chr3L

I've setup bigWigToWig by installing the package through anaconda and I have my virtual environment containing the package active in linux.

I presumed this is an issue with the files not having executing privileges, and I've trying using chmod +x on all the files I could think of. But still no luck.

anaconda bigwig • 841 views
ADD COMMENT
0
Entering edit mode

Are you running the program from the correct directory? Have you tried providing the full path to dm6.27way.phastCons.bw?

ADD REPLY
0
Entering edit mode

I tried running the full path, but I'm getting the same error. I'm actually not sure what the correct directory would be, but I did try placing it in my bin directory in my environment. I also tried placing it where the package is located.

ADD REPLY
2
Entering edit mode
2.3 years ago

I managed to get it working without using anaconda.

This is what I had to do:

chmod 777 wigs/*

./bigWigToWig dm6.27way.phastCons.bw out.wig

In my wigs directory I have the bigWigToWig file and my input .bw file.

ADD COMMENT

Login before adding your answer.

Traffic: 2077 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