Entering edit mode
2.2 years ago
Omics data mining
▴
260
Hi everyone
I am using bedops solution given for the identification of nested elements from bed file at https://bedops.readthedocs.io/en/latest/content/reference/set-operations/nested-elements.html (mainly awk scripts)
and saved it as 1) script.awk ( and chmod 777 script.awk) 2) ./script.awk test.bed
which gives error of
/usr/bin/env: ‘awk -f’: No such file or directory
/usr/bin/env: use -[v]S to pass options in shebang lines
I tried all different options but can not fix this. I would appreciate all the suggestion.
Can you post the head of your
script.awk
file? Maybe something is wrong with your shebang (#!
) line.Here is script.awk
how about just
awk -f /path/to/the/script.awk input.txt