Entering edit mode
5.4 years ago
yueli7
▴
250
Hello,
I tried to convert *.bdg file to *.bw file.
I have bedClip software in the folder.
Thanks in advance for any help!
Best,
Yue
administrator@ACB:~/bedtools2-2.26.0$ sh bdg2bw.sh flag1_FE.bdg hg38.len
bdg2bw.sh: 19: bdg2bw.sh: bedClip: not found
/usr/bin/bedtools
sort: cannot read: flag1_FE.bdg.clip: No such file or directory
bdg2bw.sh: 23: bdg2bw.sh: Bad substitution
Hello, RamRs
Thank you so much for your great help!
I have all the file in my folder.
Thank you again!
Best,
Yue Li
What is the output to:
If either of those gives you an error, you need to add the location of those binaries to your $PATH. Computers cannot see what you see, so just because the executable in your directory, you shell won't recognize them.
Hello, RamRs,
Thank you so much for your great help!
Thank you again!
Best,
Yue
Also, don't use
sh
to execute shell scripts unless you're sure the script is POSIX compliant. Use either.
orbash
. Certain features (such as process substitution) will not work when executed withsh
.Hello, RamRs,
Thank you so much for your remaining.
It finally work!
Thank you again!
Best,
Yue li