Add R and pl scripts on your PATH - AstraZeneca-NGS/VarDictJava GitHub Wiki
To simply run R and pl scripts (teststrandbias.R, testsomatic.R, var2vcf_valid.pl, and var2vcf_paired.pl) by their names without setting the path to them, you can easily reference the locations of them to your PATH variable.
Prefix your PATH variable with the locations to your custom install executables:
CUSTOM_INSTALL_DIR=~/opt/bin
PATH=$CUSTOM_INSTALL_DIR:$PATH
Here's an article with more information: https://opensource.com/article/17/6/set-path-linux
Information was given by Clint Valentine in issue 210.