Having issues using UCSC kent tools to convert bigwig file to wig file
1
0
Entering edit mode
5.7 years ago
bioinfo456 ▴ 150

I'm trying to convert a bigwig file to wig file using UCSC kent tools and I'm following the instructions mentioned here. On entering mkdir ~/bin/$MACHTYPE on the command line I get the following error :

mkdir: cannot create directory ‘/home/uday/bin/x86_64-pc-linux-gnu’: No such file or directory.

How do I go about this? Thanks.

software error sequence • 2.2k views
ADD COMMENT
1
Entering edit mode

Maybe try this:

mkdir ~/bin/
mkdir ~/bin/$MACHTYPE
ADD REPLY
0
Entering edit mode

It solved that particular issue but faced other problems in the later steps. Thanks for your time :).

ADD REPLY
2
Entering edit mode
5.7 years ago
GenoMax 147k

Save yourself the trouble and get the compiled versions for your OS. Linux or macOS.

ADD COMMENT
1
Entering edit mode

Seconding this answer. Also here is the top directory with previous versions of the utilities: http://hgdownload.soe.ucsc.edu/admin/exe/

Here is the example location of the bigWigToWig location for linux: http://hgdownload.soe.ucsc.edu/admin/exe/linux.x86_64/bigWigToWig

Running any kent util on the command line with no statement prompts the help message:

$ bigWigToWig 
bigWigToWig - Convert bigWig to wig.  This will keep more of the same structure of the
original wig than bigWigToBedGraph does, but still will break up large stepped sections
into smaller ones.
usage:
   bigWigToWig in.bigWig out.wig
options:
   -chrom=chr1 - if set restrict output to given chromosome
   -start=N - if set, restrict output to only that over start
   -end=N - if set, restict output to only that under end
   -udcDir=/dir/to/cache - place to put cache for remote bigBed/bigWigs
ADD REPLY
0
Entering edit mode

Trying to convert the resulting .wig file to .bed file using :

convert2bed --input=wig [--output=bed] < hg38.phyloP4way.wig > hg38.phyloP4way.bed

Not working though. I get a memory warning while the command runs. Any thoughts? Please help.

ADD REPLY

Login before adding your answer.

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