I would like to run a script within an awk command. I have a code ./myscript that calculates the likelihood between two entities; the results are listed in listfile.txt.
Use awk's system function. The return value is the exit code.
system
!($8 >= 0 && $8 <= 0.05) { system("./myscript") }